-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Bug in Link causing server navigation when app directory + pages present #54231
Comments
I reported a similar one last month. Linking it here for visibility #53067 |
You are right @yjoer I searched and somehow missed this one. Should I close mine ? |
I guess we can leave both open. In my case, the paths causing the problem in my local environment and CodeSandbox were different. It might be possible for this to go away in certain paths and appears in some other paths. 😵 |
OK after some digging in Next.JS project I've managed to spot the differnece. I'll debug more to understand what this check is and why it's triggered on this path |
Ok seems this is down to Bloom Filter collisions - at this stage this starts going a bit over my head by @ijjk maybe you have some insights? |
Verify canary release
Provide environment information
Which area(s) of Next.js are affected? (leave empty if unsure)
No response
Link to the code that reproduces this issue or a replay of the bug
https://github.com/superwave-team/next-bug
To Reproduce
Describe the Bug
When the app directory and pages app are present, there seems to be some cases where paths that shouldn't overlap are causing conflicts. In our case we detected this (in a minimally reproduceable example) on
/channel/test-2
(Pages) and/community/new
(App)When a user tries to load the page in pages, the component is triggering a full page navigation as opposed to correctly detecting the page should load client side.
CleanShot.2023-08-18.at.15.54.18.1.mp4
Expected Behavior
All these links should be client side navigations. There should be no conflicts.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
The text was updated successfully, but these errors were encountered: