Next.js · Middle · Question 43 of 75

How does a static route differ from a dynamic one in terms of rendering?

Explanation

A route becomes dynamic when it uses request data: cookies(), headers(), searchParams, uncached requests. A [slug] segment by itself doesn't do that - it can be prerendered via generateStaticParams. With Cache Components, the boundary runs inside the page (PPR).

Further reading

Problem with a question

Next.js · Middle · question 43

Test yourself

Take the Next.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz