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
Due to Svelte 5's change that classes are no longer auto reactive, the migration tool should not create $state(new Map(...)), but instead $state(new SvelteMap(...)).
It took me a long time to sort out why my component was no longer reactive after the update, so this would likely save people a lot of headache. Thanks!
Due to Svelte 5's change that classes are no longer auto reactive, the migration tool should not create
$state(new Map(...))
, but instead$state(new SvelteMap(...))
.It took me a long time to sort out why my component was no longer reactive after the update, so this would likely save people a lot of headache. Thanks!
SvelteMap docs
The text was updated successfully, but these errors were encountered: