3 ms·
Yes, you're generally correct. If you can call into ReactDOM.unstable_batchedUpdates at the top of the stack, that's another approach. We might be able to make
by spicyj 10y ago
Yes, you're generally correct. If you can call into ReactDOM.unstable_batchedUpdates at the top of the stack, that's another approach. We might be able to make that the default in the future so synchronous calls are always grouped even if React isn't on the stack.
We generally see the most success when you update your data wholesale with the latest copy from your stores, but your RxJS example is a good one.