4 ms·
I really like svelte 5, personally I find the rune system to be much more explicit about what the code is doing and I prefer that. I always felt that reading s
by jerojero 2y ago
I really like svelte 5, personally I find the rune system to be much more explicit about what the code is doing and I prefer that.
I always felt that reading svelte code (prior to svelte 5) required to understand a sort of "magic syntax" very well, which was off putting.
I don't really mind having to declare reactive variables as `$state()`, it makes it very explicit that we want the variable to be reactive. It seems this change has also allowed for a lot more powerful and reusable code so I'm all for it. I guess that people who were already in the ecosystem might have found that they had to learn a lot of new stuff but imo this is very much a case of "might be a bit painful for our current users but it'll make life easier for everyone else in the future".
There's a few things I am a bit conflicted with but it's probably due to myself not really knowing how to solve a determinate problem rather than a problem with the framework itself. It's a bit difficult to get help sometimes.