Skip to content

Commit fcfbcc9

Browse files
raven3005672yanglinbj01awxiaoxian2020
authored
docs(cn): translate reference/react/components into Chinese (#1131)
Co-authored-by: yanglinbj01 <[email protected]> Co-authored-by: Xavi Lee <[email protected]>
1 parent 44c9231 commit fcfbcc9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/content/reference/react/components.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ title: "Built-in React Components"
44

55
<Intro>
66

7-
React exposes a few built-in components that you can use in your JSX.
7+
React 提供了一些内置的组件,你可以在 JSX 中使用它们。
88

99
</Intro>
1010

1111
---
1212

13-
## Built-in components {/*built-in-components*/}
13+
## 内置组件 {/*built-in-components*/}
1414

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。
1919

2020
---
2121

22-
## Your own components {/*your-own-components*/}
22+
## 自定义组件 {/*your-own-components*/}
2323

24-
You can also [define your own components](/learn/your-first-component) as JavaScript functions.
24+
你也可以将 [自己定义的组件](/learn/your-first-component) 定义为 JavaScript 函数。

0 commit comments

Comments
 (0)