Replies: 1 comment
-
Hmm—no, I haven't encountered this so far. But I also haven't worked with Next.js 15 much due to a bug I'm waiting for them to fix. On a separate note, the Next.js team is working on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I've noticed a potential issue with
setRequestLocale
in Next.js 15 that differs from the previous behavior withunstable_setRequestLocale
in Next.js 14.Context:
Current Behavior:
Even though my pages show as
● (SSG) prerendered as static HTML (uses generateStaticParams)
during build time, I still see the following behavior:generateStaticParams
andsetRequestLocale
in:Previous Behavior (Next.js 14 with
unstable_setRequestLocale
):I only needed to add
generateStaticParams
andunstable_setRequestLocale
to the pages I wanted to render statically, and it worked as expected.Questions:
Is this the expected behavior with Next.js 15?
Let me know if you need any additional information or reproduction steps.
Beta Was this translation helpful? Give feedback.
All reactions