News for hackers. Stuff that matters.
Re:Comparing Svelte and React by antihero on Thursday March 25, 2021 @05:54AM (#26578212)
> Svelte is compiled to essentially vanilla JS

How does this scale to anything remotely complex?

I've found that if you have a decent knowledge of React it's hard to make anything slow with it.

Re:Comparing Svelte and React by stevenhuang on Thursday March 25, 2021 @01:21PM (#26582885)
Nothing beats vanilla JS in terms of DOM manipulation speed.

https://stefankrause.net/js-frameworks-benchmark8/table.html

And Svelte is fast. It's as fast or faster than React in most synthetic benchmarks.

For how and why, see https://svelte.dev/blog/virtual-dom-is-pure-overhead (notably the intelligent compilation step which removes need for vdom)