3 ms·
> Meanwhile CSS & DOM performance continues to be poor The DOM is not slow, that is brain washing from React developpers to justify your VDOM. Most Reactive a
by adev_ 7y ago
> Meanwhile CSS & DOM performance continues to be poor
The DOM is not slow, that is brain washing from React developpers to justify your VDOM.
Most Reactive app performance issue nowadays comes from library bloat loading, network saturation or data dependencies.
The main problem with the DOM is not the performance but the API. The DOM API is not appropriate anymore for a reactive usage with transactional reflows. And this triggers a lot of quirks damaging performance.
- kllrnohj 7y ago> The DOM is not slow, that is brain washing from React developpers to justify your VDOM. I'm comparing against native apps, not React VDOM vs. DOM. Direct fiddling of widget properties is common & perfectly fast in native apps, even when done naively. The same is not true of the DOM, especially with all its synchronous layout & style resolution foot-guns.