Root intercepting route with Edge runtime leads to root layout re-render with malformed params #70654
Labels
bug
Issue was opened via the bug report template.
Parallel & Intercepting Routes
Related to Parallel and/or Intercepting routes.
Link to the code that reproduces this issue
https://github.com/ericmatthys/edge-intercepting-route-bug
To Reproduce
Current vs. Expected behavior
I would not expect the root layout to re-render when intercepting the route and the
params.locale
value should never be an encoded string of the param name. This currently only happens with the edge runtime. The default runtime is ok.Provide environment information
Operating System: Platform: darwin Arch: x64 Version: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 Available memory (MB): 65536 Available CPU cores: 10 Binaries: Node: 20.17.0 npm: 10.8.2 Yarn: N/A pnpm: 9.9.0 Relevant Packages: next: 14.2.13 // Latest available version is detected (14.2.13). eslint-config-next: 14.2.13 react: 18.3.1 react-dom: 18.3.1 typescript: 5.6.2 Next.js Config: output: N/A
Which area(s) are affected? (Select all that apply)
Parallel & Intercepting Routes
Which stage(s) are affected? (Select all that apply)
next dev (local), Vercel (Deployed)
Additional context
I can also reproduce the issue with 15.0.0-canary.174.
The text was updated successfully, but these errors were encountered: