File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -611,10 +611,6 @@ export function includesSyncLane(lanes: Lanes): boolean {
611611 return ( lanes & ( SyncLane | SyncHydrationLane ) ) !== NoLanes ;
612612}
613613
614- export function isSyncLane ( lanes : Lanes ) : boolean {
615- return ( lanes & ( SyncLane | SyncHydrationLane ) ) !== NoLanes ;
616- }
617-
618614export function includesNonIdleWork ( lanes : Lanes ) : boolean {
619615 return ( lanes & NonIdleLanes ) !== NoLanes ;
620616}
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import type {CapturedValue} from './ReactCapturedValue';
1818import {
1919 isTransitionLane ,
2020 isBlockingLane ,
21- isSyncLane ,
2221 includesTransitionLane ,
2322 includesBlockingLane ,
2423 NoLanes ,
@@ -113,7 +112,7 @@ export function startUpdateTimerByLane(
113112 if ( ! enableProfilerTimer || ! enableComponentPerformanceTrack ) {
114113 return ;
115114 }
116- if ( isSyncLane ( lane ) || isBlockingLane ( lane ) ) {
115+ if ( isBlockingLane ( lane ) ) {
117116 if ( blockingUpdateTime < 0 ) {
118117 blockingUpdateTime = now ( ) ;
119118 blockingUpdateTask = createTask ( method ) ;
You can’t perform that action at this time.
0 commit comments