Turn on enableSiblingPrerendering in canary (#31541)

In preparation for the next RC, I set this feature flag to true
everywhere. I did not delete the feature flag yet, in case there are yet
more bugs to be discovered.

I also didn't remove the dynamic feature flag from the Meta builds; I'll
let the Meta folks handle that.

DiffTrain build for [988e217670](https://github.com/facebook/react/commit/988e2176702fca9b25113d9a8a3e7e3f484e16f2)
This commit is contained in:
acdlite
2024-11-14 08:55:26 -08:00
parent 8b8e93d2c9
commit e7777dc2cd
34 changed files with 500 additions and 370 deletions
+1 -1
View File
@@ -1 +1 @@
b836de613d66ff36574af95cb93ad15fd743d1f4
7aa5dda3b3e4c2baa905a59b922ae7ec14734b24
+1 -1
View File
@@ -1 +1 @@
b836de613d66ff36574af95cb93ad15fd743d1f4
7aa5dda3b3e4c2baa905a59b922ae7ec14734b24
+1 -1
View File
@@ -1819,7 +1819,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1819,7 +1819,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -619,4 +619,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
+1 -1
View File
@@ -619,4 +619,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
@@ -623,7 +623,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -623,7 +623,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -16717,11 +16717,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-b836de61-20241111",
version: "19.0.0-www-classic-988e2176-20241114",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16755,7 +16755,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -16480,11 +16480,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-b836de61-20241111",
version: "19.0.0-www-modern-988e2176-20241114",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16518,7 +16518,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10634,13 +10634,13 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1471 = {
bundleType: 0,
version: "19.0.0-www-classic-b836de61-20241111",
version: "19.0.0-www-classic-988e2176-20241114",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function () {
return null;
},
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1472 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10666,4 +10666,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
@@ -10350,13 +10350,13 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1450 = {
bundleType: 0,
version: "19.0.0-www-modern-b836de61-20241111",
version: "19.0.0-www-modern-988e2176-20241114",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function () {
return null;
},
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1451 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10382,4 +10382,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
@@ -27137,11 +27137,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-classic-b836de61-20241111" !== isomorphicReactPackageVersion)
if ("19.0.0-www-classic-988e2176-20241114" !== 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-b836de61-20241111\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-classic-988e2176-20241114\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27184,11 +27184,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-b836de61-20241111",
version: "19.0.0-www-classic-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27793,7 +27793,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -26916,11 +26916,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-modern-b836de61-20241111" !== isomorphicReactPackageVersion)
if ("19.0.0-www-modern-988e2176-20241114" !== 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-b836de61-20241111\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-modern-988e2176-20241114\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26963,11 +26963,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-b836de61-20241111",
version: "19.0.0-www-modern-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27572,7 +27572,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -17061,14 +17061,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1741 = React.version;
if (
"19.0.0-www-classic-b836de61-20241111" !==
"19.0.0-www-classic-988e2176-20241114" !==
isomorphicReactPackageVersion$jscomp$inline_1741
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1741,
"19.0.0-www-classic-b836de61-20241111"
"19.0.0-www-classic-988e2176-20241114"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17086,11 +17086,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2285 = {
bundleType: 0,
version: "19.0.0-www-classic-b836de61-20241111",
version: "19.0.0-www-classic-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2286 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17453,4 +17453,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
@@ -16792,14 +16792,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1731 = React.version;
if (
"19.0.0-www-modern-b836de61-20241111" !==
"19.0.0-www-modern-988e2176-20241114" !==
isomorphicReactPackageVersion$jscomp$inline_1731
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1731,
"19.0.0-www-modern-b836de61-20241111"
"19.0.0-www-modern-988e2176-20241114"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -16817,11 +16817,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2267 = {
bundleType: 0,
version: "19.0.0-www-modern-b836de61-20241111",
version: "19.0.0-www-modern-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2268 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17184,4 +17184,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
@@ -17751,14 +17751,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1834 = React.version;
if (
"19.0.0-www-classic-b836de61-20241111" !==
"19.0.0-www-classic-988e2176-20241114" !==
isomorphicReactPackageVersion$jscomp$inline_1834
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1834,
"19.0.0-www-classic-b836de61-20241111"
"19.0.0-www-classic-988e2176-20241114"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17776,11 +17776,11 @@ Internals.Events = [
];
var internals$jscomp$inline_1836 = {
bundleType: 0,
version: "19.0.0-www-classic-b836de61-20241111",
version: "19.0.0-www-classic-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1836.getLaneLabelMap = getLaneLabelMap),
@@ -18146,7 +18146,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -17481,14 +17481,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1824 = React.version;
if (
"19.0.0-www-modern-b836de61-20241111" !==
"19.0.0-www-modern-988e2176-20241114" !==
isomorphicReactPackageVersion$jscomp$inline_1824
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1824,
"19.0.0-www-modern-b836de61-20241111"
"19.0.0-www-modern-988e2176-20241114"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17506,11 +17506,11 @@ Internals.Events = [
];
var internals$jscomp$inline_1826 = {
bundleType: 0,
version: "19.0.0-www-modern-b836de61-20241111",
version: "19.0.0-www-modern-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1826.getLaneLabelMap = getLaneLabelMap),
@@ -17876,7 +17876,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -8991,5 +8991,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-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
})();
@@ -8809,5 +8809,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-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
})();
@@ -5910,4 +5910,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-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
@@ -5822,4 +5822,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-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
@@ -27471,11 +27471,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-classic-b836de61-20241111" !== isomorphicReactPackageVersion)
if ("19.0.0-www-classic-988e2176-20241114" !== 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-b836de61-20241111\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-classic-988e2176-20241114\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27518,11 +27518,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-b836de61-20241111",
version: "19.0.0-www-classic-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28293,5 +28293,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
})();
@@ -27250,11 +27250,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-modern-b836de61-20241111" !== isomorphicReactPackageVersion)
if ("19.0.0-www-modern-988e2176-20241114" !== 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-b836de61-20241111\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-modern-988e2176-20241114\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27297,11 +27297,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-b836de61-20241111",
version: "19.0.0-www-modern-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28072,5 +28072,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
})();
@@ -17390,14 +17390,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1770 = React.version;
if (
"19.0.0-www-classic-b836de61-20241111" !==
"19.0.0-www-classic-988e2176-20241114" !==
isomorphicReactPackageVersion$jscomp$inline_1770
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1770,
"19.0.0-www-classic-b836de61-20241111"
"19.0.0-www-classic-988e2176-20241114"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17415,11 +17415,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2319 = {
bundleType: 0,
version: "19.0.0-www-classic-b836de61-20241111",
version: "19.0.0-www-classic-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2320 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17933,4 +17933,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
@@ -17121,14 +17121,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1760 = React.version;
if (
"19.0.0-www-modern-b836de61-20241111" !==
"19.0.0-www-modern-988e2176-20241114" !==
isomorphicReactPackageVersion$jscomp$inline_1760
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1760,
"19.0.0-www-modern-b836de61-20241111"
"19.0.0-www-modern-988e2176-20241114"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17146,11 +17146,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2301 = {
bundleType: 0,
version: "19.0.0-www-modern-b836de61-20241111",
version: "19.0.0-www-modern-988e2176-20241114",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2302 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17664,4 +17664,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
@@ -18867,7 +18867,7 @@ __DEV__ &&
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -18641,7 +18641,7 @@ __DEV__ &&
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -12643,7 +12643,7 @@ module.exports = function ($$$config) {
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -12362,7 +12362,7 @@ module.exports = function ($$$config) {
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13,7 +13,7 @@
"use strict";
__DEV__ &&
(function () {
function JSCompiler_object_inline_createNodeMock_1103() {
function JSCompiler_object_inline_createNodeMock_1107() {
return null;
}
function findHook(fiber, id) {
@@ -804,28 +804,40 @@ __DEV__ &&
var pendingLanes = root.pendingLanes;
if (0 === pendingLanes) return 0;
var nextLanes = 0,
suspendedLanes = root.suspendedLanes;
root = root.pingedLanes;
suspendedLanes = root.suspendedLanes,
pingedLanes = root.pingedLanes,
warmLanes = root.warmLanes;
root = 0 !== root.finishedLanes;
var nonIdlePendingLanes = pendingLanes & 134217727;
0 !== nonIdlePendingLanes
? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
0 !== pendingLanes
? (nextLanes = getHighestPriorityLanes(pendingLanes))
: ((root &= nonIdlePendingLanes),
0 !== root && (nextLanes = getHighestPriorityLanes(root))))
: ((pendingLanes &= ~suspendedLanes),
0 !== pendingLanes
? (nextLanes = getHighestPriorityLanes(pendingLanes))
: 0 !== root && (nextLanes = getHighestPriorityLanes(root)));
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: root ||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
0 !== warmLanes &&
(nextLanes = getHighestPriorityLanes(warmLanes)))))
: ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
0 !== nonIdlePendingLanes
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: root ||
((warmLanes = pendingLanes & ~warmLanes),
0 !== warmLanes &&
(nextLanes = getHighestPriorityLanes(warmLanes))));
return 0 === nextLanes
? 0
: 0 !== wipLanes &&
wipLanes !== nextLanes &&
0 === (wipLanes & suspendedLanes) &&
((suspendedLanes = nextLanes & -nextLanes),
(root = wipLanes & -wipLanes),
suspendedLanes >= root ||
(32 === suspendedLanes && 0 !== (root & 4194176)))
(warmLanes = wipLanes & -wipLanes),
suspendedLanes >= warmLanes ||
(32 === suspendedLanes && 0 !== (warmLanes & 4194176)))
? wipLanes
: nextLanes;
}
@@ -910,7 +922,9 @@ __DEV__ &&
root,
finishedLanes,
remainingLanes,
spawnedLane
spawnedLane,
updatedLanes,
suspendedRetryLanes
) {
var previouslyPendingLanes = root.pendingLanes;
root.pendingLanes = remainingLanes;
@@ -921,17 +935,17 @@ __DEV__ &&
root.entangledLanes &= remainingLanes;
root.errorRecoveryDisabledLanes &= remainingLanes;
root.shellSuspendCounter = 0;
finishedLanes = root.entanglements;
var expirationTimes = root.expirationTimes,
var entanglements = root.entanglements,
expirationTimes = root.expirationTimes,
hiddenUpdates = root.hiddenUpdates;
for (
remainingLanes = previouslyPendingLanes & ~remainingLanes;
0 < remainingLanes;
) {
var index = 31 - clz32(remainingLanes);
previouslyPendingLanes = 1 << index;
finishedLanes[index] = 0;
var index = 31 - clz32(remainingLanes),
lane = 1 << index;
entanglements[index] = 0;
expirationTimes[index] = -1;
var hiddenUpdatesForLane = hiddenUpdates[index];
if (null !== hiddenUpdatesForLane)
@@ -943,9 +957,14 @@ __DEV__ &&
var update = hiddenUpdatesForLane[index];
null !== update && (update.lane &= -536870913);
}
remainingLanes &= ~previouslyPendingLanes;
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
0 !== root.tag &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
}
function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
root.pendingLanes |= spawnedLane;
@@ -1942,43 +1961,45 @@ __DEV__ &&
(root.callbackNode = null),
(root.callbackPriority = 0)
);
if (0 !== (suspendedLanes & 3))
return (
null !== pingedLanes && cancelCallback(pingedLanes),
(root.callbackPriority = 2),
(root.callbackNode = null),
2
);
currentTime = suspendedLanes & -suspendedLanes;
if (
currentTime !== root.callbackPriority ||
(null !== ReactSharedInternals.actQueue &&
pingedLanes !== fakeActCallbackNode$1)
)
cancelCallback(pingedLanes);
else return currentTime;
switch (lanesToEventPriority(suspendedLanes)) {
case DiscreteEventPriority:
case ContinuousEventPriority:
suspendedLanes = UserBlockingPriority;
break;
case DefaultEventPriority:
suspendedLanes = NormalPriority$1;
break;
case IdleEventPriority:
suspendedLanes = IdlePriority;
break;
default:
suspendedLanes = NormalPriority$1;
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
) {
currentTime = suspendedLanes & -suspendedLanes;
if (
currentTime !== root.callbackPriority ||
(null !== ReactSharedInternals.actQueue &&
pingedLanes !== fakeActCallbackNode$1)
)
cancelCallback(pingedLanes);
else return currentTime;
switch (lanesToEventPriority(suspendedLanes)) {
case DiscreteEventPriority:
case ContinuousEventPriority:
suspendedLanes = UserBlockingPriority;
break;
case DefaultEventPriority:
suspendedLanes = NormalPriority$1;
break;
case IdleEventPriority:
suspendedLanes = IdlePriority;
break;
default:
suspendedLanes = NormalPriority$1;
}
pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
null !== ReactSharedInternals.actQueue
? (ReactSharedInternals.actQueue.push(pingedLanes),
(suspendedLanes = fakeActCallbackNode$1))
: (suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes));
root.callbackPriority = currentTime;
root.callbackNode = suspendedLanes;
return currentTime;
}
pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
null !== ReactSharedInternals.actQueue
? (ReactSharedInternals.actQueue.push(pingedLanes),
(suspendedLanes = fakeActCallbackNode$1))
: (suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes));
root.callbackPriority = currentTime;
root.callbackNode = suspendedLanes;
return currentTime;
null !== pingedLanes && cancelCallback(pingedLanes);
root.callbackPriority = 2;
root.callbackNode = null;
return 2;
}
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
nestedUpdateScheduled = currentUpdateIsNested = !1;
@@ -8038,7 +8059,8 @@ __DEV__ &&
workInProgress.flags & 16384 &&
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue));
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
switch (renderState.tailMode) {
@@ -10733,7 +10755,8 @@ __DEV__ &&
markRootSuspended(
root,
workInProgressRootRenderLanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!1
);
markRootUpdated$1(root, lane);
if (
@@ -10774,25 +10797,36 @@ __DEV__ &&
markRootSuspended(
root,
workInProgressRootRenderLanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!1
)),
ensureRootIsScheduled(root);
}
function performWorkOnRoot(root, lanes, forceSync) {
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
throw Error("Should not already be working.");
var exitStatus = (forceSync =
var shouldTimeSlice =
(!forceSync &&
0 === (lanes & 60) &&
0 === (lanes & root.expiredLanes)) ||
!1)
checkIfRootIsPrerendering(root, lanes),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root, lanes)
: renderRootSync(root, lanes, !0),
renderWasConcurrent = forceSync;
renderWasConcurrent = shouldTimeSlice;
do {
if (exitStatus === RootInProgress) break;
else if (exitStatus === RootDidNotComplete)
markRootSuspended(root, lanes, 0);
if (exitStatus === RootInProgress) {
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root, lanes, 0, !1);
break;
} else if (exitStatus === RootDidNotComplete)
markRootSuspended(
root,
lanes,
0,
!workInProgressRootDidSkipSuspendedSiblings
);
else {
forceSync = root.current.alternate;
if (
@@ -10846,11 +10880,11 @@ __DEV__ &&
}
if (exitStatus === RootFatalErrored) {
prepareFreshStack(root, 0);
markRootSuspended(root, lanes, 0);
markRootSuspended(root, lanes, 0, !0);
break;
}
a: {
renderWasConcurrent = root;
shouldTimeSlice = root;
switch (exitStatus) {
case RootInProgress:
case RootFatalErrored:
@@ -10858,9 +10892,10 @@ __DEV__ &&
case RootSuspendedWithDelay:
if ((lanes & 4194176) === lanes) {
markRootSuspended(
renderWasConcurrent,
shouldTimeSlice,
lanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!workInProgressRootDidSkipSuspendedSiblings
);
break a;
}
@@ -10874,19 +10909,17 @@ __DEV__ &&
default:
throw Error("Unknown root exit status.");
}
renderWasConcurrent.finishedWork = forceSync;
renderWasConcurrent.finishedLanes = lanes;
shouldTimeSlice.finishedWork = forceSync;
shouldTimeSlice.finishedLanes = lanes;
if (null !== ReactSharedInternals.actQueue) {
lanes = renderWasConcurrent;
lanes = shouldTimeSlice;
forceSync = workInProgressRootRecoverableErrors;
exitStatus = workInProgressTransitions;
renderWasConcurrent =
workInProgressRootDidIncludeRecursiveRenderUpdate;
lanesThatJustErrored = workInProgressDeferredLane;
originallyAttemptedLanes =
workInProgressRootInterleavedUpdatedLanes;
var suspendedRetryLanes = workInProgressSuspendedRetryLanes,
suspendedCommitReason = IMMEDIATE_COMMIT,
shouldTimeSlice = workInProgressTransitions;
exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate;
renderWasConcurrent = workInProgressDeferredLane;
lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes;
originallyAttemptedLanes = workInProgressSuspendedRetryLanes;
var suspendedCommitReason = IMMEDIATE_COMMIT,
prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
@@ -10895,12 +10928,12 @@ __DEV__ &&
commitRootImpl(
lanes,
forceSync,
shouldTimeSlice,
exitStatus,
renderWasConcurrent,
previousUpdateLanePriority,
renderWasConcurrent,
lanesThatJustErrored,
originallyAttemptedLanes,
suspendedRetryLanes,
suspendedCommitReason,
-0,
0
@@ -10919,15 +10952,16 @@ __DEV__ &&
10 < exitStatus)
) {
markRootSuspended(
renderWasConcurrent,
shouldTimeSlice,
lanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!workInProgressRootDidSkipSuspendedSiblings
);
if (0 !== getNextLanes(renderWasConcurrent, 0)) break a;
renderWasConcurrent.timeoutHandle = scheduleTimeout(
if (0 !== getNextLanes(shouldTimeSlice, 0)) break a;
shouldTimeSlice.timeoutHandle = scheduleTimeout(
commitRootWhenReady.bind(
null,
renderWasConcurrent,
shouldTimeSlice,
forceSync,
workInProgressRootRecoverableErrors,
workInProgressTransitions,
@@ -10946,7 +10980,7 @@ __DEV__ &&
break a;
}
commitRootWhenReady(
renderWasConcurrent,
shouldTimeSlice,
forceSync,
workInProgressRootRecoverableErrors,
workInProgressTransitions,
@@ -11050,19 +11084,22 @@ __DEV__ &&
}
return !0;
}
function markRootSuspended(root, suspendedLanes, spawnedLane) {
function markRootSuspended(
root,
suspendedLanes,
spawnedLane,
didAttemptEntireTree
) {
suspendedLanes &= ~workInProgressRootPingedLanes;
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
for (
var expirationTimes = root.expirationTimes, lanes = suspendedLanes;
0 < lanes;
) {
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index = 31 - clz32(lanes),
lane = 1 << index;
expirationTimes[index] = -1;
didAttemptEntireTree[index] = -1;
lanes &= ~lane;
}
0 !== spawnedLane &&
@@ -11126,7 +11163,7 @@ __DEV__ &&
workInProgressSuspendedReason = NotSuspended;
workInProgressThrownValue = null;
workInProgressRootDidSkipSuspendedSiblings = !1;
checkIfRootIsPrerendering(root, lanes);
workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);
workInProgressRootDidAttachPingListener = !1;
workInProgressRootExitStatus = RootInProgress;
workInProgressSuspendedRetryLanes =
@@ -11162,24 +11199,10 @@ __DEV__ &&
ReactSharedInternals.getCurrentStack = null;
isRendering = !1;
current = null;
if (thrownValue === SuspenseException) {
thrownValue = getSuspendedThenable();
var handler = suspenseHandlerStackCursor.current;
workInProgressSuspendedReason =
(null !== handler &&
((workInProgressRootRenderLanes & 4194176) ===
workInProgressRootRenderLanes
? null !== shellBoundary
: ((workInProgressRootRenderLanes & 62914560) !==
workInProgressRootRenderLanes &&
0 === (workInProgressRootRenderLanes & 536870912)) ||
handler !== shellBoundary)) ||
0 !== (workInProgressRootSkippedLanes & 134217727) ||
0 !== (workInProgressRootInterleavedUpdatedLanes & 134217727)
? SuspendedOnImmediate
: SuspendedOnData;
} else
thrownValue === SuspenseyCommitException
thrownValue === SuspenseException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnImmediate))
: thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnInstance))
: (workInProgressSuspendedReason =
@@ -11191,15 +11214,15 @@ __DEV__ &&
? SuspendedOnDeprecatedThrowPromise
: SuspendedOnError);
workInProgressThrownValue = thrownValue;
handler = workInProgress;
null === handler
var erroredWork = workInProgress;
null === erroredWork
? ((workInProgressRootExitStatus = RootFatalErrored),
logUncaughtError(
root,
createCapturedValueAtFiber(thrownValue, root.current)
))
: handler.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(handler);
: erroredWork.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(erroredWork);
}
function pushDispatcher() {
var prevDispatcher = ReactSharedInternals.H;
@@ -11213,16 +11236,22 @@ __DEV__ &&
}
function renderDidSuspendDelayIfPossible() {
workInProgressRootExitStatus = RootSuspendedWithDelay;
workInProgressRootDidSkipSuspendedSiblings ||
((workInProgressRootRenderLanes & 4194176) !==
workInProgressRootRenderLanes &&
null !== suspenseHandlerStackCursor.current) ||
(workInProgressRootIsPrerendering = !0);
(0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) ||
null === workInProgressRoot ||
markRootSuspended(
workInProgressRoot,
workInProgressRootRenderLanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!1
);
}
function renderRootSync(root, lanes) {
function renderRootSync(root, lanes, shouldYieldForPrerendering) {
var prevExecutionContext = executionContext;
executionContext |= RenderContext;
var prevDispatcher = pushDispatcher(),
@@ -11255,6 +11284,13 @@ __DEV__ &&
workInProgressSuspendedReason = NotSuspended;
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
exitStatus = RootInProgress;
break a;
}
break;
default:
(reason = workInProgressSuspendedReason),
@@ -11293,7 +11329,10 @@ __DEV__ &&
? ((workInProgressTransitions = null),
(workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS),
prepareFreshStack(root, lanes))
: checkIfRootIsPrerendering(root, lanes);
: (workInProgressRootIsPrerendering = checkIfRootIsPrerendering(
root,
lanes
));
a: do
try {
if (
@@ -11518,7 +11557,12 @@ __DEV__ &&
stopProfilerTimerIfRunningAndRecordDuration(unitOfWork);
return current;
}
function throwAndUnwindWorkLoop(root, unitOfWork, thrownValue) {
function throwAndUnwindWorkLoop(
root,
unitOfWork,
thrownValue,
suspendedReason
) {
resetContextDependencies();
resetHooksOnUnwind(unitOfWork);
thenableState$1 = null;
@@ -11553,9 +11597,25 @@ __DEV__ &&
workInProgress = null;
return;
}
unitOfWork.flags & 32768
? unwindUnitOfWork(unitOfWork, !0)
: completeUnitOfWork(unitOfWork);
if (unitOfWork.flags & 32768) {
if (suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
function completeUnitOfWork(unitOfWork) {
var completedWork = unitOfWork;
@@ -11631,7 +11691,9 @@ __DEV__ &&
transitions,
didIncludeRenderPhaseUpdate,
renderPriorityLevel,
spawnedLane
spawnedLane,
updatedLanes,
suspendedRetryLanes
) {
do flushPassiveEffects();
while (null !== rootWithPendingPassiveEffects);
@@ -11661,7 +11723,9 @@ __DEV__ &&
root,
didIncludeRenderPhaseUpdate,
remainingLanes,
spawnedLane
spawnedLane,
updatedLanes,
suspendedRetryLanes
);
root === workInProgressRoot &&
((workInProgress = workInProgressRoot = null),
@@ -11678,22 +11742,22 @@ __DEV__ &&
}));
commitStartTime = now();
transitions = 0 !== (finishedWork.flags & 15990);
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
transitions = ReactSharedInternals.T;
ReactSharedInternals.T = null;
spawnedLane = currentUpdatePriority;
currentUpdatePriority = DiscreteEventPriority;
var prevExecutionContext = executionContext;
executionContext |= CommitContext;
commitBeforeMutationEffects(root, finishedWork);
commitMutationEffectsOnFiber(finishedWork, root);
root.current = finishedWork;
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
requestPaint();
executionContext = prevExecutionContext;
currentUpdatePriority = spawnedLane;
ReactSharedInternals.T = transitions;
} else root.current = finishedWork;
0 !== (finishedWork.subtreeFlags & 15990) || transitions
? ((transitions = ReactSharedInternals.T),
(ReactSharedInternals.T = null),
(spawnedLane = currentUpdatePriority),
(currentUpdatePriority = DiscreteEventPriority),
(updatedLanes = executionContext),
(executionContext |= CommitContext),
commitBeforeMutationEffects(root, finishedWork),
commitMutationEffectsOnFiber(finishedWork, root),
(root.current = finishedWork),
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
requestPaint(),
(executionContext = updatedLanes),
(currentUpdatePriority = spawnedLane),
(ReactSharedInternals.T = transitions))
: (root.current = finishedWork);
(transitions = rootDoesHavePassiveEffects)
? ((rootDoesHavePassiveEffects = !1),
(rootWithPendingPassiveEffects = root),
@@ -14684,6 +14748,7 @@ __DEV__ &&
workInProgressSuspendedReason = NotSuspended,
workInProgressThrownValue = null,
workInProgressRootDidSkipSuspendedSiblings = !1,
workInProgressRootIsPrerendering = !1,
workInProgressRootDidAttachPingListener = !1,
entangledRenderLanes = 0,
workInProgressRootExitStatus = RootInProgress,
@@ -14934,11 +14999,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-b836de61-20241111",
version: "19.0.0-www-classic-988e2176-20241114",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-b836de61-20241111"
reconcilerVersion: "19.0.0-www-classic-988e2176-20241114"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -14958,7 +15023,7 @@ __DEV__ &&
exports._Scheduler = Scheduler;
exports.act = act;
exports.create = function (element, options) {
var createNodeMock = JSCompiler_object_inline_createNodeMock_1103,
var createNodeMock = JSCompiler_object_inline_createNodeMock_1107,
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
isConcurrent = isConcurrentOnly,
isStrictMode = !1;
@@ -15073,5 +15138,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.0.0-www-classic-b836de61-20241111";
exports.version = "19.0.0-www-classic-988e2176-20241114";
})();
@@ -13,7 +13,7 @@
"use strict";
__DEV__ &&
(function () {
function JSCompiler_object_inline_createNodeMock_1103() {
function JSCompiler_object_inline_createNodeMock_1107() {
return null;
}
function findHook(fiber, id) {
@@ -804,28 +804,40 @@ __DEV__ &&
var pendingLanes = root.pendingLanes;
if (0 === pendingLanes) return 0;
var nextLanes = 0,
suspendedLanes = root.suspendedLanes;
root = root.pingedLanes;
suspendedLanes = root.suspendedLanes,
pingedLanes = root.pingedLanes,
warmLanes = root.warmLanes;
root = 0 !== root.finishedLanes;
var nonIdlePendingLanes = pendingLanes & 134217727;
0 !== nonIdlePendingLanes
? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),
0 !== pendingLanes
? (nextLanes = getHighestPriorityLanes(pendingLanes))
: ((root &= nonIdlePendingLanes),
0 !== root && (nextLanes = getHighestPriorityLanes(root))))
: ((pendingLanes &= ~suspendedLanes),
0 !== pendingLanes
? (nextLanes = getHighestPriorityLanes(pendingLanes))
: 0 !== root && (nextLanes = getHighestPriorityLanes(root)));
: ((pingedLanes &= nonIdlePendingLanes),
0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: root ||
((warmLanes = nonIdlePendingLanes & ~warmLanes),
0 !== warmLanes &&
(nextLanes = getHighestPriorityLanes(warmLanes)))))
: ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),
0 !== nonIdlePendingLanes
? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))
: 0 !== pingedLanes
? (nextLanes = getHighestPriorityLanes(pingedLanes))
: root ||
((warmLanes = pendingLanes & ~warmLanes),
0 !== warmLanes &&
(nextLanes = getHighestPriorityLanes(warmLanes))));
return 0 === nextLanes
? 0
: 0 !== wipLanes &&
wipLanes !== nextLanes &&
0 === (wipLanes & suspendedLanes) &&
((suspendedLanes = nextLanes & -nextLanes),
(root = wipLanes & -wipLanes),
suspendedLanes >= root ||
(32 === suspendedLanes && 0 !== (root & 4194176)))
(warmLanes = wipLanes & -wipLanes),
suspendedLanes >= warmLanes ||
(32 === suspendedLanes && 0 !== (warmLanes & 4194176)))
? wipLanes
: nextLanes;
}
@@ -910,7 +922,9 @@ __DEV__ &&
root,
finishedLanes,
remainingLanes,
spawnedLane
spawnedLane,
updatedLanes,
suspendedRetryLanes
) {
var previouslyPendingLanes = root.pendingLanes;
root.pendingLanes = remainingLanes;
@@ -921,17 +935,17 @@ __DEV__ &&
root.entangledLanes &= remainingLanes;
root.errorRecoveryDisabledLanes &= remainingLanes;
root.shellSuspendCounter = 0;
finishedLanes = root.entanglements;
var expirationTimes = root.expirationTimes,
var entanglements = root.entanglements,
expirationTimes = root.expirationTimes,
hiddenUpdates = root.hiddenUpdates;
for (
remainingLanes = previouslyPendingLanes & ~remainingLanes;
0 < remainingLanes;
) {
var index = 31 - clz32(remainingLanes);
previouslyPendingLanes = 1 << index;
finishedLanes[index] = 0;
var index = 31 - clz32(remainingLanes),
lane = 1 << index;
entanglements[index] = 0;
expirationTimes[index] = -1;
var hiddenUpdatesForLane = hiddenUpdates[index];
if (null !== hiddenUpdatesForLane)
@@ -943,9 +957,14 @@ __DEV__ &&
var update = hiddenUpdatesForLane[index];
null !== update && (update.lane &= -536870913);
}
remainingLanes &= ~previouslyPendingLanes;
remainingLanes &= ~lane;
}
0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);
0 !== suspendedRetryLanes &&
0 === updatedLanes &&
0 !== root.tag &&
(root.suspendedLanes |=
suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));
}
function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
root.pendingLanes |= spawnedLane;
@@ -1942,43 +1961,45 @@ __DEV__ &&
(root.callbackNode = null),
(root.callbackPriority = 0)
);
if (0 !== (suspendedLanes & 3))
return (
null !== pingedLanes && cancelCallback(pingedLanes),
(root.callbackPriority = 2),
(root.callbackNode = null),
2
);
currentTime = suspendedLanes & -suspendedLanes;
if (
currentTime !== root.callbackPriority ||
(null !== ReactSharedInternals.actQueue &&
pingedLanes !== fakeActCallbackNode$1)
)
cancelCallback(pingedLanes);
else return currentTime;
switch (lanesToEventPriority(suspendedLanes)) {
case DiscreteEventPriority:
case ContinuousEventPriority:
suspendedLanes = UserBlockingPriority;
break;
case DefaultEventPriority:
suspendedLanes = NormalPriority$1;
break;
case IdleEventPriority:
suspendedLanes = IdlePriority;
break;
default:
suspendedLanes = NormalPriority$1;
0 === (suspendedLanes & 3) ||
checkIfRootIsPrerendering(root, suspendedLanes)
) {
currentTime = suspendedLanes & -suspendedLanes;
if (
currentTime !== root.callbackPriority ||
(null !== ReactSharedInternals.actQueue &&
pingedLanes !== fakeActCallbackNode$1)
)
cancelCallback(pingedLanes);
else return currentTime;
switch (lanesToEventPriority(suspendedLanes)) {
case DiscreteEventPriority:
case ContinuousEventPriority:
suspendedLanes = UserBlockingPriority;
break;
case DefaultEventPriority:
suspendedLanes = NormalPriority$1;
break;
case IdleEventPriority:
suspendedLanes = IdlePriority;
break;
default:
suspendedLanes = NormalPriority$1;
}
pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
null !== ReactSharedInternals.actQueue
? (ReactSharedInternals.actQueue.push(pingedLanes),
(suspendedLanes = fakeActCallbackNode$1))
: (suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes));
root.callbackPriority = currentTime;
root.callbackNode = suspendedLanes;
return currentTime;
}
pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);
null !== ReactSharedInternals.actQueue
? (ReactSharedInternals.actQueue.push(pingedLanes),
(suspendedLanes = fakeActCallbackNode$1))
: (suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes));
root.callbackPriority = currentTime;
root.callbackNode = suspendedLanes;
return currentTime;
null !== pingedLanes && cancelCallback(pingedLanes);
root.callbackPriority = 2;
root.callbackNode = null;
return 2;
}
function performWorkOnRootViaSchedulerTask(root, didTimeout) {
nestedUpdateScheduled = currentUpdateIsNested = !1;
@@ -8038,7 +8059,8 @@ __DEV__ &&
workInProgress.flags & 16384 &&
((retryQueue =
22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),
(workInProgress.lanes |= retryQueue));
(workInProgress.lanes |= retryQueue),
(workInProgressSuspendedRetryLanes |= retryQueue));
}
function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
switch (renderState.tailMode) {
@@ -10733,7 +10755,8 @@ __DEV__ &&
markRootSuspended(
root,
workInProgressRootRenderLanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!1
);
markRootUpdated$1(root, lane);
if (
@@ -10774,25 +10797,36 @@ __DEV__ &&
markRootSuspended(
root,
workInProgressRootRenderLanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!1
)),
ensureRootIsScheduled(root);
}
function performWorkOnRoot(root, lanes, forceSync) {
if ((executionContext & (RenderContext | CommitContext)) !== NoContext)
throw Error("Should not already be working.");
var exitStatus = (forceSync =
var shouldTimeSlice =
(!forceSync &&
0 === (lanes & 60) &&
0 === (lanes & root.expiredLanes)) ||
!1)
checkIfRootIsPrerendering(root, lanes),
exitStatus = shouldTimeSlice
? renderRootConcurrent(root, lanes)
: renderRootSync(root, lanes, !0),
renderWasConcurrent = forceSync;
renderWasConcurrent = shouldTimeSlice;
do {
if (exitStatus === RootInProgress) break;
else if (exitStatus === RootDidNotComplete)
markRootSuspended(root, lanes, 0);
if (exitStatus === RootInProgress) {
workInProgressRootIsPrerendering &&
!shouldTimeSlice &&
markRootSuspended(root, lanes, 0, !1);
break;
} else if (exitStatus === RootDidNotComplete)
markRootSuspended(
root,
lanes,
0,
!workInProgressRootDidSkipSuspendedSiblings
);
else {
forceSync = root.current.alternate;
if (
@@ -10846,11 +10880,11 @@ __DEV__ &&
}
if (exitStatus === RootFatalErrored) {
prepareFreshStack(root, 0);
markRootSuspended(root, lanes, 0);
markRootSuspended(root, lanes, 0, !0);
break;
}
a: {
renderWasConcurrent = root;
shouldTimeSlice = root;
switch (exitStatus) {
case RootInProgress:
case RootFatalErrored:
@@ -10858,9 +10892,10 @@ __DEV__ &&
case RootSuspendedWithDelay:
if ((lanes & 4194176) === lanes) {
markRootSuspended(
renderWasConcurrent,
shouldTimeSlice,
lanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!workInProgressRootDidSkipSuspendedSiblings
);
break a;
}
@@ -10874,19 +10909,17 @@ __DEV__ &&
default:
throw Error("Unknown root exit status.");
}
renderWasConcurrent.finishedWork = forceSync;
renderWasConcurrent.finishedLanes = lanes;
shouldTimeSlice.finishedWork = forceSync;
shouldTimeSlice.finishedLanes = lanes;
if (null !== ReactSharedInternals.actQueue) {
lanes = renderWasConcurrent;
lanes = shouldTimeSlice;
forceSync = workInProgressRootRecoverableErrors;
exitStatus = workInProgressTransitions;
renderWasConcurrent =
workInProgressRootDidIncludeRecursiveRenderUpdate;
lanesThatJustErrored = workInProgressDeferredLane;
originallyAttemptedLanes =
workInProgressRootInterleavedUpdatedLanes;
var suspendedRetryLanes = workInProgressSuspendedRetryLanes,
suspendedCommitReason = IMMEDIATE_COMMIT,
shouldTimeSlice = workInProgressTransitions;
exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate;
renderWasConcurrent = workInProgressDeferredLane;
lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes;
originallyAttemptedLanes = workInProgressSuspendedRetryLanes;
var suspendedCommitReason = IMMEDIATE_COMMIT,
prevTransition = ReactSharedInternals.T,
previousUpdateLanePriority = currentUpdatePriority;
try {
@@ -10895,12 +10928,12 @@ __DEV__ &&
commitRootImpl(
lanes,
forceSync,
shouldTimeSlice,
exitStatus,
renderWasConcurrent,
previousUpdateLanePriority,
renderWasConcurrent,
lanesThatJustErrored,
originallyAttemptedLanes,
suspendedRetryLanes,
suspendedCommitReason,
-0,
0
@@ -10919,15 +10952,16 @@ __DEV__ &&
10 < exitStatus)
) {
markRootSuspended(
renderWasConcurrent,
shouldTimeSlice,
lanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!workInProgressRootDidSkipSuspendedSiblings
);
if (0 !== getNextLanes(renderWasConcurrent, 0)) break a;
renderWasConcurrent.timeoutHandle = scheduleTimeout(
if (0 !== getNextLanes(shouldTimeSlice, 0)) break a;
shouldTimeSlice.timeoutHandle = scheduleTimeout(
commitRootWhenReady.bind(
null,
renderWasConcurrent,
shouldTimeSlice,
forceSync,
workInProgressRootRecoverableErrors,
workInProgressTransitions,
@@ -10946,7 +10980,7 @@ __DEV__ &&
break a;
}
commitRootWhenReady(
renderWasConcurrent,
shouldTimeSlice,
forceSync,
workInProgressRootRecoverableErrors,
workInProgressTransitions,
@@ -11050,19 +11084,22 @@ __DEV__ &&
}
return !0;
}
function markRootSuspended(root, suspendedLanes, spawnedLane) {
function markRootSuspended(
root,
suspendedLanes,
spawnedLane,
didAttemptEntireTree
) {
suspendedLanes &= ~workInProgressRootPingedLanes;
suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;
root.suspendedLanes |= suspendedLanes;
root.pingedLanes &= ~suspendedLanes;
for (
var expirationTimes = root.expirationTimes, lanes = suspendedLanes;
0 < lanes;
) {
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index = 31 - clz32(lanes),
lane = 1 << index;
expirationTimes[index] = -1;
didAttemptEntireTree[index] = -1;
lanes &= ~lane;
}
0 !== spawnedLane &&
@@ -11126,7 +11163,7 @@ __DEV__ &&
workInProgressSuspendedReason = NotSuspended;
workInProgressThrownValue = null;
workInProgressRootDidSkipSuspendedSiblings = !1;
checkIfRootIsPrerendering(root, lanes);
workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);
workInProgressRootDidAttachPingListener = !1;
workInProgressRootExitStatus = RootInProgress;
workInProgressSuspendedRetryLanes =
@@ -11162,24 +11199,10 @@ __DEV__ &&
ReactSharedInternals.getCurrentStack = null;
isRendering = !1;
current = null;
if (thrownValue === SuspenseException) {
thrownValue = getSuspendedThenable();
var handler = suspenseHandlerStackCursor.current;
workInProgressSuspendedReason =
(null !== handler &&
((workInProgressRootRenderLanes & 4194176) ===
workInProgressRootRenderLanes
? null !== shellBoundary
: ((workInProgressRootRenderLanes & 62914560) !==
workInProgressRootRenderLanes &&
0 === (workInProgressRootRenderLanes & 536870912)) ||
handler !== shellBoundary)) ||
0 !== (workInProgressRootSkippedLanes & 134217727) ||
0 !== (workInProgressRootInterleavedUpdatedLanes & 134217727)
? SuspendedOnImmediate
: SuspendedOnData;
} else
thrownValue === SuspenseyCommitException
thrownValue === SuspenseException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnImmediate))
: thrownValue === SuspenseyCommitException
? ((thrownValue = getSuspendedThenable()),
(workInProgressSuspendedReason = SuspendedOnInstance))
: (workInProgressSuspendedReason =
@@ -11191,15 +11214,15 @@ __DEV__ &&
? SuspendedOnDeprecatedThrowPromise
: SuspendedOnError);
workInProgressThrownValue = thrownValue;
handler = workInProgress;
null === handler
var erroredWork = workInProgress;
null === erroredWork
? ((workInProgressRootExitStatus = RootFatalErrored),
logUncaughtError(
root,
createCapturedValueAtFiber(thrownValue, root.current)
))
: handler.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(handler);
: erroredWork.mode & 2 &&
stopProfilerTimerIfRunningAndRecordDuration(erroredWork);
}
function pushDispatcher() {
var prevDispatcher = ReactSharedInternals.H;
@@ -11213,16 +11236,22 @@ __DEV__ &&
}
function renderDidSuspendDelayIfPossible() {
workInProgressRootExitStatus = RootSuspendedWithDelay;
workInProgressRootDidSkipSuspendedSiblings ||
((workInProgressRootRenderLanes & 4194176) !==
workInProgressRootRenderLanes &&
null !== suspenseHandlerStackCursor.current) ||
(workInProgressRootIsPrerendering = !0);
(0 === (workInProgressRootSkippedLanes & 134217727) &&
0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) ||
null === workInProgressRoot ||
markRootSuspended(
workInProgressRoot,
workInProgressRootRenderLanes,
workInProgressDeferredLane
workInProgressDeferredLane,
!1
);
}
function renderRootSync(root, lanes) {
function renderRootSync(root, lanes, shouldYieldForPrerendering) {
var prevExecutionContext = executionContext;
executionContext |= RenderContext;
var prevDispatcher = pushDispatcher(),
@@ -11255,6 +11284,13 @@ __DEV__ &&
workInProgressSuspendedReason = NotSuspended;
workInProgressThrownValue = null;
throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);
if (
shouldYieldForPrerendering &&
workInProgressRootIsPrerendering
) {
exitStatus = RootInProgress;
break a;
}
break;
default:
(reason = workInProgressSuspendedReason),
@@ -11293,7 +11329,10 @@ __DEV__ &&
? ((workInProgressTransitions = null),
(workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS),
prepareFreshStack(root, lanes))
: checkIfRootIsPrerendering(root, lanes);
: (workInProgressRootIsPrerendering = checkIfRootIsPrerendering(
root,
lanes
));
a: do
try {
if (
@@ -11518,7 +11557,12 @@ __DEV__ &&
stopProfilerTimerIfRunningAndRecordDuration(unitOfWork);
return current;
}
function throwAndUnwindWorkLoop(root, unitOfWork, thrownValue) {
function throwAndUnwindWorkLoop(
root,
unitOfWork,
thrownValue,
suspendedReason
) {
resetContextDependencies();
resetHooksOnUnwind(unitOfWork);
thenableState$1 = null;
@@ -11553,9 +11597,25 @@ __DEV__ &&
workInProgress = null;
return;
}
unitOfWork.flags & 32768
? unwindUnitOfWork(unitOfWork, !0)
: completeUnitOfWork(unitOfWork);
if (unitOfWork.flags & 32768) {
if (suspendedReason === SuspendedOnError) root = !0;
else if (
workInProgressRootIsPrerendering ||
0 !== (workInProgressRootRenderLanes & 536870912)
)
root = !1;
else if (
((workInProgressRootDidSkipSuspendedSiblings = root = !0),
suspendedReason === SuspendedOnData ||
suspendedReason === SuspendedOnImmediate ||
suspendedReason === SuspendedOnDeprecatedThrowPromise)
)
(suspendedReason = suspenseHandlerStackCursor.current),
null !== suspendedReason &&
13 === suspendedReason.tag &&
(suspendedReason.flags |= 16384);
unwindUnitOfWork(unitOfWork, root);
} else completeUnitOfWork(unitOfWork);
}
function completeUnitOfWork(unitOfWork) {
var completedWork = unitOfWork;
@@ -11631,7 +11691,9 @@ __DEV__ &&
transitions,
didIncludeRenderPhaseUpdate,
renderPriorityLevel,
spawnedLane
spawnedLane,
updatedLanes,
suspendedRetryLanes
) {
do flushPassiveEffects();
while (null !== rootWithPendingPassiveEffects);
@@ -11661,7 +11723,9 @@ __DEV__ &&
root,
didIncludeRenderPhaseUpdate,
remainingLanes,
spawnedLane
spawnedLane,
updatedLanes,
suspendedRetryLanes
);
root === workInProgressRoot &&
((workInProgress = workInProgressRoot = null),
@@ -11678,22 +11742,22 @@ __DEV__ &&
}));
commitStartTime = now();
transitions = 0 !== (finishedWork.flags & 15990);
if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) {
transitions = ReactSharedInternals.T;
ReactSharedInternals.T = null;
spawnedLane = currentUpdatePriority;
currentUpdatePriority = DiscreteEventPriority;
var prevExecutionContext = executionContext;
executionContext |= CommitContext;
commitBeforeMutationEffects(root, finishedWork);
commitMutationEffectsOnFiber(finishedWork, root);
root.current = finishedWork;
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
requestPaint();
executionContext = prevExecutionContext;
currentUpdatePriority = spawnedLane;
ReactSharedInternals.T = transitions;
} else root.current = finishedWork;
0 !== (finishedWork.subtreeFlags & 15990) || transitions
? ((transitions = ReactSharedInternals.T),
(ReactSharedInternals.T = null),
(spawnedLane = currentUpdatePriority),
(currentUpdatePriority = DiscreteEventPriority),
(updatedLanes = executionContext),
(executionContext |= CommitContext),
commitBeforeMutationEffects(root, finishedWork),
commitMutationEffectsOnFiber(finishedWork, root),
(root.current = finishedWork),
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
requestPaint(),
(executionContext = updatedLanes),
(currentUpdatePriority = spawnedLane),
(ReactSharedInternals.T = transitions))
: (root.current = finishedWork);
(transitions = rootDoesHavePassiveEffects)
? ((rootDoesHavePassiveEffects = !1),
(rootWithPendingPassiveEffects = root),
@@ -14684,6 +14748,7 @@ __DEV__ &&
workInProgressSuspendedReason = NotSuspended,
workInProgressThrownValue = null,
workInProgressRootDidSkipSuspendedSiblings = !1,
workInProgressRootIsPrerendering = !1,
workInProgressRootDidAttachPingListener = !1,
entangledRenderLanes = 0,
workInProgressRootExitStatus = RootInProgress,
@@ -14934,11 +14999,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-b836de61-20241111",
version: "19.0.0-www-modern-988e2176-20241114",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-b836de61-20241111"
reconcilerVersion: "19.0.0-www-modern-988e2176-20241114"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -14958,7 +15023,7 @@ __DEV__ &&
exports._Scheduler = Scheduler;
exports.act = act;
exports.create = function (element, options) {
var createNodeMock = JSCompiler_object_inline_createNodeMock_1103,
var createNodeMock = JSCompiler_object_inline_createNodeMock_1107,
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
isConcurrent = isConcurrentOnly,
isStrictMode = !1;
@@ -15073,5 +15138,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.0.0-www-modern-b836de61-20241111";
exports.version = "19.0.0-www-modern-988e2176-20241114";
})();
+1 -1
View File
@@ -1 +1 @@
19.0.0-www-classic-b836de61-20241111
19.0.0-www-classic-988e2176-20241114
+1 -1
View File
@@ -1 +1 @@
19.0.0-www-modern-b836de61-20241111
19.0.0-www-modern-988e2176-20241114