[Fiber] Stash the entangled async action lane on currentEventTransitionLane (#33188)

When we're entangled with an async action lane we use that lane instead
of the currentEventTransitionLane. Conversely, if we start a new async
action lane we reuse the currentEventTransitionLane.

So they're basically supposed to be in sync but they're not if you
resolve the async action and then schedule new stuff in the same event.
Then you end up with two transitions in the same event with different
lanes.

By stashing it like this we fix that but it also gives us an opportunity
to check just the currentEventTransitionLane to see if this event
scheduled any regular Transition updates or Async Transitions.

DiffTrain build for [0cac32d60d](https://github.com/facebook/react/commit/0cac32d60dd4482b27fe8a54dffbabceb22c6272)
This commit is contained in:
sebmarkbage
2025-05-13 12:27:12 -07:00
parent b418aef372
commit d76abdf425
34 changed files with 294 additions and 264 deletions
+1 -1
View File
@@ -1 +1 @@
3820740a7fbfc3b27a5127b43bdad44382ff3ce0
0cac32d60dd4482b27fe8a54dffbabceb22c6272
+1 -1
View File
@@ -1 +1 @@
3820740a7fbfc3b27a5127b43bdad44382ff3ce0
0cac32d60dd4482b27fe8a54dffbabceb22c6272
+1 -1
View File
@@ -1537,7 +1537,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1537,7 +1537,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
+1 -1
View File
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+10 -8
View File
@@ -2818,7 +2818,6 @@ __DEV__ &&
didScheduleMicrotask_act =
didScheduleMicrotask =
!1;
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2837,6 +2836,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(0, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -2971,8 +2971,11 @@ __DEV__ &&
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -13911,8 +13914,7 @@ __DEV__ &&
return null !== transition
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane())
requestTransitionLane())
: currentUpdatePriority || DefaultEventPriority;
}
function requestDeferredLane() {
@@ -19065,10 +19067,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-3820740a-20250509",
version: "19.2.0-www-classic-0cac32d6-20250513",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19102,7 +19104,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+10 -8
View File
@@ -2724,7 +2724,6 @@ __DEV__ &&
didScheduleMicrotask_act =
didScheduleMicrotask =
!1;
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2743,6 +2742,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(0, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -2877,8 +2877,11 @@ __DEV__ &&
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -13729,8 +13732,7 @@ __DEV__ &&
return null !== transition
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane())
requestTransitionLane())
: currentUpdatePriority || DefaultEventPriority;
}
function requestDeferredLane() {
@@ -18837,10 +18839,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-3820740a-20250509",
version: "19.2.0-www-modern-0cac32d6-20250513",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18874,7 +18876,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+14 -13
View File
@@ -1480,7 +1480,6 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
}
function processRootScheduleInImmediateTask() {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
for (
var currentTime = now(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -1498,6 +1497,7 @@ function processRootScheduleInImmediateTask() {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(0, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -1605,8 +1605,11 @@ function performSyncWorkOnRoot(root, lanes) {
performWorkOnRoot(root, lanes, !0);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
var currentEntangledListeners = null,
@@ -9663,13 +9666,11 @@ var legacyErrorBoundariesThatAlreadyFailed = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return currentUpdatePriority || 32;
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: currentUpdatePriority || 32;
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -11393,10 +11394,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1619 = {
bundleType: 0,
version: "19.2.0-www-classic-3820740a-20250509",
version: "19.2.0-www-classic-0cac32d6-20250513",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1620 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11422,4 +11423,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
+14 -13
View File
@@ -1334,7 +1334,6 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
}
function processRootScheduleInImmediateTask() {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
for (
var currentTime = now(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -1352,6 +1351,7 @@ function processRootScheduleInImmediateTask() {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(0, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -1459,8 +1459,11 @@ function performSyncWorkOnRoot(root, lanes) {
performWorkOnRoot(root, lanes, !0);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
var currentEntangledListeners = null,
@@ -9414,13 +9417,11 @@ var legacyErrorBoundariesThatAlreadyFailed = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return currentUpdatePriority || 32;
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: currentUpdatePriority || 32;
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -11105,10 +11106,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1592 = {
bundleType: 0,
version: "19.2.0-www-modern-3820740a-20250509",
version: "19.2.0-www-modern-0cac32d6-20250513",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1593 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11134,4 +11135,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
+14 -12
View File
@@ -4786,9 +4786,8 @@ __DEV__ &&
!1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -4809,6 +4808,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -4951,8 +4951,11 @@ __DEV__ &&
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -17801,8 +17804,7 @@ __DEV__ &&
return null !== transition
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane())
requestTransitionLane())
: resolveUpdatePriority();
}
function requestDeferredLane() {
@@ -31364,11 +31366,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-3820740a-20250509" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-0cac32d6-20250513" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-0cac32d6-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31411,10 +31413,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-3820740a-20250509",
version: "19.2.0-www-classic-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32014,7 +32016,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+14 -12
View File
@@ -4673,9 +4673,8 @@ __DEV__ &&
!1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -4696,6 +4695,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -4838,8 +4838,11 @@ __DEV__ &&
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -17600,8 +17603,7 @@ __DEV__ &&
return null !== transition
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane())
requestTransitionLane())
: resolveUpdatePriority();
}
function requestDeferredLane() {
@@ -31150,11 +31152,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-3820740a-20250509" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-0cac32d6-20250513" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-0cac32d6-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31197,10 +31199,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-3820740a-20250509",
version: "19.2.0-www-modern-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31800,7 +31802,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+18 -17
View File
@@ -2394,9 +2394,8 @@ function processRootScheduleInMicrotask() {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2416,6 +2415,7 @@ function processRootScheduleInMicrotask() {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -2530,8 +2530,11 @@ function scheduleImmediateRootScheduleTask() {
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
var currentEntangledListeners = null,
@@ -12262,13 +12265,11 @@ var legacyErrorBoundariesThatAlreadyFailed = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return resolveUpdatePriority();
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: resolveUpdatePriority();
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -19556,14 +19557,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2079 = React.version;
if (
"19.2.0-www-classic-3820740a-20250509" !==
"19.2.0-www-classic-0cac32d6-20250513" !==
isomorphicReactPackageVersion$jscomp$inline_2079
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2079,
"19.2.0-www-classic-3820740a-20250509"
"19.2.0-www-classic-0cac32d6-20250513"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19581,10 +19582,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2692 = {
bundleType: 0,
version: "19.2.0-www-classic-3820740a-20250509",
version: "19.2.0-www-classic-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2693 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19953,4 +19954,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
+18 -17
View File
@@ -2238,9 +2238,8 @@ function processRootScheduleInMicrotask() {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2260,6 +2259,7 @@ function processRootScheduleInMicrotask() {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -2374,8 +2374,11 @@ function scheduleImmediateRootScheduleTask() {
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
var currentEntangledListeners = null,
@@ -12006,13 +12009,11 @@ var legacyErrorBoundariesThatAlreadyFailed = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return resolveUpdatePriority();
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: resolveUpdatePriority();
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -19285,14 +19286,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2069 = React.version;
if (
"19.2.0-www-modern-3820740a-20250509" !==
"19.2.0-www-modern-0cac32d6-20250513" !==
isomorphicReactPackageVersion$jscomp$inline_2069
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2069,
"19.2.0-www-modern-3820740a-20250509"
"19.2.0-www-modern-0cac32d6-20250513"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19310,10 +19311,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2674 = {
bundleType: 0,
version: "19.2.0-www-modern-3820740a-20250509",
version: "19.2.0-www-modern-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2675 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19682,4 +19683,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
@@ -2830,9 +2830,8 @@ function processRootScheduleInMicrotask() {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2852,6 +2851,7 @@ function processRootScheduleInMicrotask() {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -2973,8 +2973,11 @@ function scheduleImmediateRootScheduleTask() {
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
var currentEntangledListeners = null,
@@ -13673,13 +13676,11 @@ var legacyErrorBoundariesThatAlreadyFailed = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return resolveUpdatePriority();
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: resolveUpdatePriority();
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -21534,14 +21535,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2323 = React.version;
if (
"19.2.0-www-classic-3820740a-20250509" !==
"19.2.0-www-classic-0cac32d6-20250513" !==
isomorphicReactPackageVersion$jscomp$inline_2323
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2323,
"19.2.0-www-classic-3820740a-20250509"
"19.2.0-www-classic-0cac32d6-20250513"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21559,10 +21560,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2325 = {
bundleType: 0,
version: "19.2.0-www-classic-3820740a-20250509",
version: "19.2.0-www-classic-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2325.getLaneLabelMap = getLaneLabelMap),
@@ -21934,7 +21935,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -2744,9 +2744,8 @@ function processRootScheduleInMicrotask() {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2766,6 +2765,7 @@ function processRootScheduleInMicrotask() {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -2887,8 +2887,11 @@ function scheduleImmediateRootScheduleTask() {
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
var currentEntangledListeners = null,
@@ -13486,13 +13489,11 @@ var legacyErrorBoundariesThatAlreadyFailed = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return resolveUpdatePriority();
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: resolveUpdatePriority();
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -21332,14 +21333,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2313 = React.version;
if (
"19.2.0-www-modern-3820740a-20250509" !==
"19.2.0-www-modern-0cac32d6-20250513" !==
isomorphicReactPackageVersion$jscomp$inline_2313
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2313,
"19.2.0-www-modern-3820740a-20250509"
"19.2.0-www-modern-0cac32d6-20250513"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21357,10 +21358,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2315 = {
bundleType: 0,
version: "19.2.0-www-modern-3820740a-20250509",
version: "19.2.0-www-modern-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2315.getLaneLabelMap = getLaneLabelMap),
@@ -21732,7 +21733,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9533,5 +9533,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
})();
@@ -9462,5 +9462,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
})();
@@ -6285,4 +6285,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
@@ -6197,4 +6197,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
@@ -4827,9 +4827,8 @@ __DEV__ &&
!1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -4850,6 +4849,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -4992,8 +4992,11 @@ __DEV__ &&
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -18024,8 +18027,7 @@ __DEV__ &&
return null !== transition
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane())
requestTransitionLane())
: resolveUpdatePriority();
}
function requestDeferredLane() {
@@ -31685,11 +31687,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-3820740a-20250509" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-0cac32d6-20250513" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-0cac32d6-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31732,10 +31734,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-3820740a-20250509",
version: "19.2.0-www-classic-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32501,5 +32503,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
})();
@@ -4714,9 +4714,8 @@ __DEV__ &&
!1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -4737,6 +4736,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -4879,8 +4879,11 @@ __DEV__ &&
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -17823,8 +17826,7 @@ __DEV__ &&
return null !== transition
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane())
requestTransitionLane())
: resolveUpdatePriority();
}
function requestDeferredLane() {
@@ -31471,11 +31473,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-3820740a-20250509" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-0cac32d6-20250513" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-3820740a-20250509\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-0cac32d6-20250513\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31518,10 +31520,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-3820740a-20250509",
version: "19.2.0-www-modern-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32287,5 +32289,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
})();
@@ -2480,9 +2480,8 @@ function processRootScheduleInMicrotask() {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2502,6 +2501,7 @@ function processRootScheduleInMicrotask() {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -2616,8 +2616,11 @@ function scheduleImmediateRootScheduleTask() {
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
var currentEntangledListeners = null,
@@ -12534,13 +12537,11 @@ var legacyErrorBoundariesThatAlreadyFailed = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return resolveUpdatePriority();
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: resolveUpdatePriority();
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -19872,14 +19873,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2108 = React.version;
if (
"19.2.0-www-classic-3820740a-20250509" !==
"19.2.0-www-classic-0cac32d6-20250513" !==
isomorphicReactPackageVersion$jscomp$inline_2108
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2108,
"19.2.0-www-classic-3820740a-20250509"
"19.2.0-www-classic-0cac32d6-20250513"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19897,10 +19898,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2726 = {
bundleType: 0,
version: "19.2.0-www-classic-3820740a-20250509",
version: "19.2.0-www-classic-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2727 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20420,4 +20421,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
@@ -2324,9 +2324,8 @@ function processRootScheduleInMicrotask() {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2346,6 +2345,7 @@ function processRootScheduleInMicrotask() {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -2460,8 +2460,11 @@ function scheduleImmediateRootScheduleTask() {
});
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
var currentEntangledListeners = null,
@@ -12278,13 +12281,11 @@ var legacyErrorBoundariesThatAlreadyFailed = null,
nestedUpdateCount = 0,
rootWithNestedUpdates = null;
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return resolveUpdatePriority();
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: resolveUpdatePriority();
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -19601,14 +19602,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2098 = React.version;
if (
"19.2.0-www-modern-3820740a-20250509" !==
"19.2.0-www-modern-0cac32d6-20250513" !==
isomorphicReactPackageVersion$jscomp$inline_2098
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2098,
"19.2.0-www-modern-3820740a-20250509"
"19.2.0-www-modern-0cac32d6-20250513"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19626,10 +19627,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2708 = {
bundleType: 0,
version: "19.2.0-www-modern-3820740a-20250509",
version: "19.2.0-www-modern-0cac32d6-20250513",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2709 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20149,4 +20150,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
@@ -3052,9 +3052,8 @@ __DEV__ &&
!1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -3075,6 +3074,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -3222,8 +3222,11 @@ __DEV__ &&
);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -15989,8 +15992,7 @@ __DEV__ &&
return null !== transition
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane())
requestTransitionLane())
: resolveUpdatePriority();
}
function requestDeferredLane() {
@@ -21842,7 +21844,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -2958,9 +2958,8 @@ __DEV__ &&
!1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2981,6 +2980,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -3128,8 +3128,11 @@ __DEV__ &&
);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -15807,8 +15810,7 @@ __DEV__ &&
return null !== transition
? (transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane())
requestTransitionLane())
: resolveUpdatePriority();
}
function requestDeferredLane() {
@@ -21623,7 +21625,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -1429,9 +1429,8 @@ module.exports = function ($$$config) {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -1451,6 +1450,7 @@ module.exports = function ($$$config) {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -1573,8 +1573,11 @@ module.exports = function ($$$config) {
);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -10998,13 +11001,11 @@ module.exports = function ($$$config) {
));
}
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return resolveUpdatePriority();
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: resolveUpdatePriority();
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -14084,7 +14085,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -1288,9 +1288,8 @@ module.exports = function ($$$config) {
mightHavePendingSyncWork = didScheduleMicrotask = !1;
var syncTransitionLanes = 0;
0 !== currentEventTransitionLane &&
(shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane),
(currentEventTransitionLane = 0));
shouldAttemptEagerTransition() &&
(syncTransitionLanes = currentEventTransitionLane);
for (
var currentTime = now(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -1310,6 +1309,7 @@ module.exports = function ($$$config) {
}
(0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
var pendingLanes = root.pendingLanes,
@@ -1432,8 +1432,11 @@ module.exports = function ($$$config) {
);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -10753,13 +10756,11 @@ module.exports = function ($$$config) {
));
}
function requestUpdateLane() {
if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes)
return workInProgressRootRenderLanes & -workInProgressRootRenderLanes;
if (null !== ReactSharedInternals.T) {
var actionScopeLane = currentEntangledLane;
return 0 !== actionScopeLane ? actionScopeLane : requestTransitionLane();
}
return resolveUpdatePriority();
return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes
? workInProgressRootRenderLanes & -workInProgressRootRenderLanes
: null !== ReactSharedInternals.T
? requestTransitionLane()
: resolveUpdatePriority();
}
function requestDeferredLane() {
0 === workInProgressDeferredLane &&
@@ -13801,7 +13802,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -2174,7 +2174,6 @@ __DEV__ &&
didScheduleMicrotask_act =
didScheduleMicrotask =
!1;
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2193,6 +2192,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(0, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
for (
@@ -2323,8 +2323,11 @@ __DEV__ &&
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -11057,8 +11060,7 @@ __DEV__ &&
return (
transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane()
requestTransitionLane()
);
fiber =
0 !== currentUpdatePriority
@@ -15368,10 +15370,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-3820740a-20250509",
version: "19.2.0-www-classic-0cac32d6-20250513",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-3820740a-20250509"
reconcilerVersion: "19.2.0-www-classic-0cac32d6-20250513"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15506,5 +15508,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-3820740a-20250509";
exports.version = "19.2.0-www-classic-0cac32d6-20250513";
})();
@@ -2174,7 +2174,6 @@ __DEV__ &&
didScheduleMicrotask_act =
didScheduleMicrotask =
!1;
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
for (
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
null !== root;
@@ -2193,6 +2192,7 @@ __DEV__ &&
(pendingEffectsStatus !== NO_PENDING_EFFECTS &&
pendingEffectsStatus !== PENDING_PASSIVE_PHASE) ||
flushSyncWorkAcrossRoots_impl(0, !1);
currentEventTransitionLane = 0;
}
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
for (
@@ -2323,8 +2323,11 @@ __DEV__ &&
scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask);
}
function requestTransitionLane() {
0 === currentEventTransitionLane &&
(currentEventTransitionLane = claimNextTransitionLane());
if (0 === currentEventTransitionLane) {
var actionScopeLane = currentEntangledLane;
currentEventTransitionLane =
0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane();
}
return currentEventTransitionLane;
}
function entangleAsyncAction(transition, thenable) {
@@ -11057,8 +11060,7 @@ __DEV__ &&
return (
transition._updatedFibers || (transition._updatedFibers = new Set()),
transition._updatedFibers.add(fiber),
(fiber = currentEntangledLane),
0 !== fiber ? fiber : requestTransitionLane()
requestTransitionLane()
);
fiber =
0 !== currentUpdatePriority
@@ -15368,10 +15370,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-3820740a-20250509",
version: "19.2.0-www-modern-0cac32d6-20250513",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-3820740a-20250509"
reconcilerVersion: "19.2.0-www-modern-0cac32d6-20250513"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15506,5 +15508,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-3820740a-20250509";
exports.version = "19.2.0-www-modern-0cac32d6-20250513";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-3820740a-20250509
19.2.0-www-classic-0cac32d6-20250513
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-3820740a-20250509
19.2.0-www-modern-0cac32d6-20250513