3 ms·
Baobab should at least in part mitigate this by not committing changes immediately, but rather in batches as a single change: https://github.com/Yomguithereal/
by lewisl9029 12y ago
Baobab should at least in part mitigate this by not committing changes immediately, but rather in batches as a single change:
https://github.com/Yomguithereal/baobab/wiki/Options https://github.com/Yomguithereal/baobab/wiki/Options
"When you use the mutation methods of Baobab (push, set, merge etc.) it will batch up these changes and make one single commit, which then triggers update events."
I haven't worked with Om on a non-trivial project yet, so please correct me if I'm wrong, but I believe Om might also do similar optimizations (i.e. batching updates and sending notifications in sync with its render on requestAnimationFrame flow).