Next.js · Senior · Question 53 of 75

What does export const instant = true in a segment do?

Explanation

It's a validation tool for Cache Components. Validation reflects production behavior, because prefetching is disabled in development.

Further reading

Problem with a question

Next.js · Senior · question 53

Test yourself

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

Take this quiz