|
|
@ -69,9 +69,10 @@ if ( |
|
|
|
// props 和 context 都没有发生变化,检查优先级相关 |
|
|
|
// props 和 context 都没有发生变化,检查优先级相关 |
|
|
|
var hasScheduledUpdateOrContext = checkScheduledUpdateOrContext(current, renderLanes); |
|
|
|
var hasScheduledUpdateOrContext = checkScheduledUpdateOrContext(current, renderLanes); |
|
|
|
|
|
|
|
|
|
|
|
// 不存在优先级相关的 |
|
|
|
|
|
|
|
if ( |
|
|
|
if ( |
|
|
|
|
|
|
|
// 不存在优先级相关的更新 |
|
|
|
!hasScheduledUpdateOrContext && |
|
|
|
!hasScheduledUpdateOrContext && |
|
|
|
|
|
|
|
// workInProgress Fiber 节点上不存在 effect Flag |
|
|
|
(workInProgress.flags & DidCapture) === NoFlags |
|
|
|
(workInProgress.flags & DidCapture) === NoFlags |
|
|
|
) { |
|
|
|
) { |
|
|
|
didReceiveUpdate = false; |
|
|
|
didReceiveUpdate = false; |
|
|
|