rembrembdocs

dynamicParams

Last updated April 23, 2026

The dynamicParams option allows you to control what happens when a dynamic segment is visited that was not generated with generateStaticParams.

layout.tsx | page.tsx

JavaScriptTypeScript

export const dynamicParams = true // true | false

Good to know:

  • This option replaces the fallback: true | false | blocking option of getStaticPaths in the pages directory.
  • dynamicParams is not available when Cache Components is enabled.

Was this helpful?