Delete SyncBatchedLane (#21061)
* Delete SyncBatchedLane * Go back to 31 lanes
Ricky committed
Mar 24, 2021 at 15:04 UTC
a63f0953be9550ab18bcd48725f77a073549ec69
6 files changed
+86
-136
packages/react-devtools-scheduling-profiler/src/import-worker/__tests__/preprocessData-test.internal.js
+12
-12
@@ -404,7 +404,7 @@ describe(preprocessData, () => {
404
{
405
componentStack: '',
406
laneLabels: ['Default'],
407
- lanes: [5],
407
+ lanes: [4],
408
timestamp: 0.005,
409
type: 'schedule-render',
410
},
@@ -413,7 +413,7 @@ describe(preprocessData, () => {
413
componentStack: '',
414
isCascading: false,
415
laneLabels: ['Default'],
416
- lanes: [5],
416
+ lanes: [4],
417
timestamp: 0.013,
418
type: 'schedule-state-update',
419
},
@@ -425,7 +425,7 @@ describe(preprocessData, () => {
425
depth: 0,
426
duration: 0.004999999999999999,
427
laneLabels: ['Default'],
428
- lanes: [5],
428
+ lanes: [4],
429
timestamp: 0.006,
430
type: 'render-idle',
431
},
@@ -434,7 +434,7 @@ describe(preprocessData, () => {
434
depth: 0,
435
duration: 0.001,
436
laneLabels: ['Default'],
437
- lanes: [5],
437
+ lanes: [4],
438
timestamp: 0.006,
439
type: 'render',
440
},
@@ -443,7 +443,7 @@ describe(preprocessData, () => {
443
depth: 0,
444
duration: 0.002999999999999999,
445
laneLabels: ['Default'],
446
- lanes: [5],
446
+ lanes: [4],
447
timestamp: 0.008,
448
type: 'commit',
449
},
@@ -452,7 +452,7 @@ describe(preprocessData, () => {
452
depth: 1,
453
duration: 0.0010000000000000009,
454
laneLabels: ['Default'],
455
- lanes: [5],
455
+ lanes: [4],
456
timestamp: 0.009,
457
type: 'layout-effects',
458
},
@@ -461,7 +461,7 @@ describe(preprocessData, () => {
461
depth: 0,
462
duration: 0.002,
463
laneLabels: ['Default'],
464
- lanes: [5],
464
+ lanes: [4],
465
timestamp: 0.012,
466
type: 'passive-effects',
467
},
@@ -470,7 +470,7 @@ describe(preprocessData, () => {
470
depth: 0,
471
duration: 0.005000000000000001,
472
laneLabels: ['Default'],
473
- lanes: [5],
473
+ lanes: [4],
474
timestamp: 0.015,
475
type: 'render-idle',
476
},
@@ -479,7 +479,7 @@ describe(preprocessData, () => {
479
depth: 0,
480
duration: 0.0010000000000000009,
481
laneLabels: ['Default'],
482
- lanes: [5],
482
+ lanes: [4],
483
timestamp: 0.015,
484
type: 'render',
485
},
@@ -488,7 +488,7 @@ describe(preprocessData, () => {
488
depth: 0,
489
duration: 0.002999999999999999,
490
laneLabels: ['Default'],
491
- lanes: [5],
491
+ lanes: [4],
492
timestamp: 0.017,
493
type: 'commit',
494
},
@@ -497,7 +497,7 @@ describe(preprocessData, () => {
497
depth: 1,
498
duration: 0.0010000000000000009,
499
laneLabels: ['Default'],
500
- lanes: [5],
500
+ lanes: [4],
501
timestamp: 0.018,
502
type: 'layout-effects',
503
},
@@ -506,7 +506,7 @@ describe(preprocessData, () => {
506
depth: 0,
507
duration: 0.0009999999999999974,
508
laneLabels: ['Default'],
509
- lanes: [5],
509
+ lanes: [4],
510
timestamp: 0.021,
511
type: 'passive-effects',
512
},
packages/react-reconciler/src/ReactFiberLane.new.js
+36
-46
@@ -46,8 +46,7 @@ import {
46
NoPriority as NoSchedulerPriority,
47
} from './SchedulerWithReactIntegration.new';
48
49
-export const SyncLanePriority: LanePriority = 13;
50
-export const SyncBatchedLanePriority: LanePriority = 12;
49
+export const SyncLanePriority: LanePriority = 12;
50
51
const InputContinuousHydrationLanePriority: LanePriority = 11;
52
export const InputContinuousLanePriority: LanePriority = 10;
@@ -74,42 +73,42 @@ export const NoLanePriority: LanePriority = 0;
73
74
export const TotalLanes = 31;
75
77
-export const NoLanes: Lanes = /* */ 0b0000000000000000000000000000000;
78
-export const NoLane: Lane = /* */ 0b0000000000000000000000000000000;
76
+export const NoLanes: Lanes = /* */ 0b000000000000000000000000000000;
77
+export const NoLane: Lane = /* */ 0b000000000000000000000000000000;
78
79
export const SyncLane: Lane = /* */ 0b0000000000000000000000000000001;
81
-export const SyncBatchedLane: Lane = /* */ 0b0000000000000000000000000000010;
82
-
83
-const InputContinuousHydrationLane: Lane = /* */ 0b0000000000000000000000000000100;
84
-export const InputContinuousLane: Lanes = /* */ 0b0000000000000000000000000001000;
85
-
86
-export const DefaultHydrationLane: Lane = /* */ 0b0000000000000000000000000010000;
87
-export const DefaultLane: Lanes = /* */ 0b0000000000000000000000000100000;
88
-
89
-const TransitionHydrationLane: Lane = /* */ 0b0000000000000000000000001000000;
90
-const TransitionLanes: Lanes = /* */ 0b0000000011111111111111110000000;
91
-const TransitionLane1: Lane = /* */ 0b0000000000000000000000010000000;
92
-const TransitionLane2: Lane = /* */ 0b0000000000000000000000100000000;
93
-const TransitionLane3: Lane = /* */ 0b0000000000000000000001000000000;
94
-const TransitionLane4: Lane = /* */ 0b0000000000000000000010000000000;
95
-const TransitionLane5: Lane = /* */ 0b0000000000000000000100000000000;
96
-const TransitionLane6: Lane = /* */ 0b0000000000000000001000000000000;
97
-const TransitionLane7: Lane = /* */ 0b0000000000000000010000000000000;
98
-const TransitionLane8: Lane = /* */ 0b0000000000000000100000000000000;
99
-const TransitionLane9: Lane = /* */ 0b0000000000000001000000000000000;
100
-const TransitionLane10: Lane = /* */ 0b0000000000000010000000000000000;
101
-const TransitionLane11: Lane = /* */ 0b0000000000000100000000000000000;
102
-const TransitionLane12: Lane = /* */ 0b0000000000001000000000000000000;
103
-const TransitionLane13: Lane = /* */ 0b0000000000010000000000000000000;
104
-const TransitionLane14: Lane = /* */ 0b0000000000100000000000000000000;
105
-const TransitionLane15: Lane = /* */ 0b0000000001000000000000000000000;
106
-const TransitionLane16: Lane = /* */ 0b0000000010000000000000000000000;
107
-
108
-const RetryLanes: Lanes = /* */ 0b0000111100000000000000000000000;
109
-const RetryLane1: Lane = /* */ 0b0000000100000000000000000000000;
110
-const RetryLane2: Lane = /* */ 0b0000001000000000000000000000000;
111
-const RetryLane3: Lane = /* */ 0b0000010000000000000000000000000;
112
-const RetryLane4: Lane = /* */ 0b0000100000000000000000000000000;
80
+
81
+const InputContinuousHydrationLane: Lane = /* */ 0b0000000000000000000000000000010;
82
+export const InputContinuousLane: Lanes = /* */ 0b0000000000000000000000000000100;
83
+
84
+export const DefaultHydrationLane: Lane = /* */ 0b0000000000000000000000000001000;
85
+export const DefaultLane: Lanes = /* */ 0b0000000000000000000000000010000;
86
+
87
+const TransitionHydrationLane: Lane = /* */ 0b0000000000000000000000000100000;
88
+const TransitionLanes: Lanes = /* */ 0b0000000001111111111111111000000;
89
+const TransitionLane1: Lane = /* */ 0b0000000000000000000000001000000;
90
+const TransitionLane2: Lane = /* */ 0b0000000000000000000000010000000;
91
+const TransitionLane3: Lane = /* */ 0b0000000000000000000000100000000;
92
+const TransitionLane4: Lane = /* */ 0b0000000000000000000001000000000;
93
+const TransitionLane5: Lane = /* */ 0b0000000000000000000010000000000;
94
+const TransitionLane6: Lane = /* */ 0b0000000000000000000100000000000;
95
+const TransitionLane7: Lane = /* */ 0b0000000000000000001000000000000;
96
+const TransitionLane8: Lane = /* */ 0b0000000000000000010000000000000;
97
+const TransitionLane9: Lane = /* */ 0b0000000000000000100000000000000;
98
+const TransitionLane10: Lane = /* */ 0b0000000000000001000000000000000;
99
+const TransitionLane11: Lane = /* */ 0b0000000000000010000000000000000;
100
+const TransitionLane12: Lane = /* */ 0b0000000000000100000000000000000;
101
+const TransitionLane13: Lane = /* */ 0b0000000000001000000000000000000;
102
+const TransitionLane14: Lane = /* */ 0b0000000000010000000000000000000;
103
+const TransitionLane15: Lane = /* */ 0b0000000000100000000000000000000;
104
+const TransitionLane16: Lane = /* */ 0b0000000001000000000000000000000;
105
+
106
+const RetryLanes: Lanes = /* */ 0b0000111110000000000000000000000;
107
+const RetryLane1: Lane = /* */ 0b0000000010000000000000000000000;
108
+const RetryLane2: Lane = /* */ 0b0000000100000000000000000000000;
109
+const RetryLane3: Lane = /* */ 0b0000001000000000000000000000000;
110
+const RetryLane4: Lane = /* */ 0b0000010000000000000000000000000;
111
+const RetryLane5: Lane = /* */ 0b0000100000000000000000000000000;
112
113
export const SomeRetryLane: Lane = RetryLane1;
114
@@ -130,9 +129,6 @@ export function getLabelsForLanes(lanes: Lanes): Array<string> | void {
129
if (lanes & SyncLane) {
130
labels.push('Sync');
131
}
133
- if (lanes & SyncBatchedLane) {
134
- labels.push('SyncBatched');
135
- }
132
if (lanes & InputContinuousHydrationLane) {
133
labels.push('InputContinuousHydration');
134
}
@@ -194,9 +190,6 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
190
case SyncLane:
191
return_highestLanePriority = SyncLanePriority;
192
return SyncLane;
197
- case SyncBatchedLane:
198
- return_highestLanePriority = SyncBatchedLanePriority;
199
- return SyncBatchedLane;
193
case InputContinuousHydrationLane:
194
return_highestLanePriority = InputContinuousHydrationLanePriority;
195
return InputContinuousHydrationLane;
@@ -234,6 +227,7 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
227
case RetryLane2:
228
case RetryLane3:
229
case RetryLane4:
230
+ case RetryLane5:
231
return_highestLanePriority = RetryLanePriority;
232
return lanes & RetryLanes;
233
case SelectiveHydrationLane:
@@ -265,7 +259,6 @@ export function lanePriorityToSchedulerPriority(
259
): ReactPriorityLevel {
260
switch (lanePriority) {
261
case SyncLanePriority:
268
- case SyncBatchedLanePriority:
262
return ImmediateSchedulerPriority;
263
case InputContinuousHydrationLanePriority:
264
case InputContinuousLanePriority:
@@ -547,8 +540,6 @@ export function findUpdateLane(lanePriority: LanePriority): Lane {
540
break;
541
case SyncLanePriority:
542
return SyncLane;
550
- case SyncBatchedLanePriority:
551
- return SyncBatchedLane;
543
case InputContinuousLanePriority:
544
return InputContinuousLane;
545
case DefaultLanePriority:
@@ -805,7 +796,6 @@ export function getBumpedLaneForHydration(
796
let lane;
797
switch (highestLanePriority) {
798
case SyncLanePriority:
808
- case SyncBatchedLanePriority:
799
lane = NoLane;
800
break;
801
case InputContinuousLanePriority:
packages/react-reconciler/src/ReactFiberLane.old.js
+36
-46
@@ -46,8 +46,7 @@ import {
46
NoPriority as NoSchedulerPriority,
47
} from './SchedulerWithReactIntegration.old';
48
49
-export const SyncLanePriority: LanePriority = 13;
50
-export const SyncBatchedLanePriority: LanePriority = 12;
49
+export const SyncLanePriority: LanePriority = 12;
50
51
const InputContinuousHydrationLanePriority: LanePriority = 11;
52
export const InputContinuousLanePriority: LanePriority = 10;
@@ -74,42 +73,42 @@ export const NoLanePriority: LanePriority = 0;
73
74
export const TotalLanes = 31;
75
77
-export const NoLanes: Lanes = /* */ 0b0000000000000000000000000000000;
78
-export const NoLane: Lane = /* */ 0b0000000000000000000000000000000;
76
+export const NoLanes: Lanes = /* */ 0b000000000000000000000000000000;
77
+export const NoLane: Lane = /* */ 0b000000000000000000000000000000;
78
79
export const SyncLane: Lane = /* */ 0b0000000000000000000000000000001;
81
-export const SyncBatchedLane: Lane = /* */ 0b0000000000000000000000000000010;
82
-
83
-const InputContinuousHydrationLane: Lane = /* */ 0b0000000000000000000000000000100;
84
-export const InputContinuousLane: Lanes = /* */ 0b0000000000000000000000000001000;
85
-
86
-export const DefaultHydrationLane: Lane = /* */ 0b0000000000000000000000000010000;
87
-export const DefaultLane: Lanes = /* */ 0b0000000000000000000000000100000;
88
-
89
-const TransitionHydrationLane: Lane = /* */ 0b0000000000000000000000001000000;
90
-const TransitionLanes: Lanes = /* */ 0b0000000011111111111111110000000;
91
-const TransitionLane1: Lane = /* */ 0b0000000000000000000000010000000;
92
-const TransitionLane2: Lane = /* */ 0b0000000000000000000000100000000;
93
-const TransitionLane3: Lane = /* */ 0b0000000000000000000001000000000;
94
-const TransitionLane4: Lane = /* */ 0b0000000000000000000010000000000;
95
-const TransitionLane5: Lane = /* */ 0b0000000000000000000100000000000;
96
-const TransitionLane6: Lane = /* */ 0b0000000000000000001000000000000;
97
-const TransitionLane7: Lane = /* */ 0b0000000000000000010000000000000;
98
-const TransitionLane8: Lane = /* */ 0b0000000000000000100000000000000;
99
-const TransitionLane9: Lane = /* */ 0b0000000000000001000000000000000;
100
-const TransitionLane10: Lane = /* */ 0b0000000000000010000000000000000;
101
-const TransitionLane11: Lane = /* */ 0b0000000000000100000000000000000;
102
-const TransitionLane12: Lane = /* */ 0b0000000000001000000000000000000;
103
-const TransitionLane13: Lane = /* */ 0b0000000000010000000000000000000;
104
-const TransitionLane14: Lane = /* */ 0b0000000000100000000000000000000;
105
-const TransitionLane15: Lane = /* */ 0b0000000001000000000000000000000;
106
-const TransitionLane16: Lane = /* */ 0b0000000010000000000000000000000;
107
-
108
-const RetryLanes: Lanes = /* */ 0b0000111100000000000000000000000;
109
-const RetryLane1: Lane = /* */ 0b0000000100000000000000000000000;
110
-const RetryLane2: Lane = /* */ 0b0000001000000000000000000000000;
111
-const RetryLane3: Lane = /* */ 0b0000010000000000000000000000000;
112
-const RetryLane4: Lane = /* */ 0b0000100000000000000000000000000;
80
+
81
+const InputContinuousHydrationLane: Lane = /* */ 0b0000000000000000000000000000010;
82
+export const InputContinuousLane: Lanes = /* */ 0b0000000000000000000000000000100;
83
+
84
+export const DefaultHydrationLane: Lane = /* */ 0b0000000000000000000000000001000;
85
+export const DefaultLane: Lanes = /* */ 0b0000000000000000000000000010000;
86
+
87
+const TransitionHydrationLane: Lane = /* */ 0b0000000000000000000000000100000;
88
+const TransitionLanes: Lanes = /* */ 0b0000000001111111111111111000000;
89
+const TransitionLane1: Lane = /* */ 0b0000000000000000000000001000000;
90
+const TransitionLane2: Lane = /* */ 0b0000000000000000000000010000000;
91
+const TransitionLane3: Lane = /* */ 0b0000000000000000000000100000000;
92
+const TransitionLane4: Lane = /* */ 0b0000000000000000000001000000000;
93
+const TransitionLane5: Lane = /* */ 0b0000000000000000000010000000000;
94
+const TransitionLane6: Lane = /* */ 0b0000000000000000000100000000000;
95
+const TransitionLane7: Lane = /* */ 0b0000000000000000001000000000000;
96
+const TransitionLane8: Lane = /* */ 0b0000000000000000010000000000000;
97
+const TransitionLane9: Lane = /* */ 0b0000000000000000100000000000000;
98
+const TransitionLane10: Lane = /* */ 0b0000000000000001000000000000000;
99
+const TransitionLane11: Lane = /* */ 0b0000000000000010000000000000000;
100
+const TransitionLane12: Lane = /* */ 0b0000000000000100000000000000000;
101
+const TransitionLane13: Lane = /* */ 0b0000000000001000000000000000000;
102
+const TransitionLane14: Lane = /* */ 0b0000000000010000000000000000000;
103
+const TransitionLane15: Lane = /* */ 0b0000000000100000000000000000000;
104
+const TransitionLane16: Lane = /* */ 0b0000000001000000000000000000000;
105
+
106
+const RetryLanes: Lanes = /* */ 0b0000111110000000000000000000000;
107
+const RetryLane1: Lane = /* */ 0b0000000010000000000000000000000;
108
+const RetryLane2: Lane = /* */ 0b0000000100000000000000000000000;
109
+const RetryLane3: Lane = /* */ 0b0000001000000000000000000000000;
110
+const RetryLane4: Lane = /* */ 0b0000010000000000000000000000000;
111
+const RetryLane5: Lane = /* */ 0b0000100000000000000000000000000;
112
113
export const SomeRetryLane: Lane = RetryLane1;
114
@@ -130,9 +129,6 @@ export function getLabelsForLanes(lanes: Lanes): Array<string> | void {
129
if (lanes & SyncLane) {
130
labels.push('Sync');
131
}
133
- if (lanes & SyncBatchedLane) {
134
- labels.push('SyncBatched');
135
- }
132
if (lanes & InputContinuousHydrationLane) {
133
labels.push('InputContinuousHydration');
134
}
@@ -194,9 +190,6 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
190
case SyncLane:
191
return_highestLanePriority = SyncLanePriority;
192
return SyncLane;
197
- case SyncBatchedLane:
198
- return_highestLanePriority = SyncBatchedLanePriority;
199
- return SyncBatchedLane;
193
case InputContinuousHydrationLane:
194
return_highestLanePriority = InputContinuousHydrationLanePriority;
195
return InputContinuousHydrationLane;
@@ -234,6 +227,7 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
227
case RetryLane2:
228
case RetryLane3:
229
case RetryLane4:
230
+ case RetryLane5:
231
return_highestLanePriority = RetryLanePriority;
232
return lanes & RetryLanes;
233
case SelectiveHydrationLane:
@@ -265,7 +259,6 @@ export function lanePriorityToSchedulerPriority(
259
): ReactPriorityLevel {
260
switch (lanePriority) {
261
case SyncLanePriority:
268
- case SyncBatchedLanePriority:
262
return ImmediateSchedulerPriority;
263
case InputContinuousHydrationLanePriority:
264
case InputContinuousLanePriority:
@@ -547,8 +540,6 @@ export function findUpdateLane(lanePriority: LanePriority): Lane {
540
break;
541
case SyncLanePriority:
542
return SyncLane;
550
- case SyncBatchedLanePriority:
551
- return SyncBatchedLane;
543
case InputContinuousLanePriority:
544
return InputContinuousLane;
545
case DefaultLanePriority:
@@ -805,7 +796,6 @@ export function getBumpedLaneForHydration(
796
let lane;
797
switch (highestLanePriority) {
798
case SyncLanePriority:
808
- case SyncBatchedLanePriority:
799
lane = NoLane;
800
break;
801
case InputContinuousLanePriority:
packages/react-reconciler/src/ReactFiberWorkLoop.new.js
-15
@@ -132,12 +132,10 @@ import {
132
import {
133
NoLanePriority,
134
SyncLanePriority,
135
- SyncBatchedLanePriority,
135
DefaultLanePriority,
136
NoLanes,
137
NoLane,
138
SyncLane,
140
- SyncBatchedLane,
139
NoTimestamp,
140
findUpdateLane,
141
claimNextTransitionLane,
@@ -380,10 +378,6 @@ export function requestUpdateLane(fiber: Fiber): Lane {
378
const mode = fiber.mode;
379
if ((mode & ConcurrentMode) === NoMode) {
380
return (SyncLane: Lane);
383
- } else if ((mode & ConcurrentMode) === NoMode) {
384
- return getCurrentUpdateLanePriority() === SyncLanePriority
385
- ? (SyncLane: Lane)
386
- : (SyncBatchedLane: Lane);
381
} else if (
382
!deferRenderPhaseUpdateToNextBatch &&
383
(executionContext & RenderContext) !== NoContext &&
@@ -452,10 +446,6 @@ function requestRetryLane(fiber: Fiber) {
446
const mode = fiber.mode;
447
if ((mode & ConcurrentMode) === NoMode) {
448
return (SyncLane: Lane);
455
- } else if ((mode & ConcurrentMode) === NoMode) {
456
- return getCurrentUpdateLanePriority() === SyncLanePriority
457
- ? (SyncLane: Lane)
458
- : (SyncBatchedLane: Lane);
449
}
450
451
// See `requestUpdateLane` for explanation of `currentEventWipLanes`
@@ -706,11 +696,6 @@ function ensureRootIsScheduled(root: FiberRoot, currentTime: number) {
696
scheduleCallback(ImmediateSchedulerPriority, flushSyncCallbackQueue);
697
}
698
newCallbackNode = null;
709
- } else if (newCallbackPriority === SyncBatchedLanePriority) {
710
- newCallbackNode = scheduleCallback(
711
- ImmediateSchedulerPriority,
712
- performSyncWorkOnRoot.bind(null, root),
713
- );
699
} else {
700
const schedulerPriorityLevel = lanePriorityToSchedulerPriority(
701
newCallbackPriority,
packages/react-reconciler/src/ReactFiberWorkLoop.old.js
-15
@@ -132,12 +132,10 @@ import {
132
import {
133
NoLanePriority,
134
SyncLanePriority,
135
- SyncBatchedLanePriority,
135
DefaultLanePriority,
136
NoLanes,
137
NoLane,
138
SyncLane,
140
- SyncBatchedLane,
139
NoTimestamp,
140
findUpdateLane,
141
claimNextTransitionLane,
@@ -380,10 +378,6 @@ export function requestUpdateLane(fiber: Fiber): Lane {
378
const mode = fiber.mode;
379
if ((mode & ConcurrentMode) === NoMode) {
380
return (SyncLane: Lane);
383
- } else if ((mode & ConcurrentMode) === NoMode) {
384
- return getCurrentUpdateLanePriority() === SyncLanePriority
385
- ? (SyncLane: Lane)
386
- : (SyncBatchedLane: Lane);
381
} else if (
382
!deferRenderPhaseUpdateToNextBatch &&
383
(executionContext & RenderContext) !== NoContext &&
@@ -452,10 +446,6 @@ function requestRetryLane(fiber: Fiber) {
446
const mode = fiber.mode;
447
if ((mode & ConcurrentMode) === NoMode) {
448
return (SyncLane: Lane);
455
- } else if ((mode & ConcurrentMode) === NoMode) {
456
- return getCurrentUpdateLanePriority() === SyncLanePriority
457
- ? (SyncLane: Lane)
458
- : (SyncBatchedLane: Lane);
449
}
450
451
// See `requestUpdateLane` for explanation of `currentEventWipLanes`
@@ -706,11 +696,6 @@ function ensureRootIsScheduled(root: FiberRoot, currentTime: number) {
696
scheduleCallback(ImmediateSchedulerPriority, flushSyncCallbackQueue);
697
}
698
newCallbackNode = null;
709
- } else if (newCallbackPriority === SyncBatchedLanePriority) {
710
- newCallbackNode = scheduleCallback(
711
- ImmediateSchedulerPriority,
712
- performSyncWorkOnRoot.bind(null, root),
713
- );
699
} else {
700
const schedulerPriorityLevel = lanePriorityToSchedulerPriority(
701
newCallbackPriority,
packages/react-reconciler/src/__tests__/DebugTracing-test.internal.js
+2
-2
@@ -16,8 +16,8 @@ describe('DebugTracing', () => {
16
17
let logs;
18
19
- const DEFAULT_LANE_STRING = '0b0000000000000000000000000100000';
20
- const RETRY_LANE_STRING = '0b0000000100000000000000000000000';
19
+ const DEFAULT_LANE_STRING = '0b0000000000000000000000000010000';
20
+ const RETRY_LANE_STRING = '0b0000000010000000000000000000000';
21
22
beforeEach(() => {
23
jest.resetModules();