From 2387b35057e4c1de64e90b6545dacdf0515a84fd Mon Sep 17 00:00:00 2001 From: ithinker5 <513802516@qq.com> Date: Mon, 7 Jun 2021 20:52:49 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20typo=20in=20comment=20(accumlated=20?= =?UTF-8?q?=E2=86=92=20accumulated)=20(#21637)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: HuJiajie --- packages/react-reconciler/src/ReactFiberBeginWork.new.js | 2 +- packages/react-reconciler/src/ReactFiberBeginWork.old.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-reconciler/src/ReactFiberBeginWork.new.js b/packages/react-reconciler/src/ReactFiberBeginWork.new.js index 30fdc51656363..581bf6c76d45f 100644 --- a/packages/react-reconciler/src/ReactFiberBeginWork.new.js +++ b/packages/react-reconciler/src/ReactFiberBeginWork.new.js @@ -557,7 +557,7 @@ function updateSimpleMemoComponent( // The pending lanes were cleared at the beginning of beginWork. We're // about to bail out, but there might be other lanes that weren't // included in the current render. Usually, the priority level of the - // remaining updates is accumlated during the evaluation of the + // remaining updates is accumulated during the evaluation of the // component (i.e. when processing the update queue). But since since // we're bailing out early *without* evaluating the component, we need // to account for it here, too. Reset to the value of the current fiber. diff --git a/packages/react-reconciler/src/ReactFiberBeginWork.old.js b/packages/react-reconciler/src/ReactFiberBeginWork.old.js index 090fa0b195715..b4dde9e826d84 100644 --- a/packages/react-reconciler/src/ReactFiberBeginWork.old.js +++ b/packages/react-reconciler/src/ReactFiberBeginWork.old.js @@ -557,7 +557,7 @@ function updateSimpleMemoComponent( // The pending lanes were cleared at the beginning of beginWork. We're // about to bail out, but there might be other lanes that weren't // included in the current render. Usually, the priority level of the - // remaining updates is accumlated during the evaluation of the + // remaining updates is accumulated during the evaluation of the // component (i.e. when processing the update queue). But since since // we're bailing out early *without* evaluating the component, we need // to account for it here, too. Reset to the value of the current fiber.