Trust me you'll be alot happier. Oh when returning the value you want users to access wrap it in a function and return that function.
1 year ago
| 1
I don't know if I like the new changes I not adapting this early , also was waiting for something more substancial
1 year ago | 0
Ben Davis
Extremely bummed that I am not home this week to make a Svelte 5 Runes video, but I will make it first thing when I get home this weekend. In the meantime check out this demo I made showcasing "$state", "$effect", and "$derived".
My gut reaction was "ew WTF why is useEffect here now", but after messing with it and thinking about how this will impact the future (especially the excerpt in the image) I am cautiously optimistic.
svelte-5-preview.vercel.app/#H4sIAAAAAAAAE3VSUU-DM…
1 year ago | [YT] | 20