1
0
Fork 0
Browse Source

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

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

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

@ -72,7 +72,7 @@ var hasScheduledUpdateOrContext = checkScheduledUpdateOrContext(current, renderL
if ( if (
// 不存在优先级相关的更新 // 不存在优先级相关的更新
!hasScheduledUpdateOrContext && !hasScheduledUpdateOrContext &&
// workInProgress Fiber 节点上不存在 effect Flag // workInProgress Fiber 节点上不存在 DidCapture Flag
(workInProgress.flags & DidCapture) === NoFlags (workInProgress.flags & DidCapture) === NoFlags
) { ) {
didReceiveUpdate = false; didReceiveUpdate = false;

Loading…
Cancel
Save