flâneur — a map of the web's best reading

Server Components – React

react.dev · 1,902 words · saved by 1 readers

Server Components are a new type of Component that renders ahead of time, before bundling, in an environment separate from your client app or SSR server. This separate environment is the “server” in React Server Components. Server Components can run once at build time on your CI server, or they can be run for each request using a web server. While React Server Components in React 19 are stable and will not break between minor versions, the underlying APIs used to implement a React Server Components bundler or framework do not follow semver and may break between minors in React 19.x. To support React Server Components as a bundler or framework, we recommend pinning to a specific React version, or using the Canary release. We will continue working with bundlers and frameworks to stabilize the APIs used to implement React Server Components in the future. Server components can run at build time to read from the filesystem or fetch static content, so a web server is not required. For exampl

API Reference Copy page Copy Server Components Server Components are a new type of Component that renders ahead of time, before bundling, in an environment separate from your client app or SSR server. This separate environment is the “server” in React Server Components. Server Components can run once at build time on your CI server, or they can be run for each request using a web server. Server Components without a Server Server Components with a Server Adding interactivity to Server Components Async components with Server Components Note How do I build support for Server Components? While Rea

Explore this link on the map →

related reading