Skip to content

Next.js 16 beta: dynamicParams = false breaks parallel route with top-level dynamic segment #84738

@amannn

Description

@amannn

Link to the code that reproduces this issue

amannn/nextjs-bug-repro-dynamicfalse@ce4aec8

To Reproduce

  1. Run pnpm i && pnpm dev
  2. Visit /en
  3. Click on "Story" at the top

Current vs. Expected behavior

I expect the page to render correctly, but it fails with a 404.

Provide environment information

Operating System:
  Platform: darwin
  Arch: x64
  Version: Darwin Kernel Version 24.6.0: Mon Jul 14 11:28:17 PDT 2025; root:xnu-11417.140.69~1/RELEASE_X86_64
  Available memory (MB): 16384
  Available CPU cores: 12
Binaries:
  Node: 24.4.1
  npm: 11.4.2
  Yarn: 1.22.22
  pnpm: 10.17.1
Relevant Packages:
  next: 16.0.0-canary.0 // Latest available version is detected (16.0.0-canary.0).
  eslint-config-next: 16.0.0-canary.0
  react: 19.1.0
  react-dom: 19.1.0
  typescript: 5.9.3
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)

Internationalization (i18n), Linking and Navigating, Not Found, Parallel & Intercepting Routes

Which stage(s) are affected? (Select all that apply)

next dev (local), next build (local)

Additional context

It seems like the behavior is caused by this:

export const dynamicParams = false;

After removing this line, the app works fine.

Note that this works fine in Next.js 15.x.

Metadata

Metadata

Assignees

Labels

Internationalization (i18n)Related to Internationalization with Next.js.Linking and NavigatingRelated to Next.js linking (e.g., <Link>) and navigation.Not FoundRelated to the not-found.tsx file or the notFound() function.Parallel & Intercepting RoutesRelated to Parallel and/or Intercepting routes.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions