4 ms·
+1 on Svelte. Seems like the better/faster option.
by sdan 7y ago
+1 on Svelte. Seems like the better/faster option.
- MaxBarraclough 7y agoIs it really faster for real-world uses? I know Svelte does clever things to avoid a virtual DOM, but is the difference in practice really appreciable?
- kreetx 7y agoThe bigger the virtual dom the larger the performance gap is supposed to be. But, true, would like to see some benchmarks from the real world, i.e rewrites and such.
- MaxBarraclough 7y agoPerhaps not a great comparison, but here are the Svelte and Vue HackerNews feeds. Not a great deal of difference, but perhaps it's too simple for performance to really matter. https://hn.svelte.dev/top/1 https://hn.svelte.dev/top/1 https://vue-hn.herokuapp.com/top https://vue-hn.herokuapp.com/top Edit This site says the Svelte one wins on load times: https://hnpwa.com/ https://hnpwa.com/
- wildpeaks 7y agoI was tempted by Svelte for a while, but in the end Preact remained the best fit for our needs because the output filesize grows slower with Preact than Svelte. I like keeping things small because it delays having to add complexity (and simple is easier to maintain, especially when you have better things to do) and saves on bandwidth. Of course I'll keep evaluating new versions as they come (given nothing is sacred in my pipelines), so that might change in the future.