Replies: 1 comment 9 replies
-
Please be sure to check out the static rendering docs. Potentially in the nearer future this should become easier though: #663 |
Beta Was this translation helpful? Give feedback.
9 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.
-
Hello everyone!
First thanks a lot for this amazing library @amannn
I am using next js 15.3 and next-intl v4 (without i18n), with next auth.
I have the feeling next-intl is forcing any pages to be rendered as dynamic (the build ouput proves this, with the "ƒ" symbol showing in front of my route.)
I have setup next intl routing to read from cookies like below:
My RootLayout is as below:
I understand next js switches to dynamic rendering when reading from cookies but I would like to set a default locale to still be able to render the page statically.
I would really appreciate some help as I have been looking for days about the solution, without success...
Beta Was this translation helpful? Give feedback.
All reactions