|
|
|
@ -110,7 +110,7 @@ if ((current.flags & ForceUpdateForLegacySuspense) !== NoFlags) {
@@ -110,7 +110,7 @@ if ((current.flags & ForceUpdateForLegacySuspense) !== NoFlags) {
|
|
|
|
|
|
|
|
|
|
```javascript |
|
|
|
|
didReceiveUpdate = false; |
|
|
|
|
// 检查 hydrate 状态 |
|
|
|
|
// 检查 hydrate 状态 和 是否存在 Forked flag |
|
|
|
|
if (getIsHydrating() && isForkedChild(workInProgress)) { |
|
|
|
|
var slotIndex = workInProgress.index; |
|
|
|
|
var numberOfForks = getForksAtLevel(); |
|
|
|
|