7 ms·
You wrote this later and I apologise for bringing it up here: > a correctly implemented pure DOM manipulation app you would update the DOM once to match your s
by devjab 3y ago
You wrote this later and I apologise for bringing it up here:
> a correctly implemented pure DOM manipulation app you would update the DOM once to match your state, that's faster than building a VDOM and diffing it
Bur that is sort of my point. Maybe I could have been clearer about it, but my intend was to say that the VDOM frameworks are faster (or perhaps safer is the right word) for people who aren’t doing things correctly. Which among others is also me.
- samwillis 3y agoNo worries, and the rest of your comment (DOM actually fast, render+reflow slow, Electron good choice) is good. It just bugs me when people repeat the myth that VDOM is faster at rendering than native DOM (or not clearly explaining otherwise), it encourages people to reach for a tool they don't necessarily need. As I have said in other comments, VDOM based frameworks are good, people should use them, but not because they are "magically" faster.