Dynamic APIs

Functions and props that depend on the incoming request, such as cookies(), headers() and searchParams, which make a route dynamic.

In more detail

Using any of them tells Next.js the route cannot be built ahead of time, so it renders per request and skips the Full Route Cache. Next.js 15 renamed "dynamic functions" to Dynamic APIs and made them async.

Related terms

Taught in

References