Repository navigation
Replies: 1 comment
|
+1 — same issue with What we do today: middleware sets Alternative: catch/render inside Would be great if special files could live under |
0 replies
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.
Goals
Non-Goals
No response
Background
When using a [locale] dynamic segment for i18n, it can be passed onto page.js and layout.js for SSR of all locale variants.
But the experimental file conventions such as forbidden.js or unauthorized.js have no way of consuming the [locale] segment
Currently there are 3 solutions:
Proposal
I think the special files should get passed params similar to those of LayoutProps.
All reactions