Skip to content
Latchkey

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

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →