-
Hi, I svelte 4 I used to do In svelte 5 it seems that the This probably could be mentioned in the migration guide. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I would check the The rune based state objects are an additive feature of SvelteKit, so they are separate from the Svelte 4 to 5 migration, though they do require runes. Not sure whether this should be tacked onto the existing guide or whether a separate document in the SvelteKit docs would be a good idea. For most of these store migrations the path should be straightforward. |
Beta Was this translation helpful? Give feedback.
I would check the
type
property.from
andto
can potentially benull
when a navigation is happening,type
cannot (at least according to the type definitions).The rune based state objects are an additive feature of SvelteKit, so they are separate from the Svelte 4 to 5 migration, though they do require runes. Not sure whether this should be tacked onto the existing guide or whether a separate document in the SvelteKit docs would be a good idea. For most of these store migrations the path should be straightforward.