1
0
Fork 0
Browse Source

vault backup: 2022-06-28 10:23:53

master
YuJian 2 years ago
parent
commit
962a3caa3c
  1. 7
      React 的深入探索/React 的流程解析 - Fiber 递归/React 的深入探索 - beginWork.md

7
React 的深入探索/React 的流程解析 - Fiber 递归/React 的深入探索 - beginWork.md

@ -65,6 +65,13 @@ if ( @@ -65,6 +65,13 @@ if (
如果判断条件为 false,会进入后续判断逻辑
```javascript
var hasScheduledUpdateOrContext = checkScheduledUpdateOrContext(current, renderLanes);
if (
!hasScheduledUpdateOrContext &&
(workInProgress.flags & DidCapture) === NoFlags
```
### current 为空
didReceiveUpdate 赋值为 false

Loading…
Cancel
Save