@@ -46,8 +46,7 @@ import {
4646 NoPriority as NoSchedulerPriority ,
4747} from './SchedulerWithReactIntegration.new' ;
4848
49- export const SyncLanePriority : LanePriority = 13 ;
50- export const SyncBatchedLanePriority : LanePriority = 12 ;
49+ export const SyncLanePriority : LanePriority = 12 ;
5150
5251const InputContinuousHydrationLanePriority : LanePriority = 11 ;
5352export const InputContinuousLanePriority : LanePriority = 10 ;
@@ -72,55 +71,54 @@ export const NoLanePriority: LanePriority = 0;
7271// Lane values below should be kept in sync with getLabelsForLanes(), used by react-devtools-scheduling-profiler.
7372// If those values are changed that package should be rebuilt and redeployed.
7473
75- export const TotalLanes = 31 ;
76-
77- export const NoLanes : Lanes = /* */ 0b0000000000000000000000000000000 ;
78- export const NoLane : Lane = /* */ 0b0000000000000000000000000000000 ;
79-
80- 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 ;
74+ export const TotalLanes = 30 ;
75+
76+ export const NoLanes : Lanes = /* */ 0b000000000000000000000000000000 ;
77+ export const NoLane : Lane = /* */ 0b000000000000000000000000000000 ;
78+
79+ export const SyncLane : Lane = /* */ 0b000000000000000000000000000001 ;
80+
81+ const InputContinuousHydrationLane : Lane = /* */ 0b000000000000000000000000000010 ;
82+ export const InputContinuousLane : Lanes = /* */ 0b000000000000000000000000000100 ;
83+
84+ export const DefaultHydrationLane : Lane = /* */ 0b000000000000000000000000001000 ;
85+ export const DefaultLane : Lanes = /* */ 0b000000000000000000000000010000 ;
86+
87+ const TransitionHydrationLane : Lane = /* */ 0b000000000000000000000000100000 ;
88+ const TransitionLanes : Lanes = /* */ 0b000000001111111111111111000000 ;
89+ const TransitionLane1 : Lane = /* */ 0b000000000000000000000001000000 ;
90+ const TransitionLane2 : Lane = /* */ 0b000000000000000000000010000000 ;
91+ const TransitionLane3 : Lane = /* */ 0b000000000000000000000100000000 ;
92+ const TransitionLane4 : Lane = /* */ 0b000000000000000000001000000000 ;
93+ const TransitionLane5 : Lane = /* */ 0b000000000000000000010000000000 ;
94+ const TransitionLane6 : Lane = /* */ 0b000000000000000000100000000000 ;
95+ const TransitionLane7 : Lane = /* */ 0b000000000000000001000000000000 ;
96+ const TransitionLane8 : Lane = /* */ 0b000000000000000010000000000000 ;
97+ const TransitionLane9 : Lane = /* */ 0b000000000000000100000000000000 ;
98+ const TransitionLane10 : Lane = /* */ 0b000000000000001000000000000000 ;
99+ const TransitionLane11 : Lane = /* */ 0b000000000000010000000000000000 ;
100+ const TransitionLane12 : Lane = /* */ 0b000000000000100000000000000000 ;
101+ const TransitionLane13 : Lane = /* */ 0b000000000001000000000000000000 ;
102+ const TransitionLane14 : Lane = /* */ 0b000000000010000000000000000000 ;
103+ const TransitionLane15 : Lane = /* */ 0b000000000100000000000000000000 ;
104+ const TransitionLane16 : Lane = /* */ 0b000000001000000000000000000000 ;
105+
106+ const RetryLanes : Lanes = /* */ 0b000011110000000000000000000000 ;
107+ const RetryLane1 : Lane = /* */ 0b000000010000000000000000000000 ;
108+ const RetryLane2 : Lane = /* */ 0b000000100000000000000000000000 ;
109+ const RetryLane3 : Lane = /* */ 0b000001000000000000000000000000 ;
110+ const RetryLane4 : Lane = /* */ 0b000010000000000000000000000000 ;
113111
114112export const SomeRetryLane : Lane = RetryLane1 ;
115113
116- export const SelectiveHydrationLane : Lane = /* */ 0b0001000000000000000000000000000 ;
114+ export const SelectiveHydrationLane : Lane = /* */ 0b000100000000000000000000000000 ;
117115
118- const NonIdleLanes = /* */ 0b0001111111111111111111111111111 ;
116+ const NonIdleLanes = /* */ 0b000111111111111111111111111111 ;
119117
120- export const IdleHydrationLane : Lane = /* */ 0b0010000000000000000000000000000 ;
121- const IdleLane : Lanes = /* */ 0b0100000000000000000000000000000 ;
118+ export const IdleHydrationLane : Lane = /* */ 0b001000000000000000000000000000 ;
119+ const IdleLane : Lanes = /* */ 0b010000000000000000000000000000 ;
122120
123- export const OffscreenLane : Lane = /* */ 0b1000000000000000000000000000000 ;
121+ export const OffscreenLane : Lane = /* */ 0b100000000000000000000000000000 ;
124122
125123// This function is used for the experimental scheduling profiler (react-devtools-scheduling-profiler)
126124// It should be kept in sync with the Lanes values above.
@@ -130,9 +128,6 @@ export function getLabelsForLanes(lanes: Lanes): Array<string> | void {
130128 if ( lanes & SyncLane ) {
131129 labels . push ( 'Sync' ) ;
132130 }
133- if ( lanes & SyncBatchedLane ) {
134- labels . push ( 'SyncBatched' ) ;
135- }
136131 if ( lanes & InputContinuousHydrationLane ) {
137132 labels . push ( 'InputContinuousHydration' ) ;
138133 }
@@ -194,9 +189,6 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
194189 case SyncLane:
195190 return_highestLanePriority = SyncLanePriority ;
196191 return SyncLane ;
197- case SyncBatchedLane:
198- return_highestLanePriority = SyncBatchedLanePriority ;
199- return SyncBatchedLane ;
200192 case InputContinuousHydrationLane:
201193 return_highestLanePriority = InputContinuousHydrationLanePriority ;
202194 return InputContinuousHydrationLane ;
@@ -265,7 +257,6 @@ export function lanePriorityToSchedulerPriority(
265257) : ReactPriorityLevel {
266258 switch ( lanePriority ) {
267259 case SyncLanePriority :
268- case SyncBatchedLanePriority :
269260 return ImmediateSchedulerPriority ;
270261 case InputContinuousHydrationLanePriority :
271262 case InputContinuousLanePriority :
@@ -547,8 +538,6 @@ export function findUpdateLane(lanePriority: LanePriority): Lane {
547538 break ;
548539 case SyncLanePriority :
549540 return SyncLane ;
550- case SyncBatchedLanePriority :
551- return SyncBatchedLane ;
552541 case InputContinuousLanePriority :
553542 return InputContinuousLane ;
554543 case DefaultLanePriority :
@@ -805,7 +794,6 @@ export function getBumpedLaneForHydration(
805794 let lane ;
806795 switch ( highestLanePriority ) {
807796 case SyncLanePriority :
808- case SyncBatchedLanePriority :
809797 lane = NoLane ;
810798 break ;
811799 case InputContinuousLanePriority :
0 commit comments