You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In svelte 5, $state referenced locally is not reactive, because of how evaluation occurs.
Svelte will warn about this at runtime (and does so here)
To make it reactive locally, the docs recommend using a closure, which is what we do here.
0 commit comments