How to do partial reconcile?
I'd like to use reconcile on a partial / subset of my data.
How do you do this?
My best idea so far is to write this for loop:
However this triggers a setState for each key, which isn't that good from a performance point of view, I guess.
reconcile seems to require the full state object to be present.
Has anyone written a reconcile which can take partial state as input?
Should I use batch()?
Or a simple reconcile with {...this.state, ...data}?
How do you do this?
My best idea so far is to write this for loop:
However this triggers a setState for each key, which isn't that good from a performance point of view, I guess.
reconcile seems to require the full state object to be present.
Has anyone written a reconcile which can take partial state as input?
Should I use batch()?
Or a simple reconcile with {...this.state, ...data}?
