File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ title: Render 和 Commit
29
29
<Illustration caption =" Commit " alt =" React delivers the Card to the user at their table. " src =" /images/docs/illustrations/i_render-and-commit3.png " />
30
30
</IllustrationBlock >
31
31
32
- ## 步驟 1: 觸發 render {/* step-1-trigger-a-render* /}
32
+ ## 步驟 1: 觸發 render {/* step-1-trigger-a-render* /}
33
33
34
34
有兩個原因會使 component 進行 render:
35
35
@@ -75,7 +75,7 @@ export default function Image() {
75
75
<Illustration caption =" ...render! " alt =" The Card Chef gives React the pink Card. " src =" /images/docs/illustrations/i_rerender3.png " />
76
76
</IllustrationBlock >
77
77
78
- ## 步驟 2: React render 你的 component {/* step-2-react-renders-your-components* /}
78
+ ## 步驟 2: React render 你的 component {/* step-2-react-renders-your-components* /}
79
79
80
80
在觸發 render 之後,React 將呼叫你的 component 以確定什麼該顯示在螢幕畫面上。** 「Rendering」 指的是 React 正在呼叫你的 component.**
81
81
@@ -146,7 +146,7 @@ Rendering 必須永遠是一個[純運算](/learn/keeping-components-pure)
146
146
147
147
</DeepDive >
148
148
149
- ## 步驟 3: React 把更改 commit 到 DOM {/* step-3-react-commits-changes-to-the-dom* /}
149
+ ## 步驟 3: React 把更改 commit 到 DOM {/* step-3-react-commits-changes-to-the-dom* /}
150
150
151
151
在 rendering(呼叫)你的 component 後,React 將會更改你的 DOM。
152
152
You can’t perform that action at this time.
0 commit comments