I'm sure I heard on a podcast that the bundle size is only small in small Svelte apps, For bigger apps, the bundle size explodes in Svelte for whatever reason I have no idea.
I have a Svelte app that I first did in Vue.js. The current size is half what Vue.js application was, and I added several large features above what the Vue.js application had. So, I think the podcast you heard was exaggerating some. It hasn’t been my experience with Svelte so far.
Front end web developer,
Enjoy working with Javascript and CSS preprocessors |SASS.
Recently learned about SVELTE, the journey has been amazing. SVELTE makes everything simpler.
I've also done some work with React.js and the same project with svelte. I can say the svelte version was smaller by Alot. I heard in a review that the virtual Dom as fancy as it sounds is just over head. You think that's true?
There is an inflection point after which svelte might become bigger in size than react. github.com/halfnelson/svelte-it-wi... The author of this study says that the inflection point is around 120KB which is theoretically very difficult to pass. In simple terms the reason this happens is that react ships a big runtime but small individual components meanwhile svelte compiles to bigger js component code but virtually no runtime. So in theory the more components you put on a page the faster the bundle size grows for svelte but react bundle size does not grow as fast.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm sure I heard on a podcast that the bundle size is only small in small Svelte apps, For bigger apps, the bundle size explodes in Svelte for whatever reason I have no idea.
Hmmm fun fact for research. Thanks for saying
I have a Svelte app that I first did in Vue.js. The current size is half what Vue.js application was, and I added several large features above what the Vue.js application had. So, I think the podcast you heard was exaggerating some. It hasn’t been my experience with Svelte so far.
I think the creator of Svelte itself said this and he is aware of this and working on the problem, I will try to find the podcast.
I've also done some work with React.js and the same project with svelte. I can say the svelte version was smaller by Alot. I heard in a review that the virtual Dom as fancy as it sounds is just over head. You think that's true?
There is an inflection point after which svelte might become bigger in size than react. github.com/halfnelson/svelte-it-wi... The author of this study says that the inflection point is around 120KB which is theoretically very difficult to pass. In simple terms the reason this happens is that react ships a big runtime but small individual components meanwhile svelte compiles to bigger js component code but virtually no runtime. So in theory the more components you put on a page the faster the bundle size grows for svelte but react bundle size does not grow as fast.