News for hackers. Stuff that matters.
Re:React vs. Backbone in 2025 by Izkata on Saturday October 25, 2025 @10:17AM (#45704105)
More than batching updates, what it advertised back when React was new, was the virtual dom's diffing with lightweight nodes - it finds what changed in the tree and only alters the heavyweight DOM nodes where necessary to get the end result. At the time it was common to just swap a whole subtree when anything inside it changed, to guarantee you got everything.

There are no comments on this comment yet.