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/)