@@ -46,11 +46,8 @@ import {
46
46
NoPriority as NoSchedulerPriority ,
47
47
} from './SchedulerWithReactIntegration.new' ;
48
48
49
- export const SyncLanePriority : LanePriority = 15 ;
50
- export const SyncBatchedLanePriority : LanePriority = 14 ;
51
-
52
- const InputDiscreteHydrationLanePriority : LanePriority = 13 ;
53
- export const InputDiscreteLanePriority : LanePriority = 12 ;
49
+ export const SyncLanePriority : LanePriority = 13 ;
50
+ export const SyncBatchedLanePriority : LanePriority = 12 ;
54
51
55
52
const InputContinuousHydrationLanePriority : LanePriority = 11 ;
56
53
export const InputContinuousLanePriority : LanePriority = 10 ;
@@ -83,31 +80,30 @@ export const NoLane: Lane = /* */ 0b0000000000000000000
83
80
export const SyncLane : Lane = /* */ 0b0000000000000000000000000000001 ;
84
81
export const SyncBatchedLane : Lane = /* */ 0b0000000000000000000000000000010 ;
85
82
86
- export const InputDiscreteHydrationLane : Lane = /* */ 0b0000000000000000000000000000100 ;
87
- export const InputDiscreteLane : Lanes = /* */ 0b0000000000000000000000000001000 ;
88
-
89
- const InputContinuousHydrationLane : Lane = /* */ 0b0000000000000000000000000010000 ;
90
- export const InputContinuousLane : Lanes = /* */ 0b0000000000000000000000000100000 ;
91
-
92
- export const DefaultHydrationLane : Lane = /* */ 0b0000000000000000000000001000000 ;
93
- export const DefaultLane : Lanes = /* */ 0b0000000000000000000000010000000 ;
94
-
95
- const TransitionHydrationLane : Lane = /* */ 0b0000000000000000000000100000000 ;
96
- const TransitionLanes : Lanes = /* */ 0b0000000011111111111111000000000 ;
97
- const TransitionLane1 : Lane = /* */ 0b0000000000000000000001000000000 ;
98
- const TransitionLane2 : Lane = /* */ 0b0000000000000000000010000000000 ;
99
- const TransitionLane3 : Lane = /* */ 0b0000000000000000000100000000000 ;
100
- const TransitionLane4 : Lane = /* */ 0b0000000000000000001000000000000 ;
101
- const TransitionLane5 : Lane = /* */ 0b0000000000000000010000000000000 ;
102
- const TransitionLane6 : Lane = /* */ 0b0000000000000000100000000000000 ;
103
- const TransitionLane7 : Lane = /* */ 0b0000000000000001000000000000000 ;
104
- const TransitionLane8 : Lane = /* */ 0b0000000000000010000000000000000 ;
105
- const TransitionLane9 : Lane = /* */ 0b0000000000000100000000000000000 ;
106
- const TransitionLane10 : Lane = /* */ 0b0000000000001000000000000000000 ;
107
- const TransitionLane11 : Lane = /* */ 0b0000000000010000000000000000000 ;
108
- const TransitionLane12 : Lane = /* */ 0b0000000000100000000000000000000 ;
109
- const TransitionLane13 : Lane = /* */ 0b0000000001000000000000000000000 ;
110
- const TransitionLane14 : Lane = /* */ 0b0000000010000000000000000000000 ;
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 ;
111
107
112
108
const RetryLanes : Lanes = /* */ 0b0000111100000000000000000000000 ;
113
109
const RetryLane1 : Lane = /* */ 0b0000000100000000000000000000000 ;
@@ -137,12 +133,6 @@ export function getLabelsForLanes(lanes: Lanes): Array<string> | void {
137
133
if ( lanes & SyncBatchedLane ) {
138
134
labels . push ( 'SyncBatched' ) ;
139
135
}
140
- if ( lanes & InputDiscreteHydrationLane ) {
141
- labels . push ( 'InputDiscreteHydration' ) ;
142
- }
143
- if ( lanes & InputDiscreteLane ) {
144
- labels . push ( 'InputDiscrete' ) ;
145
- }
146
136
if ( lanes & InputContinuousHydrationLane ) {
147
137
labels . push ( 'InputContinuousHydration' ) ;
148
138
}
@@ -207,12 +197,6 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
207
197
case SyncBatchedLane:
208
198
return_highestLanePriority = SyncBatchedLanePriority ;
209
199
return SyncBatchedLane ;
210
- case InputDiscreteHydrationLane:
211
- return_highestLanePriority = InputDiscreteHydrationLanePriority ;
212
- return InputDiscreteHydrationLane ;
213
- case InputDiscreteLane:
214
- return_highestLanePriority = InputDiscreteLanePriority ;
215
- return InputDiscreteLane ;
216
200
case InputContinuousHydrationLane:
217
201
return_highestLanePriority = InputContinuousHydrationLanePriority ;
218
202
return InputContinuousHydrationLane ;
@@ -242,6 +226,8 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
242
226
case TransitionLane12:
243
227
case TransitionLane13:
244
228
case TransitionLane14:
229
+ case TransitionLane15:
230
+ case TransitionLane16:
245
231
return_highestLanePriority = TransitionPriority ;
246
232
return lanes & TransitionLanes ;
247
233
case RetryLane1 :
@@ -281,8 +267,6 @@ export function lanePriorityToSchedulerPriority(
281
267
case SyncLanePriority :
282
268
case SyncBatchedLanePriority :
283
269
return ImmediateSchedulerPriority ;
284
- case InputDiscreteHydrationLanePriority :
285
- case InputDiscreteLanePriority :
286
270
case InputContinuousHydrationLanePriority :
287
271
case InputContinuousLanePriority :
288
272
return UserBlockingSchedulerPriority ;
@@ -565,8 +549,6 @@ export function findUpdateLane(lanePriority: LanePriority): Lane {
565
549
return SyncLane ;
566
550
case SyncBatchedLanePriority :
567
551
return SyncBatchedLane ;
568
- case InputDiscreteLanePriority :
569
- return SyncLane ;
570
552
case InputContinuousLanePriority :
571
553
return InputContinuousLane ;
572
554
case DefaultLanePriority :
@@ -826,11 +808,6 @@ export function getBumpedLaneForHydration(
826
808
case SyncBatchedLanePriority :
827
809
lane = NoLane ;
828
810
break ;
829
- case InputDiscreteHydrationLanePriority :
830
- case InputDiscreteLanePriority :
831
- lane = InputDiscreteHydrationLane ;
832
- break ;
833
- case InputContinuousHydrationLanePriority :
834
811
case InputContinuousLanePriority :
835
812
lane = InputContinuousHydrationLane ;
836
813
break ;
0 commit comments