Skip to content

Commit

Permalink
Revert "Revert "Move update scheduling to microtask (#26512)""
Browse files Browse the repository at this point in the history
This reverts commit d8dfc22.
  • Loading branch information
kassens committed Apr 19, 2023
1 parent 70bda41 commit 51ca80b
Show file tree
Hide file tree
Showing 19 changed files with 557 additions and 376 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ describe('ProfilingCache', () => {
2 => 0,
},
"passiveEffectDuration": null,
"priorityLevel": "Immediate",
"priorityLevel": "Normal",
"timestamp": 0,
"updaters": [
{
Expand Down
1 change: 1 addition & 0 deletions packages/react-reconciler/src/ReactFiberRoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ function FiberRootNode(
this.cancelPendingCommit = null;
this.context = null;
this.pendingContext = null;
this.next = null;
this.callbackNode = null;
this.callbackPriority = NoLane;
this.eventTimes = createLaneMap(NoLanes);
Expand Down
Loading

0 comments on commit 51ca80b

Please sign in to comment.