1
0
Fork 0
Browse Source

vault backup: 2022-04-26 15:52:42

master
YuJian 3 years ago
parent
commit
6fefa70a13
  1. 9
      React 的源码深入/React 的流程解析 - commit 阶段/React 的流程解析 - commit阶段.md

9
React 的源码深入/React 的流程解析 - commit 阶段/React 的流程解析 - commit阶段.md

@ -20,3 +20,12 @@ do {
flushRenderPhaseStrictModeWarningsInDEV(); flushRenderPhaseStrictModeWarningsInDEV();
``` ```
中间跳过一段逻辑无关和 performance 监控代码,进入对 Fiber Tree 属性的一系列初始化
```javascript
root.finishedWork = null;
root.finishedLanes = NoLanes;
root.callbackNode = null;
root.callbackPriority = NoLane;
```
Loading…
Cancel
Save