Hacker News new | past | comments | ask | show | jobs | submit login

3kB



as compared to nextjs’ ~150kb baseline? (not a real number im just guesstimating)


It’s not directly comparable. Svelte apps have an extremely minimal runtime, because Svelte compiles components into largely freestanding chunks of code.

The benefit is that for smaller apps, SvelteKit can be extremely lean, but the cost grows as the number of components and pages increases, since a number of attributes can’t draw from a larger, monolithic runtime (or set of runtimes).

You do have to build moderately large apps to hit the point at which it’s a drawback however.


79.46 kb which includes React. That's never where the bloat comes from.


How so, that 80 kb is bloat


I believe that's already a compressed size (not minified) that means 200kB+ minified (zero app code).




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: