Skip to content
Discussion options

You must be logged in to vote

Uh that's a loaded line if I ever seen one ~

Yes, as of today, state at app/foo/bar/page.js will get lost when you go to app/foo/bazz/page.js - however, if you have state at the root layout, through an imported Client Component, or even at app/foo/layout.js - that state will be preserved.

Formally speaking it should be shared layouts - I think - I don't remember right now if Parallel routes have some game here, they can also have layouts too, so I guess, shared layouts still applies ~

And I say of today because the React Activity, …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gmoniava
Comment options

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