4 ms·
I originally created https://neovimcraft.com https://neovimcraft.com in Svelte to learn how it works. I found `$:` to be extremely confusing, full of weird qui
by qudat 3y ago
I originally created https://neovimcraft.com https://neovimcraft.com in Svelte to learn how it works.
I found `$:` to be extremely confusing, full of weird quirks, and completely turned me off to using svelte for anything more than basic sites.
Runes seem like a clear improvement, but brings Svelte a step closer to React -- which hurts its appeal to me.
The difference between `let counter = $state(0)` and `const [counter, setCounter] = useState(0)` is near its initial value -- zero.
I do love the view library competitive landscape and enjoy seeing different paradigms leveraging reactivity. I also like the compiler optimizations that Svelte is bringing to the entire ecosystem.
I wrote my initial thoughts on sveltekit when I built neovimcraft: https://bower.sh/my-experience-with-svelte-kit https://bower.sh/my-experience-with-svelte-kit
- bowsamic 3y agoYeah I gotta agree. No comment on runes but $: was so weird that I was immediately confused at why I would try and use svelte for anything
- rich_harris 3y agoAs we've taken to saying around the virtual Svelte offices: > The magic of Svelte isn't `let count = 0`, it's `count += 1` That part hasn't changed!