From b9d1469345bfff541ae2e898484e51d7dd159bdc Mon Sep 17 00:00:00 2001 From: JiangXiaoMing <508825852@qq.com> Date: Tue, 23 Mar 2021 16:50:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=BA=90=E7=A0=81=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/process/reconciler.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/process/reconciler.md b/docs/process/reconciler.md index b454fdd..972886d 100644 --- a/docs/process/reconciler.md +++ b/docs/process/reconciler.md @@ -5,6 +5,8 @@ 我们现在还不需要学习这两个方法,只需要知道在这两个方法中会调用如下两个方法: ```js +//packages/react-reconciler/src/ReactFiberWorkLoop.new.js + // performSyncWorkOnRoot会调用该方法 function workLoopSync() { while (workInProgress !== null) { @@ -127,4 +129,4 @@ function performUnitOfWork(fiber) { [The how and why on React’s usage of linked list in Fiber to walk the component’s tree](https://indepth.dev/the-how-and-why-on-reacts-usage-of-linked-list-in-fiber-to-walk-the-components-tree/) -[Inside Fiber: in-depth overview of the new reconciliation algorithm in React](https://indepth.dev/inside-fiber-in-depth-overview-of-the-new-reconciliation-algorithm-in-react/) \ No newline at end of file +[Inside Fiber: in-depth overview of the new reconciliation algorithm in React](https://indepth.dev/inside-fiber-in-depth-overview-of-the-new-reconciliation-algorithm-in-react/)