Next.js · Senior · Question 53 of 75
What does export const instant = true in a segment do?
- ✓Correct answer: Tells Next.js that navigations into the segment should render UI instantly, and surfaces code that would block it
- 2Disables streaming for the segment
- 3Skips server rendering entirely
Explanation
It's a validation tool for Cache Components. Validation reflects production behavior, because prefetching is disabled in development.