|
|
|
@ -76,6 +76,7 @@ if (
@@ -76,6 +76,7 @@ if (
|
|
|
|
|
(workInProgress.flags & DidCapture) === NoFlags |
|
|
|
|
) { |
|
|
|
|
didReceiveUpdate = false; |
|
|
|
|
// 这里会跳过正式 beginWork 阶段,进入 baliout 逻辑也就是组件复用 |
|
|
|
|
return attemptEarlyBailoutIfNoScheduledUpdate( |
|
|
|
|
current, |
|
|
|
|
workInProgress, |
|
|
|
@ -83,6 +84,7 @@ if (
@@ -83,6 +84,7 @@ if (
|
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// current |
|
|
|
|
if ((current.flags & ForceUpdateForLegacySuspense) !== NoFlags) { |
|
|
|
|
didReceiveUpdate = true; |
|
|
|
|
} else { |
|
|
|
|