Advertisement · 728 × 90

Posts by

Post image

K - consistency. Good job, Vue, on making me feel miserably dumb for an hour.

4 months ago 0 0 0 0

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).

5 months ago 1 0 0 0

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.

5 months ago 1 0 1 0
Preview
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&...

Seems to be caused by github.com/sveltejs/sve... and the fact that the if condition is in fact static.

6 months ago 1 0 1 0

Hi, looks like a bug since 5.38.3. Please open an issue.

6 months ago 0 0 1 0
Preview
In-template variable definition · vuejs rfcs · Discussion #505 Sometimes you will encounter such a situation: <template> <div class="container"> <p class="row">{{item && item.a && item.a.b && item.a.b.hello}}</p> <p class="row">{{item && item.a && item.a.b && ...

Lol, Vue exists for over 10 years and still doesn't allow defining variables in the template. What a PITA.
github.com/vuejs/rfcs/d...

7 months ago 0 0 0 0

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.

7 months ago 3 0 1 0