New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intercepting + Dynamic Routes, Jumping the page causes a forced refresh #873
Comments
Possibly another instance of #255, it's unclear to me if there's anything |
I have same issues on the production build. |
Same, interception routes work fine in development mode, but it causes hard navigation on production |
i think this bug is caused by nextJS config build. It's rewrite route " /:locale/signal/:id" to "/NEXT_EMPTY_PARAM/(.)signal/:id", missing "locale" param. Then we use unstable_setRequestLocale, which throws an error when nextjs prefetch Intercepting routes.
Workaround for me: remove unstable_setRequestLocale (pages will opt into dynamic rendering) |
any update?? |
This issue has been automatically closed because there was no recent activity and it was marked as unconfirmed. Note that issues are regularly checked and if they remain in unconfirmed state, they might miss information required to be actionable or are potentially out-of-scope. If you'd like to discuss this topic further, feel free to open a discussion instead. |
Description
When accessing dynamic interception routes, the page will be forced to refresh.
Note:
next-intl
library, it works fineMandatory reproduction URL
https://github.com/bosinc/next-bug
Reproduction description
Steps to reproduce:
Page any
buttonExpected behaviour
Retain the multi-language mode, intercept routes will work normally, and will not force a refresh of the page
The text was updated successfully, but these errors were encountered: