Re:Show HN: Espresso.js – React Meets Backbone for a Minimal...
by paultannenbaum on Tuesday November 11, 2014 @03:17PM
(#8591899)
My guess is the performance benchmarks would be much different if you are dealing with an app with a high number of nodes where the diff/repainting benefits of React really kick in.
[ Parent
| on HN ]
Re:Show HN: Espresso.js – React Meets Backbone for a Minimal...
by akrymski on Tuesday November 11, 2014 @04:43PM
(#8592404)
Espresso.js diffs as well, except it doesn't have to diff the entire DOM but only the attributes that you'll actually be changing in effect.
Moreover it gives you the option between declaratively specifying the DOM to imperatively manipulating it when you need to for performance reasons.
It's a tiny library and the approach is much more efficient than diffing the virtual DOM for the entire page, so I'm pretty confident that results would actually be even better in larger apps.