Follow

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: 👇

You don't have to deal with cognitive hoops like hooks because reactivity works out of the box.

Cool logic blocks like , and even 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.

Sign in to participate in the conversation
Ruhr.Social

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!