Skip to content

Commit 51ca80b

Browse files
committed
Revert "Revert "Move update scheduling to microtask (#26512)""
This reverts commit d8dfc22.
1 parent 70bda41 commit 51ca80b

19 files changed

+557
-376
lines changed

packages/react-devtools-shared/src/__tests__/profilingCache-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ describe('ProfilingCache', () => {
963963
2 => 0,
964964
},
965965
"passiveEffectDuration": null,
966-
"priorityLevel": "Immediate",
966+
"priorityLevel": "Normal",
967967
"timestamp": 0,
968968
"updaters": [
969969
{

packages/react-reconciler/src/ReactFiberRoot.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ function FiberRootNode(
6363
this.cancelPendingCommit = null;
6464
this.context = null;
6565
this.pendingContext = null;
66+
this.next = null;
6667
this.callbackNode = null;
6768
this.callbackPriority = NoLane;
6869
this.eventTimes = createLaneMap(NoLanes);

0 commit comments

Comments
 (0)