{PuruVijay}.svelte @puruvj.dev · Jun 28

Wait... that's actually readable! Notice: $.state() - creates reactive state $.set() - updates state $.get() - reads state $.template_effect() - reactive scope This is the SAME *visual* pattern as React's useState, Solid's createSignal, Angular's signals!

7 likes 1 replies

?

Replies

{PuruVijay}.svelte · Jun 28

The "magic" in Svelte 5 isn't making the impossible possible - it's just removing boilerplate from patterns you already know. You could literally write the compiled output by hand. That's not magic, that's just really good syntactic sugar. ✨ Read full post here: www.puruvj.dev/blog/svelte-...