+layout.svelte should stay mounted when navigating between children routes #7046
exseniorastronaut
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This was due to calling setContext inside onMount. I was unaware that setContext should only be called during component initialisation.
Beta Was this translation helpful? Give feedback.
All reactions