Next.js · Senior · Question 1 of 75

What is the RSC payload?

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.

Further reading

Problem with a question

Next.js · Senior · question 1

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