Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/parallel-routes-params-forked-jtjfkr
To Reproduce
- Open the sandbox
- Click on the second link
- Observe the parallel route slot not matching.
Current vs. Expected behavior
I expected the dynamic route folder structure inside the @parallel slot @parallel/test/[testParam] of the slot to match the /test/static route, like a "normal" implicit children-slot folder structure would.
Provide environment information
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023
Available memory (MB): 4102
Available CPU cores: 2
Binaries:
Node: 20.9.0
npm: 9.8.1
Yarn: 1.22.19
pnpm: 8.10.2
Relevant Packages:
next: 14.1.1-canary.78 // Latest available version is detected (14.1.1-canary.78).
eslint-config-next: N/A
react: 18.2.0
react-dom: 18.2.0
typescript: 5.1.3
Next.js Config:
output: N/A
Which area(s) are affected? (Select all that apply)
App Router, Routing (next/router, next/navigation, next/link)
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
I found this, while looking for a workaround for #62539. Since it would've made that bug a bit easier to work around.
I've tried it on the current stable version of next@14.1.0 as well, where it also doesn't work.
Note: I haven't tested it in deployed environments, because that seems out of scope.
Link to the code that reproduces this issue
https://codesandbox.io/p/devbox/parallel-routes-params-forked-jtjfkr
To Reproduce
Current vs. Expected behavior
I expected the dynamic route folder structure inside the
@parallelslot@parallel/test/[testParam]of the slot to match the/test/staticroute, like a "normal" implicitchildren-slot folder structure would.Provide environment information
Operating System: Platform: linux Arch: x64 Version: #1 SMP PREEMPT_DYNAMIC Sun Aug 6 20:05:33 UTC 2023 Available memory (MB): 4102 Available CPU cores: 2 Binaries: Node: 20.9.0 npm: 9.8.1 Yarn: 1.22.19 pnpm: 8.10.2 Relevant Packages: next: 14.1.1-canary.78 // Latest available version is detected (14.1.1-canary.78). eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.3 Next.js Config: output: N/AWhich area(s) are affected? (Select all that apply)
App Router, Routing (next/router, next/navigation, next/link)
Which stage(s) are affected? (Select all that apply)
next dev (local), next start (local)
Additional context
I found this, while looking for a workaround for #62539. Since it would've made that bug a bit easier to work around.
I've tried it on the current stable version of next@14.1.0 as well, where it also doesn't work.
Note: I haven't tested it in deployed environments, because that seems out of scope.