React is a JavaScript library for building user interfaces.
Shadow 1
React Server Components (or RSC) is a new application architecture
designed by the React team.
We’ve first shared our research on RSC in an introductory talk and an
RFC.
Shadow 2
To recap them, we are introducing a new kind of component—Server
Components—that run ahead of time and are excluded from your JavaScript
bundle.
Server Components can run during the build, letting you read from the
filesystem or fetch static content.
They can also run on the server, letting you access your data layer
without having to build an API. You can pass data by props from
Server Components to the interactive Client Components in the
browser.
以声明式编写 UI,可以让你的代码更加可靠,且方便调试。
Since our last update, we have merged the React Server Components RFC
to ratify the proposal.
RSC combines the simple “request/response” mental model of
server-centric Multi-Page Apps with the seamless interactivity of
client-centric Single-Page Apps, giving you the best of both worlds.