Hacker News new | ask | show | jobs
by deweywsu 1128 days ago
Yup, I have used Svelte, but not very much at all. Honestly, it didn't strike me as terribly different in syntax from Vue. It's a similar framework (in this case, compiler). It is a common paradigm in marketing that a new technology/product needs to provide 10x the benefit of its predecessors to convince people to switch. Would you say it provides that for you? I just went and reviewed some of the material on it, and see that it's getting known for being easier. This surprised me. You may have convinced me to go take another look.
2 comments

I don’t know if I’d be able to say I’m 10x as productive in Svelte as React (I havent used Vue enough to compare), but I’d certainly say there’s at least a 2x benefit, which is enough for me. Projects are easier to organise and thus plan, components are easier to build in an encapsulated way, routing works OOTB 99% of the time, and I don’t have to remember whether I’m allowed to use an effect or think about whether a hook is going to grind my page to a halt.
If you decide to use the tutorial, I highly recommend the new one at learn.svelte.dev over the older one at svelte.dev/tutorial. It includes more material on top of being more up-to-date.
And it has a vim mode if you pass "?vim=true" to the url. Why not a button, I don't know but it's nice to have since Firenvim wasn't playing along with CodeMirror