Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/process/reconciler.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
我们现在还不需要学习这两个方法,只需要知道在这两个方法中会调用如下两个方法:

```js
//packages/react-reconciler/src/ReactFiberWorkLoop.new.js

// performSyncWorkOnRoot会调用该方法
function workLoopSync() {
while (workInProgress !== null) {
Expand Down Expand Up @@ -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/)
[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/)