React is a JavaScript library for building user interfaces.
+
Shadow 1
+
@@ -53,7 +55,16 @@
-
React is a JavaScript library for building user interfaces.
+
+ React Server Components (or RSC) is a new application architecture
+ designed by the React team.
+
+
@@ -86,7 +97,12 @@
-
React is a JavaScript library for building user interfaces.
+
+ We’ve first shared our research on RSC in an introductory talk and an
+ RFC.
+
+
Shadow 2
+
@@ -119,7 +135,17 @@
-
React is a JavaScript library for building user interfaces.
+
+ 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.
+
+
@@ -153,175 +179,42 @@
-
React is a JavaScript library for building user interfaces.
-
-
- Declarative: React makes it painless to create interactive UIs.
- Design simple views for each state in your application, and React
- will efficiently update and render just the right components when
- your data changes. Declarative views make your code more
- predictable, simpler to understand, and easier to debug.
-
-
- Component-Based: Build encapsulated components that manage their own
- state, then compose them to make complex UIs. Since component logic
- is written in JavaScript instead of templates, you can easily pass
- rich data through your app and keep the state out of the DOM.
-
React is a JavaScript library for building user interfaces.
-
-
- Declarative: React makes it painless to create interactive UIs.
- Design simple views for each state in your application, and React
- will efficiently update and render just the right components when
- your data changes. Declarative views make your code more
- predictable, simpler to understand, and easier to debug.
-
-
- Component-Based: Build encapsulated components that manage their own
- state, then compose them to make complex UIs. Since component logic
- is written in JavaScript instead of templates, you can easily pass
- rich data through your app and keep the state out of the DOM.
-
React is a JavaScript library for building user interfaces.
-
-
- Declarative: React makes it painless to create interactive UIs.
- Design simple views for each state in your application, and React
- will efficiently update and render just the right components when
- your data changes. Declarative views make your code more
- predictable, simpler to understand, and easier to debug.
-
-
- Component-Based: Build encapsulated components that manage their own
- state, then compose them to make complex UIs. Since component logic
- is written in JavaScript instead of templates, you can easily pass
- rich data through your app and keep the state out of the DOM.
-
- React is a JavaScriptlibrary for
- building user interfaces.
+ Server Components can run during the build, letting you read from the
+ filesystem or fetch static content.
- Declarative: React makes it painless to create interactive UIs.
- Design simple views for each state in your application, and React
- will efficiently update and render just the right components when
- your data changes. Declarative views make your code more
- predictable, simpler to understand, and easier to debug.
-
-
- Component-Based: Build encapsulated components that manage their own
- state, then compose them to make complex UIs. Since component logic
- is written in JavaScript instead of templates, you can easily pass
- rich data through your app and keep the state out of the DOM.
-
-
- React 使创建交互式 UI
- 变得轻而易举。为你应用的每一个状态设计简洁的视图,当数据变动时 React
- 能高效更新并渲染合适的组件。
+ 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,可以让你的代码更加可靠,且方便调试。
-
-
-
-
-
-
-
-
-
-
-
-
-
-
React is a JavaScript library for building user interfaces.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Since our last update, we have merged the React Server Components RFC
+ to ratify the proposal.
+
- Declarative: React makes it painless to create interactive UIs.
- Design simple views for each state in your application, and React
- will efficiently update and render just the right components when
- your data changes. Declarative views make your code more
- predictable, simpler to understand, and easier to debug.
-
-
- Component-Based: Build encapsulated components that manage their own
- state, then compose them to make complex UIs. Since component logic
- is written in JavaScript instead of templates, you can easily pass
- rich data through your app and keep the state out of the DOM.
+ 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.
React 使创建交互式 UI
@@ -342,5 +235,14 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
+