3 ms·
Compared to React, Svelte is great, but compared to Svelte from when it came out, it's pretty different. I started using when Svelte+Sapper was a thing, simple
by h4ch1 3y ago
Compared to React, Svelte is great, but compared to Svelte from when it came out, it's pretty different.
I started using when Svelte+Sapper was a thing, simple filesystem routing was the great selling point, then came SvelteKit which introduced plus based routing like +page.ts,*.client/server.ts, inside folders which IMO is a bit more tedious.
and now there are runes, I spent sometime understanding the reactivity syntax using $ and could intuit around it pretty well, but now I've got to re-learn that as well xd.
Note though, I still love Svelte and don't have an issue re-learning since I knew using it before pre-1.0 would certainly involve breaking changes, but the API really did move around a lot and caused some issue.
It's also pretty clean to write and understand Svelte code, feels almost like writing pure HTML/TS.
I personally have built multiple enterprise grade applications (something akin to Substance Painter) using Svelte, and though the reactive dependency chains got long (due to my own faults) they were easily abstractable and resulted in code that's still able to be maintained by junior devs and has survived multiple refactors due to the changing APIs with minimal friction.