File tree 1 file changed +8
-8
lines changed
src/content/reference/react
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -4,21 +4,21 @@ title: "Built-in React Components"
4
4
5
5
<Intro >
6
6
7
- React exposes a few built-in components that you can use in your JSX.
7
+ React 提供了一些内置的组件,你可以在 JSX 中使用它们。
8
8
9
9
</Intro >
10
10
11
11
---
12
12
13
- ## Built-in components {/* built-in-components* /}
13
+ ## 内置组件 {/* built-in-components* /}
14
14
15
- * [ ` <Fragment> ` ] ( /reference/react/Fragment ) , alternatively written as ` <>...</> ` , lets you group multiple JSX nodes together.
16
- * [ ` <Profiler> ` ] ( /reference/react/Profiler ) lets you measure rendering performance of a React tree programmatically.
17
- * [ ` <Suspense> ` ] ( /reference/react/Suspense ) lets you display a fallback while the child components are loading.
18
- * [ ` <StrictMode> ` ] ( /reference/react/StrictMode ) enables extra development-only checks that help you find bugs early.
15
+ * [ ` <Fragment> ` ] ( /reference/react/Fragment ) ,也可以写作 ` <>...</> ` ,让你可以将多个 JSX 节点组合在一起。
16
+ * [ ` <Profiler> ` ] ( /reference/react/Profiler ) 让你可以以编程方式衡量 React 树的渲染性能。
17
+ * [ ` <Suspense> ` ] ( /reference/react/Suspense ) 让你可以在子组件加载时显示一个 fallback。
18
+ * [ ` <StrictMode> ` ] ( /reference/react/StrictMode ) 可以开启一些额外的,仅用于开发环境的检测,帮助你更早地发现 bug。
19
19
20
20
---
21
21
22
- ## Your own components {/* your-own-components* /}
22
+ ## 自定义组件 {/* your-own-components* /}
23
23
24
- You can also [ define your own components ] ( /learn/your-first-component ) as JavaScript functions.
24
+ 你也可以将 [ 自己定义的组件 ] ( /learn/your-first-component ) 定义为 JavaScript 函数。
You can’t perform that action at this time.
0 commit comments