From d9d3116056f24c1b267050cdff571b04649c732b Mon Sep 17 00:00:00 2001 From: YuJian Date: Tue, 28 Jun 2022 14:42:05 +0800 Subject: [PATCH] vault backup: 2022-06-28 14:42:05 --- .../React 的深入探索 - beginWork.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React 的深入探索/React 的流程解析 - Fiber 递归/React 的深入探索 - beginWork.md b/React 的深入探索/React 的流程解析 - Fiber 递归/React 的深入探索 - beginWork.md index 6c79796..edf7c57 100644 --- a/React 的深入探索/React 的流程解析 - Fiber 递归/React 的深入探索 - beginWork.md +++ b/React 的深入探索/React 的流程解析 - Fiber 递归/React 的深入探索 - beginWork.md @@ -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();