Re:Svelte 5: Runes
by Dnguyen on Wednesday September 20, 2023 @11:13AM
(#37585235)
I've been trying Svelte for the last couple of months. At first the claim was that it's not complicated like React because there's a lot less concepts to learn. And it's just using basic Javascript and CSS so those skill sets are transferable to any other job. As I use it more and more, there's more and more special way of doing things I have to learn: store, reactive variable, $, $$, etc. I didn't mind, sure I'm in Svelte's world. But the number of libraries is limited and it really slowed me down tremendously. Now with runes, it's just more "magic" to learn. I think that's the last straw for me. I'm done with Svelte experiment. Back to React land.
[ Parent
| on HN ]
Re:Svelte 5: Runes
by rich_harris on Wednesday September 20, 2023 @11:17AM
(#37585304)
Did you read the bit about how runes make all those things unnecessary in future?
Re:Svelte 5: Runes
by orpheansodality on Wednesday September 20, 2023 @03:17PM
(#37588727)
there are so many comments here that really feel like they didn't read any part of the announcement other than that there's a thing called runes.
For me personally I tried svelte in the past and bounced off because there was too much implicitly happening that I needed to have a deep understanding of to model correctly. This solves basically all those problems for me.
I thought your video[1] especially did a great job walking through the pros this change brings. Thanks for all your great work on this!
1. Link for the curious: https://www.youtube.com/watch?v=RVnxF3j3N8U&t=6s
Please don't get me wrong. You guys are doing great work. And I did notice the hard work you put into runes to make things better.
My point is that, it feels like I'm just trading one complexity for another. Like most people, I am constantly searching for ways to do my job better.
Re:Svelte 5: Runes
by FireInsight on Wednesday September 20, 2023 @12:16PM
(#37586057)
I'd argue that there are way more libraries, since vanilla JS libraries integrate beautifully, unlike in React. Unless you are only talking about component libraries, of course.
Yes, UI component libraries. I just want to leave the UX to the expert and get going on the rest of the application.
That is exactly my experience after trying svelte/sveltekit for 2 months. Loved svelte at first sight but soon their own invented complexity (and a very confusing error log) made me realize that I was changing React for something quite similar (with a bunch of different problems). In place of going back to React tho, I tried the next one in my list: Lit. No regrets, found the (powerful) simplicity I was looking for. Give it a try before getting back to React: https://lit.dev/