I wouldn’t call it a new thing. We began without virtual DOM and then Facebook sold us the vDOM as the ultimate way to go. Which svelte clearly shows, by removing the unnecessary layer for the vdom it’s much faster and is still reactive.
Or there is Inferno which is VDOM based and outperforms Svelte on most benchmarks. The whole narrative of "VDOM is pure overhead" doesn't hold out in practice, and I suspect really just an excuse to attack React and promote Svelte.
Outperforms? Solid, svelte and inferno all look to have very similar numbers in that table unless I’m terribly misreading it. So similar, that I think which way it goes is possibly more dependent on your benchmark environment than any difference between them.
They did this while introducing a lot of compiler magic and automatic dependency discovery that not always works. I’m not sure I’m sold on it. Code you write is not code you execute.
richeyryan|3 years ago
https://krausest.github.io/js-framework-benchmark/2023/table...
vlovich123|3 years ago
antifa|3 years ago
szastamasta|3 years ago
romualdr|3 years ago
Still, the question remains, what's the improvement over Svelte or SolidJS which doesn't use VDOM as well ?
nailer|3 years ago
ergo14|3 years ago