What Is a Server Component?
A server component is a component that executes exclusively on the server and never ships its code to the browser. It can read data and access server resources directly, then send rendered output to the client. Because its JavaScript stays on the server, it contributes nothing to the client bundle.
Why it matters
Server components move data fetching and heavy rendering off the client, shrinking the bundle and simplifying access to backend data. They are paired with client components for the interactive parts.
Related guides
What Is a Client Component?A client component is a UI component whose JavaScript ships to the browser and runs there, enabling state, ef…
What Is a Server Action?A server action is a server-side function a client can invoke directly to mutate data, letting forms run back…
What Is Partial Hydration?Partial hydration attaches client behavior to only the interactive parts of a server-rendered page, leaving s…