[Fiber] Fix missing render times when we cancel a pending commit (#31065)

DiffTrain build for [778e1ed2e5](https://github.com/facebook/react/commit/778e1ed2e5ec22d4bac48e14167d3b4a6b28e8b8)
This commit is contained in:
eps1lon
2024-09-25 15:28:49 -07:00
parent 9b61452a2a
commit 5f9db2fb7f
34 changed files with 344 additions and 362 deletions
+1 -1
View File
@@ -1 +1 @@
0f1856c49febe96923e469f98c0b123130ea015c
778e1ed2e5ec22d4bac48e14167d3b4a6b28e8b8
+1 -1
View File
@@ -1 +1 @@
0f1856c49febe96923e469f98c0b123130ea015c
778e1ed2e5ec22d4bac48e14167d3b4a6b28e8b8
+1 -1
View File
@@ -2000,7 +2000,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1980,7 +1980,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
+1 -1
View File
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+57 -65
View File
@@ -12611,20 +12611,38 @@ __DEV__ &&
}
shouldTimeSlice.finishedWork = forceSync;
shouldTimeSlice.finishedLanes = lanes;
if (null !== ReactSharedInternals.actQueue)
commitRoot(
shouldTimeSlice,
workInProgressRootRecoverableErrors,
workInProgressTransitions,
workInProgressRootDidIncludeRecursiveRenderUpdate,
workInProgressDeferredLane,
workInProgressRootInterleavedUpdatedLanes,
workInProgressSuspendedRetryLanes,
IMMEDIATE_COMMIT,
-0,
0
);
else {
if (null !== ReactSharedInternals.actQueue) {
lanes = shouldTimeSlice;
forceSync = workInProgressRootRecoverableErrors;
shouldTimeSlice = workInProgressTransitions;
exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate;
renderWasConcurrent = workInProgressDeferredLane;
lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes;
originallyAttemptedLanes = workInProgressSuspendedRetryLanes;
var suspendedCommitReason = IMMEDIATE_COMMIT,
prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
lanes,
forceSync,
shouldTimeSlice,
exitStatus,
previousUpdateLanePriority,
renderWasConcurrent,
lanesThatJustErrored,
originallyAttemptedLanes,
suspendedCommitReason,
-0,
0
);
} finally {
(ReactSharedInternals.T = prevTransition),
(currentUpdatePriority = previousUpdateLanePriority);
}
} else {
if (
(lanes & 62914560) === lanes &&
(alwaysThrottleRetries || exitStatus === RootSuspended) &&
@@ -12710,18 +12728,28 @@ __DEV__ &&
lanes = finishedWork.subtreeFlags;
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
accumulateSuspenseyCommitOnFiber(finishedWork);
commitRoot(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
finishedWork = ReactSharedInternals.T;
lanes = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
lanes,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
} finally {
(ReactSharedInternals.T = finishedWork),
(currentUpdatePriority = lanes);
}
}
function isRenderConsistentWithExternalStores(finishedWork) {
for (var node = finishedWork; ; ) {
@@ -13448,42 +13476,6 @@ __DEV__ &&
workInProgressRootExitStatus = RootDidNotComplete;
workInProgress = null;
}
function commitRoot(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
) {
var prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
previousUpdateLanePriority,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
} finally {
(ReactSharedInternals.T = prevTransition),
(currentUpdatePriority = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
recoverableErrors,
@@ -17040,11 +17032,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-0f1856c4-20240925",
version: "19.0.0-www-classic-778e1ed2-20240926",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17078,7 +17070,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+57 -65
View File
@@ -12156,20 +12156,38 @@ __DEV__ &&
}
shouldTimeSlice.finishedWork = forceSync;
shouldTimeSlice.finishedLanes = lanes;
if (null !== ReactSharedInternals.actQueue)
commitRoot(
shouldTimeSlice,
workInProgressRootRecoverableErrors,
workInProgressTransitions,
workInProgressRootDidIncludeRecursiveRenderUpdate,
workInProgressDeferredLane,
workInProgressRootInterleavedUpdatedLanes,
workInProgressSuspendedRetryLanes,
IMMEDIATE_COMMIT,
-0,
0
);
else {
if (null !== ReactSharedInternals.actQueue) {
lanes = shouldTimeSlice;
forceSync = workInProgressRootRecoverableErrors;
shouldTimeSlice = workInProgressTransitions;
exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate;
renderWasConcurrent = workInProgressDeferredLane;
lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes;
originallyAttemptedLanes = workInProgressSuspendedRetryLanes;
var suspendedCommitReason = IMMEDIATE_COMMIT,
prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
lanes,
forceSync,
shouldTimeSlice,
exitStatus,
previousUpdateLanePriority,
renderWasConcurrent,
lanesThatJustErrored,
originallyAttemptedLanes,
suspendedCommitReason,
-0,
0
);
} finally {
(ReactSharedInternals.T = prevTransition),
(currentUpdatePriority = previousUpdateLanePriority);
}
} else {
if (
(lanes & 62914560) === lanes &&
(alwaysThrottleRetries || exitStatus === RootSuspended) &&
@@ -12255,18 +12273,28 @@ __DEV__ &&
lanes = finishedWork.subtreeFlags;
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
accumulateSuspenseyCommitOnFiber(finishedWork);
commitRoot(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
finishedWork = ReactSharedInternals.T;
lanes = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
lanes,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
} finally {
(ReactSharedInternals.T = finishedWork),
(currentUpdatePriority = lanes);
}
}
function isRenderConsistentWithExternalStores(finishedWork) {
for (var node = finishedWork; ; ) {
@@ -12989,42 +13017,6 @@ __DEV__ &&
workInProgressRootExitStatus = RootDidNotComplete;
workInProgress = null;
}
function commitRoot(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
) {
var prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
previousUpdateLanePriority,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
} finally {
(ReactSharedInternals.T = prevTransition),
(currentUpdatePriority = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
recoverableErrors,
@@ -16483,11 +16475,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-0f1856c4-20240925",
version: "19.0.0-www-modern-778e1ed2-20240926",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16521,7 +16513,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10850,13 +10850,13 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1474 = {
bundleType: 0,
version: "19.0.0-www-classic-0f1856c4-20240925",
version: "19.0.0-www-classic-778e1ed2-20240926",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function () {
return null;
},
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1475 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10882,4 +10882,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
@@ -10364,13 +10364,13 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1466 = {
bundleType: 0,
version: "19.0.0-www-modern-0f1856c4-20240925",
version: "19.0.0-www-modern-778e1ed2-20240926",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function () {
return null;
},
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1467 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10396,4 +10396,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
@@ -15891,7 +15891,9 @@ __DEV__ &&
spawnedLane,
updatedLanes,
suspendedRetryLanes,
SUSPENDED_COMMIT
SUSPENDED_COMMIT,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(
@@ -16687,7 +16689,6 @@ __DEV__ &&
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -27795,11 +27796,11 @@ __DEV__ &&
: flushSyncErrorInBuildsThatSupportLegacyMode;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-classic-0f1856c4-20240925" !== isomorphicReactPackageVersion)
if ("19.0.0-www-classic-778e1ed2-20240926" !== 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.0.0-www-classic-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-classic-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27843,11 +27844,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-0f1856c4-20240925",
version: "19.0.0-www-classic-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28500,7 +28501,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+8 -7
View File
@@ -15370,7 +15370,9 @@ __DEV__ &&
spawnedLane,
updatedLanes,
suspendedRetryLanes,
SUSPENDED_COMMIT
SUSPENDED_COMMIT,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(
@@ -16148,7 +16150,6 @@ __DEV__ &&
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -26909,11 +26910,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-modern-0f1856c4-20240925" !== isomorphicReactPackageVersion)
if ("19.0.0-www-modern-778e1ed2-20240926" !== 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.0.0-www-modern-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-modern-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26956,11 +26957,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-0f1856c4-20240925",
version: "19.0.0-www-modern-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27565,7 +27566,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11296,7 +11296,9 @@ function commitRootWhenReady(
spawnedLane,
updatedLanes,
suspendedRetryLanes,
1
1,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
@@ -11923,7 +11925,6 @@ function commitRoot(
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -17434,14 +17435,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1781 = React.version;
if (
"19.0.0-www-classic-0f1856c4-20240925" !==
"19.0.0-www-classic-778e1ed2-20240926" !==
isomorphicReactPackageVersion$jscomp$inline_1781
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1781,
"19.0.0-www-classic-0f1856c4-20240925"
"19.0.0-www-classic-778e1ed2-20240926"
)
);
function flushSyncFromReconciler(fn) {
@@ -17486,11 +17487,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2294 = {
bundleType: 0,
version: "19.0.0-www-classic-0f1856c4-20240925",
version: "19.0.0-www-classic-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2295 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17946,4 +17947,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
@@ -10831,7 +10831,9 @@ function commitRootWhenReady(
spawnedLane,
updatedLanes,
suspendedRetryLanes,
1
1,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
@@ -11441,7 +11443,6 @@ function commitRoot(
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -16805,14 +16806,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1752 = React.version;
if (
"19.0.0-www-modern-0f1856c4-20240925" !==
"19.0.0-www-modern-778e1ed2-20240926" !==
isomorphicReactPackageVersion$jscomp$inline_1752
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1752,
"19.0.0-www-modern-0f1856c4-20240925"
"19.0.0-www-modern-778e1ed2-20240926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -16830,11 +16831,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2285 = {
bundleType: 0,
version: "19.0.0-www-modern-0f1856c4-20240925",
version: "19.0.0-www-modern-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2286 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17197,4 +17198,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
@@ -11847,7 +11847,9 @@ function commitRootWhenReady(
spawnedLane,
updatedLanes,
suspendedRetryLanes,
1
1,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
@@ -12564,7 +12566,6 @@ function commitRoot(
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -18156,14 +18157,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1874 = React.version;
if (
"19.0.0-www-classic-0f1856c4-20240925" !==
"19.0.0-www-classic-778e1ed2-20240926" !==
isomorphicReactPackageVersion$jscomp$inline_1874
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1874,
"19.0.0-www-classic-0f1856c4-20240925"
"19.0.0-www-classic-778e1ed2-20240926"
)
);
function flushSyncFromReconciler(fn) {
@@ -18208,11 +18209,11 @@ Internals.Events = [
];
var internals$jscomp$inline_1881 = {
bundleType: 0,
version: "19.0.0-www-classic-0f1856c4-20240925",
version: "19.0.0-www-classic-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1881.getLaneLabelMap = getLaneLabelMap),
@@ -18671,7 +18672,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11365,7 +11365,9 @@ function commitRootWhenReady(
spawnedLane,
updatedLanes,
suspendedRetryLanes,
1
1,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
@@ -12065,7 +12067,6 @@ function commitRoot(
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -17510,14 +17511,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1845 = React.version;
if (
"19.0.0-www-modern-0f1856c4-20240925" !==
"19.0.0-www-modern-778e1ed2-20240926" !==
isomorphicReactPackageVersion$jscomp$inline_1845
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1845,
"19.0.0-www-modern-0f1856c4-20240925"
"19.0.0-www-modern-778e1ed2-20240926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17535,11 +17536,11 @@ Internals.Events = [
];
var internals$jscomp$inline_1847 = {
bundleType: 0,
version: "19.0.0-www-modern-0f1856c4-20240925",
version: "19.0.0-www-modern-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1847.getLaneLabelMap = getLaneLabelMap),
@@ -17905,7 +17906,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -8984,5 +8984,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.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
})();
@@ -8802,5 +8802,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.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
})();
@@ -5911,4 +5911,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.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
@@ -5823,4 +5823,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.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
@@ -16114,7 +16114,9 @@ __DEV__ &&
spawnedLane,
updatedLanes,
suspendedRetryLanes,
SUSPENDED_COMMIT
SUSPENDED_COMMIT,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(
@@ -16910,7 +16912,6 @@ __DEV__ &&
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -28129,11 +28130,11 @@ __DEV__ &&
: flushSyncErrorInBuildsThatSupportLegacyMode;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-classic-0f1856c4-20240925" !== isomorphicReactPackageVersion)
if ("19.0.0-www-classic-778e1ed2-20240926" !== 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.0.0-www-classic-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-classic-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -28177,11 +28178,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-0f1856c4-20240925",
version: "19.0.0-www-classic-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29000,5 +29001,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
})();
@@ -15593,7 +15593,9 @@ __DEV__ &&
spawnedLane,
updatedLanes,
suspendedRetryLanes,
SUSPENDED_COMMIT
SUSPENDED_COMMIT,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(
@@ -16371,7 +16373,6 @@ __DEV__ &&
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -27243,11 +27244,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-modern-0f1856c4-20240925" !== isomorphicReactPackageVersion)
if ("19.0.0-www-modern-778e1ed2-20240926" !== 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.0.0-www-modern-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-modern-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27290,11 +27291,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-0f1856c4-20240925",
version: "19.0.0-www-modern-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28065,5 +28066,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
})();
@@ -11568,7 +11568,9 @@ function commitRootWhenReady(
spawnedLane,
updatedLanes,
suspendedRetryLanes,
1
1,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
@@ -12195,7 +12197,6 @@ function commitRoot(
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -17763,14 +17764,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1811 = React.version;
if (
"19.0.0-www-classic-0f1856c4-20240925" !==
"19.0.0-www-classic-778e1ed2-20240926" !==
isomorphicReactPackageVersion$jscomp$inline_1811
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1811,
"19.0.0-www-classic-0f1856c4-20240925"
"19.0.0-www-classic-778e1ed2-20240926"
)
);
function flushSyncFromReconciler(fn) {
@@ -17815,11 +17816,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2329 = {
bundleType: 0,
version: "19.0.0-www-classic-0f1856c4-20240925",
version: "19.0.0-www-classic-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2330 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18426,4 +18427,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
@@ -11103,7 +11103,9 @@ function commitRootWhenReady(
spawnedLane,
updatedLanes,
suspendedRetryLanes,
1
1,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
@@ -11713,7 +11715,6 @@ function commitRoot(
(ReactSharedInternals.T = prevTransition),
(Internals.p = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -17134,14 +17135,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1782 = React.version;
if (
"19.0.0-www-modern-0f1856c4-20240925" !==
"19.0.0-www-modern-778e1ed2-20240926" !==
isomorphicReactPackageVersion$jscomp$inline_1782
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1782,
"19.0.0-www-modern-0f1856c4-20240925"
"19.0.0-www-modern-778e1ed2-20240926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17159,11 +17160,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2320 = {
bundleType: 0,
version: "19.0.0-www-modern-0f1856c4-20240925",
version: "19.0.0-www-modern-778e1ed2-20240926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2321 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17677,4 +17678,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
@@ -14264,7 +14264,9 @@ __DEV__ &&
spawnedLane,
updatedLanes,
suspendedRetryLanes,
SUSPENDED_COMMIT
SUSPENDED_COMMIT,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(
@@ -15052,7 +15054,6 @@ __DEV__ &&
(ReactSharedInternals.T = prevTransition),
setCurrentUpdatePriority(previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -19242,7 +19243,7 @@ __DEV__ &&
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13776,7 +13776,9 @@ __DEV__ &&
spawnedLane,
updatedLanes,
suspendedRetryLanes,
SUSPENDED_COMMIT
SUSPENDED_COMMIT,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(
@@ -14560,7 +14562,6 @@ __DEV__ &&
(ReactSharedInternals.T = prevTransition),
setCurrentUpdatePriority(previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -18633,7 +18634,7 @@ __DEV__ &&
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -10222,7 +10222,9 @@ module.exports = function ($$$config) {
spawnedLane,
updatedLanes,
suspendedRetryLanes,
1
1,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
@@ -10854,7 +10856,6 @@ module.exports = function ($$$config) {
(ReactSharedInternals.T = prevTransition),
setCurrentUpdatePriority(previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -12883,7 +12884,7 @@ module.exports = function ($$$config) {
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -9777,7 +9777,9 @@ module.exports = function ($$$config) {
spawnedLane,
updatedLanes,
suspendedRetryLanes,
1
1,
completedRenderStartTime,
completedRenderEndTime
)
);
markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);
@@ -10405,7 +10407,6 @@ module.exports = function ($$$config) {
(ReactSharedInternals.T = prevTransition),
setCurrentUpdatePriority(previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
@@ -12373,7 +12374,7 @@ module.exports = function ($$$config) {
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -10871,20 +10871,38 @@ __DEV__ &&
}
shouldTimeSlice.finishedWork = forceSync;
shouldTimeSlice.finishedLanes = lanes;
if (null !== ReactSharedInternals.actQueue)
commitRoot(
shouldTimeSlice,
workInProgressRootRecoverableErrors,
workInProgressTransitions,
workInProgressRootDidIncludeRecursiveRenderUpdate,
workInProgressDeferredLane,
workInProgressRootInterleavedUpdatedLanes,
workInProgressSuspendedRetryLanes,
IMMEDIATE_COMMIT,
-0,
0
);
else {
if (null !== ReactSharedInternals.actQueue) {
lanes = shouldTimeSlice;
forceSync = workInProgressRootRecoverableErrors;
shouldTimeSlice = workInProgressTransitions;
exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate;
renderWasConcurrent = workInProgressDeferredLane;
lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes;
originallyAttemptedLanes = workInProgressSuspendedRetryLanes;
var suspendedCommitReason = IMMEDIATE_COMMIT,
prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
lanes,
forceSync,
shouldTimeSlice,
exitStatus,
previousUpdateLanePriority,
renderWasConcurrent,
lanesThatJustErrored,
originallyAttemptedLanes,
suspendedCommitReason,
-0,
0
);
} finally {
(ReactSharedInternals.T = prevTransition),
(currentUpdatePriority = previousUpdateLanePriority);
}
} else {
if (
(lanes & 62914560) === lanes &&
((exitStatus =
@@ -10968,18 +10986,28 @@ __DEV__ &&
lanes = finishedWork.subtreeFlags;
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
accumulateSuspenseyCommitOnFiber(finishedWork);
commitRoot(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
finishedWork = ReactSharedInternals.T;
lanes = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
lanes,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
} finally {
(ReactSharedInternals.T = finishedWork),
(currentUpdatePriority = lanes);
}
}
function isRenderConsistentWithExternalStores(finishedWork) {
for (var node = finishedWork; ; ) {
@@ -11590,42 +11618,6 @@ __DEV__ &&
workInProgressRootExitStatus = RootDidNotComplete;
workInProgress = null;
}
function commitRoot(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
) {
var prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
previousUpdateLanePriority,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
} finally {
(ReactSharedInternals.T = prevTransition),
(currentUpdatePriority = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
recoverableErrors,
@@ -14936,11 +14928,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-0f1856c4-20240925",
version: "19.0.0-www-classic-778e1ed2-20240926",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-classic-778e1ed2-20240926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15075,5 +15067,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.0.0-www-classic-0f1856c4-20240925";
exports.version = "19.0.0-www-classic-778e1ed2-20240926";
})();
@@ -10871,20 +10871,38 @@ __DEV__ &&
}
shouldTimeSlice.finishedWork = forceSync;
shouldTimeSlice.finishedLanes = lanes;
if (null !== ReactSharedInternals.actQueue)
commitRoot(
shouldTimeSlice,
workInProgressRootRecoverableErrors,
workInProgressTransitions,
workInProgressRootDidIncludeRecursiveRenderUpdate,
workInProgressDeferredLane,
workInProgressRootInterleavedUpdatedLanes,
workInProgressSuspendedRetryLanes,
IMMEDIATE_COMMIT,
-0,
0
);
else {
if (null !== ReactSharedInternals.actQueue) {
lanes = shouldTimeSlice;
forceSync = workInProgressRootRecoverableErrors;
shouldTimeSlice = workInProgressTransitions;
exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate;
renderWasConcurrent = workInProgressDeferredLane;
lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes;
originallyAttemptedLanes = workInProgressSuspendedRetryLanes;
var suspendedCommitReason = IMMEDIATE_COMMIT,
prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
lanes,
forceSync,
shouldTimeSlice,
exitStatus,
previousUpdateLanePriority,
renderWasConcurrent,
lanesThatJustErrored,
originallyAttemptedLanes,
suspendedCommitReason,
-0,
0
);
} finally {
(ReactSharedInternals.T = prevTransition),
(currentUpdatePriority = previousUpdateLanePriority);
}
} else {
if (
(lanes & 62914560) === lanes &&
((exitStatus =
@@ -10968,18 +10986,28 @@ __DEV__ &&
lanes = finishedWork.subtreeFlags;
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
accumulateSuspenseyCommitOnFiber(finishedWork);
commitRoot(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
finishedWork = ReactSharedInternals.T;
lanes = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
lanes,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
} finally {
(ReactSharedInternals.T = finishedWork),
(currentUpdatePriority = lanes);
}
}
function isRenderConsistentWithExternalStores(finishedWork) {
for (var node = finishedWork; ; ) {
@@ -11590,42 +11618,6 @@ __DEV__ &&
workInProgressRootExitStatus = RootDidNotComplete;
workInProgress = null;
}
function commitRoot(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
) {
var prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
(currentUpdatePriority = DiscreteEventPriority),
(ReactSharedInternals.T = null),
commitRootImpl(
root,
recoverableErrors,
transitions,
didIncludeRenderPhaseUpdate,
previousUpdateLanePriority,
spawnedLane,
updatedLanes,
suspendedRetryLanes,
suspendedCommitReason,
completedRenderStartTime,
completedRenderEndTime
);
} finally {
(ReactSharedInternals.T = prevTransition),
(currentUpdatePriority = previousUpdateLanePriority);
}
return null;
}
function commitRootImpl(
root,
recoverableErrors,
@@ -14936,11 +14928,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-0f1856c4-20240925",
version: "19.0.0-www-modern-778e1ed2-20240926",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-0f1856c4-20240925"
reconcilerVersion: "19.0.0-www-modern-778e1ed2-20240926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15075,5 +15067,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.0.0-www-modern-0f1856c4-20240925";
exports.version = "19.0.0-www-modern-778e1ed2-20240926";
})();
+1 -1
View File
@@ -1 +1 @@
19.0.0-www-classic-0f1856c4-20240925
19.0.0-www-classic-778e1ed2-20240926
+1 -1
View File
@@ -1 +1 @@
19.0.0-www-modern-0f1856c4-20240925
19.0.0-www-modern-778e1ed2-20240926