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, we use property getters, to ensure we always return the latest state.
0 commit comments