Skip to content
Discussion options

You must be logged in to vote

The data coming from the load functions of all layouts and the page is merged together to form the data prop passed to the page. That is, the data prop will have all the properties of the results of the +layout.server.js as well as the properties of the result of +page.js (equally named props in the page's load result overwrite those from the layout's load function)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Graciasjr
Comment options

@Graciasjr
Comment options

Answer selected by Graciasjr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants