Hacker News new | ask | show | jobs
by efields 557 days ago
Vue is also nice.
1 comments

Yep. Svelte's SFC was inspired by Vue. If you like Vue you'll like Svelte which is familiar but adds a compiler for simpler syntax.
I honestly don't feel like Svelte makes things simpler. And I'm saying this as a "fan" of Svelte and think its compiler is very cool.

It just feels a bit weird that there's special .svelte specific rules.

Runes kinda fix this, but it's still a bit weird.

I think Solid or Vue are much simpler (but only did small projects in them) and have a simpler mental model. I've not yet used Preact, but heard good things about it

Yeah I like Svelte a lot, but I can't help but feel Rich feels the need to be different, and not necessarily always in a good way. SvelteKit routing[1] is an example that pops out at me as being genuinely bafflingly bad to the point of comedy.

[1] https://svelte.dev/docs/kit/routing