Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
jacty authored Sep 16, 2021
1 parent 3221255 commit d4bf756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/main/fibertree-prepare.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ title: fiber 树构造(基础准备)

1. 输入阶段: 衔接`react-dom`包, 承接`fiber更新`请求(可以参考[React 应用的启动过程](./bootstrap.md)).
2. 注册调度任务: 与调度中心(`scheduler`包)交互, 注册调度任务`task`, 等待任务回调(可以参考[React 调度原理(scheduler)](./scheduler.md)).
3. 执行任务回调: 在内存中构造出`fiber树``DOM`对象, 也是**fiber 树构造的重点类容**.
3. 执行任务回调: 在内存中构造出`fiber树``DOM`对象, 也是**fiber 树构造的重点内容**.
4. 输出: 与渲染器(`react-dom`)交互, 渲染`DOM`节点.

`fiber树构造`处于上述第 3 个阶段, 可以通过不同的视角来理解`fiber树构造``React`运行时中所处的位置:
Expand Down

0 comments on commit d4bf756

Please sign in to comment.