Last night we had a small internal hackathon where we learned some @sveltejs - we ❤️ it so far! We took some React components and ported them to Svelte to see the code side by side.
This is what we learned: 👇
With https://kit.svelte.dev you have really low boilerplate from idea to app.
You don't have to deal with cognitive hoops like hooks because reactivity works out of the box.
Cool logic blocks like #if, #each and even #async are baked right into the template language (while having full access to JavaScript oder TypeScript).
Cool usage of labeled statements aka "$:" to have convenience shortcuts to reactivity.
Easy to write powerful components with great __layouting.svelte techniques.
No css in js - just component scoped css without all the hassle.
All the tooling felt very mature and production ready.
Mastodon ist ein soziales Netzwerk. Es basiert auf offenen Web-Protokollen und freier, quelloffener Software. Es ist dezentral (so wie E-Mail!).
With https://kit.svelte.dev you have really low boilerplate from idea to app.