Next.js · Junior · Question 73 of 75

What does export const dynamicParams = false do on a page with generateStaticParams (without Cache Components)?

Explanation

By default unknown params are rendered on demand and cached. dynamicParams is not available when Cache Components are enabled.

Further reading

Problem with a question

Next.js · Junior · question 73

Test yourself

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

Take this quiz