Multizones (with async rewrites()) not working as expected #58773
Labels
bug
Issue was opened via the bug report template.
Linking and Navigating
Related to Next.js linking (e.g., <Link>) and navigation.
stale
The issue has not seen recent activity.
Uh oh!
There was an error while loading. Please reload this page.
Link to the code that reproduces this issue
https://github.com/ezeamin/next-multizones-test
To Reproduce
pnpm dev
on the root folderCurrent vs. Expected behavior
Current:
The app recognizes the rewrite rule and redirects the route to the correct destination, but won't update the content of the page until it's refreshed. The same happens when travelling back to home.
Expected:
To show the content of the other app when changing the path.
Verify canary release
Provide environment information
Which area(s) are affected? (Select all that apply)
App Router, Routing (next/router, next/navigation, next/link)
Additional context
This is not a new issue. From version 13 onwards it's been happening. I have not used NextJs before, so I can't tell if this is something recent or not.
This has been tested locally only, no deployed version. Running on Windows 11 and Chrome, latest version. Firefox behaves the same.
This has been tested with and without the
--turbo
flag. I've tried removingnode_modules
and.next
folders from both apps, but no change.The text was updated successfully, but these errors were encountered: