sajad torkamani

The React Server Component Payload (RSC payload) is a special JSON-like serialized data sent from the server to the client to represent a React component tree.

The React runtime on the client uses the RSC payload to construct the DOM and make it interactive. Making the DOM interactive is called “hydration” which is a word you’ll see sometimes when reading about RSCs.

The RSC payload contains information like:

  • The rendered result of the Server Component.
  • Placeholders for where Client Components should be rendered and references to their JavaScript files.
  • Any propes passed from a Server Component to a Client Component.