Server Component

Noun · Development

Definitions

  1. A React component that renders exclusively on the server and streams its output to the client as a serialized tree, enabling direct database access, zero client-side JavaScript bundle cost, and seamless interleaving with Client Components — introduced in React Server Components (RSC).

    In plain English: A React component that runs on the server instead of in the browser, so it can access databases directly and doesn't add to the page's download size.

    Example: "Make the product list a Server Component so the database query runs on the server and we ship zero JS for that subtree."

Related Terms