You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
637
+
)),
638
+
null!==prevTransition&&
639
+
null!==currentTransition.types&&
640
+
(null!==prevTransition.types&&
641
+
prevTransition.types!==currentTransition.types&&
642
+
console.error(
643
+
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
644
+
),
645
+
(prevTransition.types=currentTransition.types)),
646
+
(ReactSharedInternals.T=prevTransition);
647
+
}
648
+
}
601
649
functionnoop(){}
650
+
functionaddTransitionType(type){
651
+
if(enableViewTransition){
652
+
vartransition=ReactSharedInternals.T;
653
+
if(null!==transition){
654
+
vartransitionTypes=transition.types;
655
+
null===transitionTypes
656
+
? (transition.types=[type])
657
+
: -1===transitionTypes.indexOf(type)&&
658
+
transitionTypes.push(type);
659
+
}else
660
+
0===ReactSharedInternals.asyncTransitions&&
661
+
console.error(
662
+
"addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
637
+
)),
638
+
null!==prevTransition&&
639
+
null!==currentTransition.types&&
640
+
(null!==prevTransition.types&&
641
+
prevTransition.types!==currentTransition.types&&
642
+
console.error(
643
+
"We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
644
+
),
645
+
(prevTransition.types=currentTransition.types)),
646
+
(ReactSharedInternals.T=prevTransition);
647
+
}
648
+
}
601
649
functionnoop(){}
650
+
functionaddTransitionType(type){
651
+
if(enableViewTransition){
652
+
vartransition=ReactSharedInternals.T;
653
+
if(null!==transition){
654
+
vartransitionTypes=transition.types;
655
+
null===transitionTypes
656
+
? (transition.types=[type])
657
+
: -1===transitionTypes.indexOf(type)&&
658
+
transitionTypes.push(type);
659
+
}else
660
+
0===ReactSharedInternals.asyncTransitions&&
661
+
console.error(
662
+
"addTransitionType can only be called inside a `startTransition()` callback. It must be associated with a specific Transition."
"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
0 commit comments