File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -548,8 +548,8 @@ export function scheduleUpdateOnFiber(
548
548
ensureRootIsScheduled ( root , eventTime ) ;
549
549
schedulePendingInteractions ( root , lane ) ;
550
550
if (
551
- ( fiber . mode & ConcurrentMode ) === NoMode &&
552
- executionContext === NoContext
551
+ executionContext === NoContext &&
552
+ ( fiber . mode & ConcurrentMode ) === NoMode
553
553
) {
554
554
// Flush the synchronous work now, unless we're already working or inside
555
555
// a batch. This is intentionally inside scheduleUpdateOnFiber instead of
Original file line number Diff line number Diff line change @@ -548,8 +548,8 @@ export function scheduleUpdateOnFiber(
548
548
ensureRootIsScheduled ( root , eventTime ) ;
549
549
schedulePendingInteractions ( root , lane ) ;
550
550
if (
551
- ( fiber . mode & ConcurrentMode ) === NoMode &&
552
- executionContext === NoContext
551
+ executionContext === NoContext &&
552
+ ( fiber . mode & ConcurrentMode ) === NoMode
553
553
) {
554
554
// Flush the synchronous work now, unless we're already working or inside
555
555
// a batch. This is intentionally inside scheduleUpdateOnFiber instead of
You can’t perform that action at this time.
0 commit comments