Skip to content

Why Are Props for Layout and Page Components Not Predefined in Next.js? #81615

Discussion options

You must be logged in to vote

There's some work on going here:

I can only speculate that amongst every thing that needed to be done, although still important, this was not near the top of the stack, until recently.

Maybe it also carried some complexity from parallel routes, which can make several new entries to the layout and that any number of dynamic segments can also change the params seen by pages too.

Also, it is likely that a number of other technical bridges were implemented that now make this API possible.

Replies: 1 comment 1 reply

Comment options

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

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