Next.js · Senior · Question 1 of 75
What is the RSC payload?
- ✓Correct answer: The serialized render result of Server Components with references to client ones
- 2JSON with all the page's props, like
__NEXT_DATA__in the Pages Router - 3A compressed JS bundle of server components that runs in the browser
Explanation
The payload contains the rendered tree of server components, placeholders for client components with references to their JS chunks, and their props. On the first load it's embedded in the HTML (for hydration); during client navigation it's fetched separately. Server component code never reaches the browser.