Replies: 1 comment 1 reply
-
We do have this documented in the state management section of the docs: https://kit.svelte.dev/docs/state-management#component-state-is-preserved Might be worth linking to that section from the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When you start with SvelteKit and have weak knowledge of Svelte (e.g. used it a long time ago), you can easily destruct page data like this:
and lose all rerenders (updates) for data (
item1
,item2
).My proposal is to add notice about this here: https://kit.svelte.dev/docs/load
At least maybe someone have the same problem and will find this thread via search.
Beta Was this translation helpful? Give feedback.
All reactions