Hacker News new | ask | show | jobs
by ribadeo 500 days ago
I fell in love with Svelte at v3.

The Svelte 5 rollout feels like a frogmarch. The v3 docs and repls and tutorials are gone, not api versioned. The new docs are bad, IMO, conpared to the clear documentation 3 and 4 had for years, with constant blurring with SvelteKit, which is a server framework, no thanks. The new docs font appears designed to make one cease reading. The new syntax is ugly and verbose and vague, IMO, but admittedly i am having difficulty with the documentation, which may be the real issue. If there were a translation guide from how one does things in Svelte 3 to Svelte 5 it might feel less like learning a new framework. Well, nothing lasts forever.

1 comments

The v3/v4 docs can be found at https://v4.svelte.dev/

There is a migration guide as well as a migration tool that will migrate most of your code for you. You can also see what an individual file looks like when migrated in the playground.

That link should be a bit more prominent, until the community has upgraded. Right now I think it's only at the very end of https://svelte.dev/docs/svelte/legacy-overview and I for sure was not aware of it, cursing the new docs layout when maintaining existing code.