Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

Whenever I've tried Svelte I've honestly had a horrible experience, which surprises me somehow. It definitely failed on the "magical, not magic" thing. The exact workings of $ is still extremely confusing

It's funny, a lot of the Svelte fans made me think that it would be very simple and nice, and that React was much clunkier, confusing, and implicit, but my experience was the total opposite



I believe this was likely referencing your topic of confusion there to at least some degree:

> Historically I think Svelte went too far into magic territory, where it's not 100% clear why things work a certain way, and that's something that we're rectifying with Svelte 5.

Svelte 5 uses a different approach to reactivity using runes: https://svelte.dev/blog/runes


I feel insane whenever the Svelte reactivity thing is touted to me as an improvement over React state. Surely it’s not so hard to internalise JS equality rules that such a huge break from convention is necessary?

PS. I looked up the reactivity token docs on the Svelte website to make sure I was remembering correctly, but it repeatedly crashes the latest version of Safari on iOS. Oops!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: