404 on a nested route whose parent layout contains an @slot #48749
Labels
area: app
App directory (appDir: true)
bug
Issue was opened via the bug report template.
locked
Navigation
Related to Next.js linking (e.g., <Link>) and navigation.
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: x64 Version: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 Binaries: Node: 16.13.1 npm: 9.6.0 Yarn: 1.22.19 pnpm: N/A Relevant packages: next: 13.2.4 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true), Routing (next/router, next/navigation, next/link)
Link to the code that reproduces this issue
https://github.com/danielvanc/paralel-routes-issue
To Reproduce
Either go to: https://paralel-routes-issue.vercel.app/ and skip to step 4
or follow these steps to run locally
npm run dev
http://localhost:3000
Click to go to SubPage
Describe the Bug
When navigating to the sub page, it shows fine but when you hit refresh / hard navigation, it then displays a 404 page.
Expected Behavior
When i hit refresh on the sub page, it should not show a 404 page but instead the actual page like it does when you navigate to it from the homepage via
Click to go to SubPage
.Which browser are you using? (if relevant)
Chrome version 112.0.5615.137
How are you deploying your application? (if relevant)
Vercel
The text was updated successfully, but these errors were encountered: