Svelte.js: First Impressions
In the last two days, I started learning Svelte.js.
I'm positively surprised. Svelte is easy, and it works.
In a basic setup, your code also divides into three parts:
- The CSS block where you write your component-scoped styles. (Yes, it's like
styled components, but already shipped with Svelte.js)
- HTML with Svelte markup (here you can bind variables to buttons, etc. - similar to JSX)
That makes it easy to separate concerns visually and mentally.