News for hackers. Stuff that matters.
Re:Svelte and TypeScript by nickreese on Tuesday July 21, 2020 @05:41PM (#23911308)
I haven't used Vue extensively since what was probably v1 so I'm likely the wrong person to comment on this.

That said, I find that Svelte aligns more with my/our team's mental model about how the web should work and that is why went with it for our sites.

Just like with Vue you can write your JS/CSS/HTML in a single file, but the reactivity and state management is much easier to reason about than what we've seen elsewhere.

- `$:` is great.

- Stores and derived stores are amazing.

- Data binding / rerendering is really intuitive.

That said, the biggest headache in building our own SSG was getting SSR/Hydration working well, but that was mainly fighting Webpack and got easier when we went with Rollup.

edit: formatting.

There are no comments on this comment yet.