Skip to content

Global state defined from a sub page load function #3699

Answered by mquandalle
mquandalle asked this question in Q&A
Discussion options

You must be logged in to vote

Just discovered that $page.stuff was recently added to the framework to solve this precise use case!

https://kit.svelte.dev/docs#loading-output-stuff

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mquandalle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant