Hacker News new | ask | show | jobs
by rikroots 2297 days ago
I enjoyed learning Svelte; it was fun to use when I rebuilt a personal project from scratch using it[1].

I'm trying to think of some downsides to balance my enthusiasm for the framework, but can't think of any. The article mentions the smaller community as a possible issue, but the community on Discord seem very welcoming.

Re "using Svelte means adopting a new language" - it didn't feel like that to me. Every framework has its own way of doing things; Svelte's way didn't annoy me as much as some other frameworks have done in the past (eg: Angular before it became Angular2).

I've got another personal project rebuild coming up - I reckon I'll be treating that as an opportunity to learn more Svelte.

[1] My poetry website (you have been warned!) - https://rikverse2020.rikweb.org.uk/ I blogged about my experiences with Svelte, starting here: https://blog.rikworks.co.uk/2020/02/01/Recoding-the-RikVerse...

1 comments

> Re "using Svelte means adopting a new language" - it didn't feel like that to me.

Me neither, but I've been around long enough to remember the handlebars.js days. To someone that's only used React I imagine that at first sight things like {#if} {/if} look ugly as hell. To those people I can only say to stick it out: it starts to feel very natural very quickly.

This was my experience. I've been working with Vue for the last few years so Svelte's syntax for loops and conditionals looked a bit funky...but after using it I realised that it's a lot more readable and enjoyable to work with.