@@ -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 ;
@@ -77,43 +74,40 @@ export const NoLanePriority: LanePriority = 0;
77
74
78
75
export const TotalLanes = 31 ;
79
76
80
- export const NoLanes : Lanes = /* */ 0b0000000000000000000000000000000 ;
81
- export const NoLane : Lane = /* */ 0b0000000000000000000000000000000 ;
82
-
83
- export const SyncLane : Lane = /* */ 0b0000000000000000000000000000001 ;
84
- export const SyncBatchedLane : Lane = /* */ 0b0000000000000000000000000000010 ;
85
-
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 ;
111
-
112
- const RetryLanes : Lanes = /* */ 0b0000111100000000000000000000000 ;
113
- const RetryLane1 : Lane = /* */ 0b0000000100000000000000000000000 ;
114
- const RetryLane2 : Lane = /* */ 0b0000001000000000000000000000000 ;
115
- const RetryLane3 : Lane = /* */ 0b0000010000000000000000000000000 ;
116
- const RetryLane4 : Lane = /* */ 0b0000100000000000000000000000000 ;
77
+ export const NoLanes : Lanes = /* */ 0b00000000000000000000000000000 ;
78
+ export const NoLane : Lane = /* */ 0b00000000000000000000000000000 ;
79
+
80
+ export const SyncLane : Lane = /* */ 0b00000000000000000000000000001 ;
81
+ export const SyncBatchedLane : Lane = /* */ 0b00000000000000000000000000010 ;
82
+
83
+ const InputContinuousHydrationLane : Lane = /* */ 0b00000000000000000000000000100 ;
84
+ export const InputContinuousLane : Lanes = /* */ 0b00000000000000000000000001000 ;
85
+
86
+ export const DefaultHydrationLane : Lane = /* */ 0b00000000000000000000000010000 ;
87
+ export const DefaultLane : Lanes = /* */ 0b00000000000000000000000100000 ;
88
+
89
+ const TransitionHydrationLane : Lane = /* */ 0b00000000000000000000001000000 ;
90
+ const TransitionLanes : Lanes = /* */ 0b00000000111111111111110000000 ;
91
+ const TransitionLane1 : Lane = /* */ 0b00000000000000000000010000000 ;
92
+ const TransitionLane2 : Lane = /* */ 0b00000000000000000000100000000 ;
93
+ const TransitionLane3 : Lane = /* */ 0b00000000000000000001000000000 ;
94
+ const TransitionLane4 : Lane = /* */ 0b00000000000000000010000000000 ;
95
+ const TransitionLane5 : Lane = /* */ 0b00000000000000000100000000000 ;
96
+ const TransitionLane6 : Lane = /* */ 0b00000000000000001000000000000 ;
97
+ const TransitionLane7 : Lane = /* */ 0b00000000000000010000000000000 ;
98
+ const TransitionLane8 : Lane = /* */ 0b00000000000000100000000000000 ;
99
+ const TransitionLane9 : Lane = /* */ 0b00000000000001000000000000000 ;
100
+ const TransitionLane10 : Lane = /* */ 0b00000000000010000000000000000 ;
101
+ const TransitionLane11 : Lane = /* */ 0b00000000000100000000000000000 ;
102
+ const TransitionLane12 : Lane = /* */ 0b00000000001000000000000000000 ;
103
+ const TransitionLane13 : Lane = /* */ 0b00000000010000000000000000000 ;
104
+ const TransitionLane14 : Lane = /* */ 0b00000000100000000000000000000 ;
105
+
106
+ const RetryLanes : Lanes = /* */ 0b00001111000000000000000000000 ;
107
+ const RetryLane1 : Lane = /* */ 0b00000001000000000000000000000 ;
108
+ const RetryLane2 : Lane = /* */ 0b00000010000000000000000000000 ;
109
+ const RetryLane3 : Lane = /* */ 0b00000100000000000000000000000 ;
110
+ const RetryLane4 : Lane = /* */ 0b00001000000000000000000000000 ;
117
111
118
112
export const SomeRetryLane : Lane = RetryLane1 ;
119
113
@@ -137,12 +131,6 @@ export function getLabelsForLanes(lanes: Lanes): Array<string> | void {
137
131
if ( lanes & SyncBatchedLane ) {
138
132
labels . push ( 'SyncBatched' ) ;
139
133
}
140
- if ( lanes & InputDiscreteHydrationLane ) {
141
- labels . push ( 'InputDiscreteHydration' ) ;
142
- }
143
- if ( lanes & InputDiscreteLane ) {
144
- labels . push ( 'InputDiscrete' ) ;
145
- }
146
134
if ( lanes & InputContinuousHydrationLane ) {
147
135
labels . push ( 'InputContinuousHydration' ) ;
148
136
}
@@ -207,12 +195,6 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
207
195
case SyncBatchedLane:
208
196
return_highestLanePriority = SyncBatchedLanePriority ;
209
197
return SyncBatchedLane ;
210
- case InputDiscreteHydrationLane:
211
- return_highestLanePriority = InputDiscreteHydrationLanePriority ;
212
- return InputDiscreteHydrationLane ;
213
- case InputDiscreteLane:
214
- return_highestLanePriority = InputDiscreteLanePriority ;
215
- return InputDiscreteLane ;
216
198
case InputContinuousHydrationLane:
217
199
return_highestLanePriority = InputContinuousHydrationLanePriority ;
218
200
return InputContinuousHydrationLane ;
@@ -281,8 +263,6 @@ export function lanePriorityToSchedulerPriority(
281
263
case SyncLanePriority :
282
264
case SyncBatchedLanePriority :
283
265
return ImmediateSchedulerPriority ;
284
- case InputDiscreteHydrationLanePriority :
285
- case InputDiscreteLanePriority :
286
266
case InputContinuousHydrationLanePriority :
287
267
case InputContinuousLanePriority :
288
268
return UserBlockingSchedulerPriority ;
@@ -565,8 +545,6 @@ export function findUpdateLane(lanePriority: LanePriority): Lane {
565
545
return SyncLane ;
566
546
case SyncBatchedLanePriority :
567
547
return SyncBatchedLane ;
568
- case InputDiscreteLanePriority :
569
- return SyncLane ;
570
548
case InputContinuousLanePriority :
571
549
return InputContinuousLane ;
572
550
case DefaultLanePriority :
@@ -826,11 +804,6 @@ export function getBumpedLaneForHydration(
826
804
case SyncBatchedLanePriority :
827
805
lane = NoLane ;
828
806
break ;
829
- case InputDiscreteHydrationLanePriority :
830
- case InputDiscreteLanePriority :
831
- lane = InputDiscreteHydrationLane ;
832
- break ;
833
- case InputContinuousHydrationLanePriority :
834
807
case InputContinuousLanePriority :
835
808
lane = InputContinuousHydrationLane ;
836
809
break ;
0 commit comments