DEV Community

Discussion on: VDOM-less Approaches to Reactive UI

Collapse
 
ryansolid profile image
Ryan Carniato

I think your information about Svelte is outdated.. Pre Svelte 5 they were completely compiler based. This approach while smaller core framework runtime was actually slower than fine-grained, and didn't scale up well with lots of components on size.

Svelte 5 adopts SolidJS fine-grained Signals and rendering and use the compiler mostly as syntax sugar. The result is there runtime is now larger (no longer 3kb, it's closer to 8kb) but their performance is better nearly identical to Solid, and they now scale up on copmonent size better.

All versions outperform React in the micro sense, so I guess it doesn't matter from the point of the article. But the details do matter.