Re:“Implement text editor DOM updates manually instead of vi...
by antihero on Friday February 27, 2015 @04:10AM
(#9117924)
The true speed of using an immutable library for your data in React comes from shouldComponentUpdate. Using immutable structures is really fast as the most deepest comparisons are always O(1) because all you're doing is comparing memory addresses, thus a component can very cheaply work out whether the data given to them has changed, and as little as possible can be recalculated.
[ Parent
| on HN ]
There are no comments on this comment yet.