[Fizz][Static] when aborting a prerender halt unfinished boundaries instead of erroring (#30732)

When we introduced prerendering for flight we modeled an abort of a
flight prerender as having unfinished rows. This is similar to how
postpone was already implemented when you postponed from "within" a
prerender using React.unstable_postpone. However when aborting with a
postponed instance every boundary would be eagerly marked for client
rendering which is more akin to prerendering and then resuming with an
aborted signal.

The insight with the flight work was that it's not so much the postpone
that describes the intended semantics but the abort combined with a
prerender. So like in flight when you abort a prerender and enableHalt
is enabled boundaries and the shell won't error for any reason. Fizz
will still call onPostpone and onError according to the abort reason but
the consuemr of the prerender should expect to resume it before trying
to use it.

DiffTrain build for [85180b8cf8](https://github.com/facebook/react/commit/85180b8cf84274795986c8f2c8473f8816db8b7b)
This commit is contained in:
gnoff
2024-08-20 13:42:54 -07:00
parent 7420875c72
commit d094ee1eec
36 changed files with 98 additions and 92 deletions
+1 -1
View File
@@ -1 +1 @@
2505bf9b3400c6a00381e86d30b495935f5339df
85180b8cf84274795986c8f2c8473f8816db8b7b
+1 -1
View File
@@ -1 +1 @@
2505bf9b3400c6a00381e86d30b495935f5339df
85180b8cf84274795986c8f2c8473f8816db8b7b
+1 -1
View File
@@ -2001,7 +2001,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1981,7 +1981,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
"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-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
+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-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
"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-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -16776,11 +16776,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-2505bf9b-20240820",
version: "19.0.0-www-classic-85180b8c-20240820",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16814,7 +16814,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -16189,11 +16189,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-2505bf9b-20240820",
version: "19.0.0-www-modern-85180b8c-20240820",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16227,7 +16227,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10618,13 +10618,13 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1361 = {
bundleType: 0,
version: "19.0.0-www-classic-2505bf9b-20240820",
version: "19.0.0-www-classic-85180b8c-20240820",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function () {
return null;
},
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1362 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10650,4 +10650,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
@@ -10132,13 +10132,13 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1353 = {
bundleType: 0,
version: "19.0.0-www-modern-2505bf9b-20240820",
version: "19.0.0-www-modern-85180b8c-20240820",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: function () {
return null;
},
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1354 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10164,4 +10164,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
@@ -27528,11 +27528,11 @@ __DEV__ &&
: flushSyncErrorInBuildsThatSupportLegacyMode;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-classic-2505bf9b-20240820" !== isomorphicReactPackageVersion)
if ("19.0.0-www-classic-85180b8c-20240820" !== 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-2505bf9b-20240820\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-classic-85180b8c-20240820\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27576,11 +27576,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-2505bf9b-20240820",
version: "19.0.0-www-classic-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28233,7 +28233,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -26613,11 +26613,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-modern-2505bf9b-20240820" !== isomorphicReactPackageVersion)
if ("19.0.0-www-modern-85180b8c-20240820" !== 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-2505bf9b-20240820\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-modern-85180b8c-20240820\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26660,11 +26660,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-2505bf9b-20240820",
version: "19.0.0-www-modern-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27269,7 +27269,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -17170,14 +17170,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1753 = React.version;
if (
"19.0.0-www-classic-2505bf9b-20240820" !==
"19.0.0-www-classic-85180b8c-20240820" !==
isomorphicReactPackageVersion$jscomp$inline_1753
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1753,
"19.0.0-www-classic-2505bf9b-20240820"
"19.0.0-www-classic-85180b8c-20240820"
)
);
function flushSyncFromReconciler(fn) {
@@ -17222,11 +17222,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2208 = {
bundleType: 0,
version: "19.0.0-www-classic-2505bf9b-20240820",
version: "19.0.0-www-classic-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2209 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17682,4 +17682,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
@@ -16544,14 +16544,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1724 = React.version;
if (
"19.0.0-www-modern-2505bf9b-20240820" !==
"19.0.0-www-modern-85180b8c-20240820" !==
isomorphicReactPackageVersion$jscomp$inline_1724
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1724,
"19.0.0-www-modern-2505bf9b-20240820"
"19.0.0-www-modern-85180b8c-20240820"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -16569,11 +16569,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2199 = {
bundleType: 0,
version: "19.0.0-www-modern-2505bf9b-20240820",
version: "19.0.0-www-modern-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2200 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16936,4 +16936,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
@@ -17949,14 +17949,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1841 = React.version;
if (
"19.0.0-www-classic-2505bf9b-20240820" !==
"19.0.0-www-classic-85180b8c-20240820" !==
isomorphicReactPackageVersion$jscomp$inline_1841
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1841,
"19.0.0-www-classic-2505bf9b-20240820"
"19.0.0-www-classic-85180b8c-20240820"
)
);
function flushSyncFromReconciler(fn) {
@@ -18001,11 +18001,11 @@ Internals.Events = [
];
var internals$jscomp$inline_1848 = {
bundleType: 0,
version: "19.0.0-www-classic-2505bf9b-20240820",
version: "19.0.0-www-classic-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1848.getLaneLabelMap = getLaneLabelMap),
@@ -18464,7 +18464,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -17306,14 +17306,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1812 = React.version;
if (
"19.0.0-www-modern-2505bf9b-20240820" !==
"19.0.0-www-modern-85180b8c-20240820" !==
isomorphicReactPackageVersion$jscomp$inline_1812
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1812,
"19.0.0-www-modern-2505bf9b-20240820"
"19.0.0-www-modern-85180b8c-20240820"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17331,11 +17331,11 @@ Internals.Events = [
];
var internals$jscomp$inline_1814 = {
bundleType: 0,
version: "19.0.0-www-modern-2505bf9b-20240820",
version: "19.0.0-www-modern-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1814.getLaneLabelMap = getLaneLabelMap),
@@ -17701,7 +17701,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -6429,8 +6429,9 @@ __DEV__ &&
}
} else
boundary.pendingTasks--,
(task = getThrownInfo(task.componentStack)),
boundary.status !== CLIENT_RENDERED &&
((task = getThrownInfo(task.componentStack)),
((boundary.status = CLIENT_RENDERED),
(segment = logRecoverableError(request, error, task)),
(boundary.status = CLIENT_RENDERED),
encodeErrorForBoundary(boundary, segment, error, task, !0),
@@ -8945,5 +8946,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-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
})();
@@ -6253,8 +6253,9 @@ __DEV__ &&
}
} else
boundary.pendingTasks--,
(task = getThrownInfo(task.componentStack)),
boundary.status !== CLIENT_RENDERED &&
((task = getThrownInfo(task.componentStack)),
((boundary.status = CLIENT_RENDERED),
(segment = logRecoverableError(request, error, task)),
(boundary.status = CLIENT_RENDERED),
encodeErrorForBoundary(boundary, segment, error, task, !0),
@@ -8765,5 +8766,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-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
})();
@@ -5003,8 +5003,9 @@ function abortTask(task, request, error) {
}
} else
boundary.pendingTasks--,
(task = getThrownInfo(task.componentStack)),
4 !== boundary.status &&
((task = getThrownInfo(task.componentStack)),
((boundary.status = 4),
(task = logRecoverableError(request, error, task)),
(boundary.status = 4),
(boundary.errorDigest = task),
@@ -5878,4 +5879,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-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
@@ -4917,8 +4917,9 @@ function abortTask(task, request, error) {
}
} else
boundary.pendingTasks--,
(task = getThrownInfo(task.componentStack)),
4 !== boundary.status &&
((task = getThrownInfo(task.componentStack)),
((boundary.status = 4),
(task = logRecoverableError(request, error, task)),
(boundary.status = 4),
(boundary.errorDigest = task),
@@ -5792,4 +5793,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-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
@@ -6014,8 +6014,9 @@ __DEV__ &&
}
} else
boundary.pendingTasks--,
(task = getThrownInfo(task.componentStack)),
4 !== boundary.status &&
((task = getThrownInfo(task.componentStack)),
((boundary.status = 4),
(segment = logRecoverableError(request, error, task)),
(boundary.status = 4),
encodeErrorForBoundary(boundary, segment, error, task, !0),
@@ -4797,8 +4797,9 @@ function abortTask(task, request, error) {
}
} else
boundary.pendingTasks--,
(task = getThrownInfo(task.componentStack)),
4 !== boundary.status &&
((task = getThrownInfo(task.componentStack)),
((boundary.status = 4),
(task = logRecoverableError(request, error, task)),
(boundary.status = 4),
(boundary.errorDigest = task),
@@ -27862,11 +27862,11 @@ __DEV__ &&
: flushSyncErrorInBuildsThatSupportLegacyMode;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-classic-2505bf9b-20240820" !== isomorphicReactPackageVersion)
if ("19.0.0-www-classic-85180b8c-20240820" !== 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-2505bf9b-20240820\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-classic-85180b8c-20240820\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27910,11 +27910,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-2505bf9b-20240820",
version: "19.0.0-www-classic-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28733,5 +28733,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
})();
@@ -26947,11 +26947,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-www-modern-2505bf9b-20240820" !== isomorphicReactPackageVersion)
if ("19.0.0-www-modern-85180b8c-20240820" !== 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-2505bf9b-20240820\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-www-modern-85180b8c-20240820\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26994,11 +26994,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-2505bf9b-20240820",
version: "19.0.0-www-modern-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27769,5 +27769,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
})();
@@ -17499,14 +17499,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1783 = React.version;
if (
"19.0.0-www-classic-2505bf9b-20240820" !==
"19.0.0-www-classic-85180b8c-20240820" !==
isomorphicReactPackageVersion$jscomp$inline_1783
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1783,
"19.0.0-www-classic-2505bf9b-20240820"
"19.0.0-www-classic-85180b8c-20240820"
)
);
function flushSyncFromReconciler(fn) {
@@ -17551,11 +17551,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2243 = {
bundleType: 0,
version: "19.0.0-www-classic-2505bf9b-20240820",
version: "19.0.0-www-classic-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2244 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18162,4 +18162,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
@@ -16873,14 +16873,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1754 = React.version;
if (
"19.0.0-www-modern-2505bf9b-20240820" !==
"19.0.0-www-modern-85180b8c-20240820" !==
isomorphicReactPackageVersion$jscomp$inline_1754
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1754,
"19.0.0-www-modern-2505bf9b-20240820"
"19.0.0-www-modern-85180b8c-20240820"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -16898,11 +16898,11 @@ Internals.Events = [
];
var internals$jscomp$inline_2234 = {
bundleType: 0,
version: "19.0.0-www-modern-2505bf9b-20240820",
version: "19.0.0-www-modern-85180b8c-20240820",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2235 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17416,4 +17416,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
@@ -19009,7 +19009,7 @@ __DEV__ &&
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -18371,7 +18371,7 @@ __DEV__ &&
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -12649,7 +12649,7 @@ module.exports = function ($$$config) {
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -12142,7 +12142,7 @@ module.exports = function ($$$config) {
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14810,11 +14810,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-classic-2505bf9b-20240820",
version: "19.0.0-www-classic-85180b8c-20240820",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-classic-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-classic-85180b8c-20240820"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -14949,5 +14949,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.0.0-www-classic-2505bf9b-20240820";
exports.version = "19.0.0-www-classic-85180b8c-20240820";
})();
@@ -14810,11 +14810,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-www-modern-2505bf9b-20240820",
version: "19.0.0-www-modern-85180b8c-20240820",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-www-modern-2505bf9b-20240820"
reconcilerVersion: "19.0.0-www-modern-85180b8c-20240820"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -14949,5 +14949,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.0.0-www-modern-2505bf9b-20240820";
exports.version = "19.0.0-www-modern-85180b8c-20240820";
})();
+1 -1
View File
@@ -1 +1 @@
19.0.0-www-classic-2505bf9b-20240820
19.0.0-www-classic-85180b8c-20240820
+1 -1
View File
@@ -1 +1 @@
19.0.0-www-modern-2505bf9b-20240820
19.0.0-www-modern-85180b8c-20240820