3 ms·
Only the portion that changes will be rerendered because of the way Clojure shares nested data structures when there are changes.
by gleenn 9y ago
Only the portion that changes will be rerendered because of the way Clojure shares nested data structures when there are changes.
- riwsky 9y agoNot quite: while Clojure does share nested data structures, and that does allow for some neat tricks around fast comparison operations, the fact that only changed SUV trees rerender is all due to react, and its shouldComponentUpdate. A normal js app can get the same results, if it wants.