DEV Community

loading...

Discussion on: What is Virtual DOM? How Virtual DOM works ? What is Reconciliation ? What is diffing algorithm? What makes React so fast ?

Collapse
ogranada profile image
Andres Granada • Edited

Great article. Very explicit, however according to svelte.dev/blog/virtual-dom-is-pur... (found in dev.to/jannikwempe/why-svelte-is-d...) developers would have to have in mind the cons about the Virtual DOM.

Collapse
peerreynders profile image
peerreynders • Edited

According to JavaScript Frameworks, Performance Comparison 2020 Inferno and Hyperapp which are both VDOM-based have no trouble keeping up with Svelte.

React likely chose VDOM rendering to decrease coupling to the browser platform (i.e. pursuing an entirely different set of trade-offs) - which comes at a cost (The DOM Is NOT Slow, Your Abstraction Is).

Ostensibly React became popular due to perceived (subjective) developer ergonomics, not performance.
(personally I preferred Svelte's ergonomics)

Some comments have been hidden by the post's author - find out more

Forem Open with the Forem app