Re:Virtual DOM is pure overhead (2018)
by keymone on Saturday May 18, 2019 @10:53PM
(#19951143)
How often is diff done against the DOM? My understanding is that it’s done against last valid vDOM instead.
[ Parent
| on HN ]
Sorry, you're correct for React, and for most VDOMs, though some do diff against the DOM.
The point is that the diff isn't sped up by using immutable data. The app data is only used to generate the vdom tree, and the diff is after that.