7nik.bsky.social
@7nik.bsky.social
Yeah. The core can grow a bit more, but soon it will reach its ceiling. And reaching even 0.5MB of the bundle requires a good amount of code (or libs).
November 4, 2025 at 10:30 PM
8 components is still a small app. svelte/src/internal/client contains the core and currently is ~400KB (including typings and dev-only code). It is well tree-shaked to 55KB.

But, yeah, 1KB app is impossible in Svelte 5.
November 4, 2025 at 9:57 PM
Seems to be caused by github.com/sveltejs/sve... and the fact that the if condition is in fact static.
perf: better effect pruning by Rich-Harris · Pull Request #16625 · sveltejs/svelte
We prune effects that have no dependencies and no children. But in many cases we can be more aggressive — if we have an {#if browser} block, for example, browser is never going to change and so it&...
github.com
September 23, 2025 at 10:35 PM
Hi, looks like a bug since 5.38.3. Please open an issue.
September 23, 2025 at 10:31 PM
Are they interchangeable? Here, in Svelte, is an issue that you cannot mount a snippet and @render a component, which often introduces extra friction. I personally think we should make them interchangeable, but it is a breaking change.
August 29, 2025 at 8:55 AM