Hacker News new | ask | show | jobs
by etatester 60 days ago
Svelte changed things up at every single version so that's what you get. I've been a fan/hater since v1. For me Claude still tried to write "export let" for props even if I specify Svelte 5 at times.
1 comments

This just isn't true. It barely changed from 2019 when Svelte 3 was released until Svelte 5 at the end of 2024.
Yes, you're right, although there was a lot of churn in SvelteKit when it was in beta--maybe they had that in mind. Of course, it was marked as a beta, so it's hard to blame them too much. But I was using Kit heavily during that period and ended up getting frustrated by the whiplash, and then the addition of runes (which was announced in late 2023 even if it wasn't released until 2024) was what made me lose interest in Svelte. I still have some fondness for the framework though.
You're just forgetting.

1-2 basically a different templating language

2-3 basically a different templating language

4-5 compatible but changed again

That's 3 syntax changes over 4 versions.

It really only got popular at version 3, so there's only been two syntaxes that most people have had to work with.
They explicitly mention that Svelte hasn't changed much since version 3? Svelte 5 did introduce runes but, as you say, still kept legacy code compatible.
IIRC Svelte 4 only existed to drop support for older browsers?