fix: React.use inside React.lazy-ed component on SSR (#33941)

DiffTrain build for [cc015840ef](https://github.com/facebook/react/commit/cc015840ef72d48de86778785894c7ca44f4f856)
This commit is contained in:
eps1lon
2025-07-28 01:41:54 -07:00
parent bacebfd0a5
commit 15e2bbf2c7
36 changed files with 228 additions and 122 deletions
+1 -1
View File
@@ -1 +1 @@
19baee813cb08fc5971a3b301814faa6cd530ec8
cc015840ef72d48de86778785894c7ca44f4f856
+1 -1
View File
@@ -1 +1 @@
19baee813cb08fc5971a3b301814faa6cd530ec8
cc015840ef72d48de86778785894c7ca44f4f856
+1 -1
View File
@@ -1434,7 +1434,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1434,7 +1434,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
+1 -1
View File
@@ -610,4 +610,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19305,10 +19305,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-19baee81-20250725",
version: "19.2.0-www-classic-cc015840-20250728",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19342,7 +19342,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -19076,10 +19076,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-19baee81-20250725",
version: "19.2.0-www-modern-cc015840-20250728",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19113,7 +19113,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11305,10 +11305,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1610 = {
bundleType: 0,
version: "19.2.0-www-classic-19baee81-20250725",
version: "19.2.0-www-classic-cc015840-20250728",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1611 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11334,4 +11334,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
@@ -11017,10 +11017,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1583 = {
bundleType: 0,
version: "19.2.0-www-modern-19baee81-20250725",
version: "19.2.0-www-modern-cc015840-20250728",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1584 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11046,4 +11046,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
@@ -31754,11 +31754,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-19baee81-20250725" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-cc015840-20250728" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-cc015840-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31801,10 +31801,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-19baee81-20250725",
version: "19.2.0-www-classic-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32404,7 +32404,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -31539,11 +31539,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-19baee81-20250725" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-cc015840-20250728" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-cc015840-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31586,10 +31586,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-19baee81-20250725",
version: "19.2.0-www-modern-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32189,7 +32189,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19564,14 +19564,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2069 = React.version;
if (
"19.2.0-www-classic-19baee81-20250725" !==
"19.2.0-www-classic-cc015840-20250728" !==
isomorphicReactPackageVersion$jscomp$inline_2069
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2069,
"19.2.0-www-classic-19baee81-20250725"
"19.2.0-www-classic-cc015840-20250728"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19589,10 +19589,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2682 = {
bundleType: 0,
version: "19.2.0-www-classic-19baee81-20250725",
version: "19.2.0-www-classic-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2683 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20004,4 +20004,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
@@ -19293,14 +19293,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2059 = React.version;
if (
"19.2.0-www-modern-19baee81-20250725" !==
"19.2.0-www-modern-cc015840-20250728" !==
isomorphicReactPackageVersion$jscomp$inline_2059
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2059,
"19.2.0-www-modern-19baee81-20250725"
"19.2.0-www-modern-cc015840-20250728"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19318,10 +19318,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2664 = {
bundleType: 0,
version: "19.2.0-www-modern-19baee81-20250725",
version: "19.2.0-www-modern-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2665 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19733,4 +19733,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
@@ -21572,14 +21572,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2315 = React.version;
if (
"19.2.0-www-classic-19baee81-20250725" !==
"19.2.0-www-classic-cc015840-20250728" !==
isomorphicReactPackageVersion$jscomp$inline_2315
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2315,
"19.2.0-www-classic-19baee81-20250725"
"19.2.0-www-classic-cc015840-20250728"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21597,10 +21597,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2317 = {
bundleType: 0,
version: "19.2.0-www-classic-19baee81-20250725",
version: "19.2.0-www-classic-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2317.getLaneLabelMap = getLaneLabelMap),
@@ -22015,7 +22015,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -21366,14 +21366,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2305 = React.version;
if (
"19.2.0-www-modern-19baee81-20250725" !==
"19.2.0-www-modern-cc015840-20250728" !==
isomorphicReactPackageVersion$jscomp$inline_2305
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2305,
"19.2.0-www-modern-19baee81-20250725"
"19.2.0-www-modern-cc015840-20250728"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21391,10 +21391,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2307 = {
bundleType: 0,
version: "19.2.0-www-modern-19baee81-20250725",
version: "19.2.0-www-modern-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2307.getLaneLabelMap = getLaneLabelMap),
@@ -21809,7 +21809,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7010,7 +7010,10 @@ __DEV__ &&
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
childIndex = getThenableStateAfterSuspending();
childIndex =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedReplayTask(
request,
task,
@@ -7029,7 +7032,10 @@ __DEV__ &&
return;
}
if ("Maximum call stack size exceeded" === node.message) {
node = getThenableStateAfterSuspending();
node =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
node = spawnNewSuspendedReplayTask(request, task, node);
request.pingedTasks.push(node);
task.formatContext = previousFormatContext;
@@ -7063,7 +7069,10 @@ __DEV__ &&
) {
if ("function" === typeof node.then) {
segment = node;
node = getThenableStateAfterSuspending();
node =
thrownValue$3 === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedRenderTask(request, task, node).ping;
segment.then(request, request);
task.formatContext = previousFormatContext;
@@ -7077,7 +7086,10 @@ __DEV__ &&
return;
}
if ("Maximum call stack size exceeded" === node.message) {
segment = getThenableStateAfterSuspending();
segment =
thrownValue$3 === SuspenseException
? getThenableStateAfterSuspending()
: null;
segment = spawnNewSuspendedRenderTask(request, task, segment);
request.pingedTasks.push(segment);
task.formatContext = previousFormatContext;
@@ -7541,7 +7553,10 @@ __DEV__ &&
) {
var ping = request.ping;
x.then(ping, ping);
request.thenableState = getThenableStateAfterSuspending();
request.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
} else {
request.replay.pendingTasks--;
request.abortSet.delete(request);
@@ -7627,7 +7642,10 @@ __DEV__ &&
"function" === typeof x$jscomp$0.then
) {
request$jscomp$1.status = PENDING;
errorDigest.thenableState = getThenableStateAfterSuspending();
errorDigest.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
var ping$jscomp$0 = errorDigest.ping;
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
} else {
@@ -10137,5 +10155,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
})();
@@ -6948,7 +6948,10 @@ __DEV__ &&
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
childIndex = getThenableStateAfterSuspending();
childIndex =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedReplayTask(
request,
task,
@@ -6966,7 +6969,10 @@ __DEV__ &&
return;
}
if ("Maximum call stack size exceeded" === node.message) {
node = getThenableStateAfterSuspending();
node =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
node = spawnNewSuspendedReplayTask(request, task, node);
request.pingedTasks.push(node);
task.formatContext = previousFormatContext;
@@ -6999,7 +7005,10 @@ __DEV__ &&
) {
if ("function" === typeof node.then) {
segment = node;
node = getThenableStateAfterSuspending();
node =
thrownValue$3 === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedRenderTask(request, task, node).ping;
segment.then(request, request);
task.formatContext = previousFormatContext;
@@ -7012,7 +7021,10 @@ __DEV__ &&
return;
}
if ("Maximum call stack size exceeded" === node.message) {
segment = getThenableStateAfterSuspending();
segment =
thrownValue$3 === SuspenseException
? getThenableStateAfterSuspending()
: null;
segment = spawnNewSuspendedRenderTask(request, task, segment);
request.pingedTasks.push(segment);
task.formatContext = previousFormatContext;
@@ -7474,7 +7486,10 @@ __DEV__ &&
) {
var ping = request.ping;
x.then(ping, ping);
request.thenableState = getThenableStateAfterSuspending();
request.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
} else {
request.replay.pendingTasks--;
request.abortSet.delete(request);
@@ -7560,7 +7575,10 @@ __DEV__ &&
"function" === typeof x$jscomp$0.then
) {
request$jscomp$1.status = PENDING;
errorDigest.thenableState = getThenableStateAfterSuspending();
errorDigest.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
var ping$jscomp$0 = errorDigest.ping;
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
} else {
@@ -10066,5 +10084,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
})();
@@ -5518,7 +5518,10 @@ function renderNode(request, task, node, childIndex) {
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
childIndex = getThenableStateAfterSuspending();
childIndex =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
node.then(request, request);
task.formatContext = previousFormatContext;
@@ -5532,7 +5535,10 @@ function renderNode(request, task, node, childIndex) {
return;
}
if ("Maximum call stack size exceeded" === node.message) {
node = getThenableStateAfterSuspending();
node =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
node = spawnNewSuspendedReplayTask(request, task, node);
request.pingedTasks.push(node);
task.formatContext = previousFormatContext;
@@ -5565,7 +5571,10 @@ function renderNode(request, task, node, childIndex) {
) {
if ("function" === typeof node.then) {
segment = node;
node = getThenableStateAfterSuspending();
node =
thrownValue$61 === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedRenderTask(request, task, node).ping;
segment.then(request, request);
task.formatContext = previousFormatContext;
@@ -5578,7 +5587,10 @@ function renderNode(request, task, node, childIndex) {
return;
}
if ("Maximum call stack size exceeded" === node.message) {
segment = getThenableStateAfterSuspending();
segment =
thrownValue$61 === SuspenseException
? getThenableStateAfterSuspending()
: null;
segment = spawnNewSuspendedRenderTask(request, task, segment);
request.pingedTasks.push(segment);
task.formatContext = previousFormatContext;
@@ -5976,7 +5988,10 @@ function performWork(request$jscomp$2) {
) {
var ping = task.ping;
x.then(ping, ping);
task.thenableState = getThenableStateAfterSuspending();
task.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
} else {
task.replay.pendingTasks--;
task.abortSet.delete(task);
@@ -6054,7 +6069,10 @@ function performWork(request$jscomp$2) {
"function" === typeof x$jscomp$0.then
) {
request$jscomp$1.status = 0;
task.thenableState = getThenableStateAfterSuspending();
task.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
var ping$jscomp$0 = task.ping;
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
} else {
@@ -6868,4 +6886,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
@@ -5456,7 +5456,10 @@ function renderNode(request, task, node, childIndex) {
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
childIndex = getThenableStateAfterSuspending();
childIndex =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
node.then(request, request);
task.formatContext = previousFormatContext;
@@ -5469,7 +5472,10 @@ function renderNode(request, task, node, childIndex) {
return;
}
if ("Maximum call stack size exceeded" === node.message) {
node = getThenableStateAfterSuspending();
node =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
node = spawnNewSuspendedReplayTask(request, task, node);
request.pingedTasks.push(node);
task.formatContext = previousFormatContext;
@@ -5501,7 +5507,10 @@ function renderNode(request, task, node, childIndex) {
) {
if ("function" === typeof node.then) {
segment = node;
node = getThenableStateAfterSuspending();
node =
thrownValue$61 === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedRenderTask(request, task, node).ping;
segment.then(request, request);
task.formatContext = previousFormatContext;
@@ -5513,7 +5522,10 @@ function renderNode(request, task, node, childIndex) {
return;
}
if ("Maximum call stack size exceeded" === node.message) {
segment = getThenableStateAfterSuspending();
segment =
thrownValue$61 === SuspenseException
? getThenableStateAfterSuspending()
: null;
segment = spawnNewSuspendedRenderTask(request, task, segment);
request.pingedTasks.push(segment);
task.formatContext = previousFormatContext;
@@ -5909,7 +5921,10 @@ function performWork(request$jscomp$2) {
) {
var ping = task.ping;
x.then(ping, ping);
task.thenableState = getThenableStateAfterSuspending();
task.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
} else {
task.replay.pendingTasks--;
task.abortSet.delete(task);
@@ -5987,7 +6002,10 @@ function performWork(request$jscomp$2) {
"function" === typeof x$jscomp$0.then
) {
request$jscomp$1.status = 0;
task.thenableState = getThenableStateAfterSuspending();
task.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
var ping$jscomp$0 = task.ping;
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
} else {
@@ -6801,4 +6819,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
@@ -6755,7 +6755,10 @@ __DEV__ &&
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
childIndex = getThenableStateAfterSuspending();
childIndex =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedReplayTask(
request,
task,
@@ -6773,7 +6776,10 @@ __DEV__ &&
return;
}
if ("Maximum call stack size exceeded" === node.message) {
node = getThenableStateAfterSuspending();
node =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
node = spawnNewSuspendedReplayTask(request, task, node);
request.pingedTasks.push(node);
task.formatContext = previousFormatContext;
@@ -6806,7 +6812,10 @@ __DEV__ &&
) {
if ("function" === typeof node.then) {
segment = node;
node = getThenableStateAfterSuspending();
node =
thrownValue$3 === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedRenderTask(request, task, node).ping;
segment.then(request, request);
task.formatContext = previousFormatContext;
@@ -6819,7 +6828,10 @@ __DEV__ &&
return;
}
if ("Maximum call stack size exceeded" === node.message) {
segment = getThenableStateAfterSuspending();
segment =
thrownValue$3 === SuspenseException
? getThenableStateAfterSuspending()
: null;
segment = spawnNewSuspendedRenderTask(request, task, segment);
request.pingedTasks.push(segment);
task.formatContext = previousFormatContext;
@@ -9476,7 +9488,9 @@ __DEV__ &&
var ping = task$jscomp$0.ping;
x.then(ping, ping);
task$jscomp$0.thenableState =
getThenableStateAfterSuspending();
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
} else {
task$jscomp$0.replay.pendingTasks--;
task$jscomp$0.abortSet.delete(task$jscomp$0);
@@ -9559,7 +9573,9 @@ __DEV__ &&
) {
segment$jscomp$0.status = 0;
task$jscomp$0.thenableState =
getThenableStateAfterSuspending();
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
var ping$jscomp$0 = task$jscomp$0.ping;
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
} else {
@@ -5382,7 +5382,10 @@ function renderNode(request, task, node, childIndex) {
"object" === typeof node && null !== node)
) {
if ("function" === typeof node.then) {
childIndex = getThenableStateAfterSuspending();
childIndex =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
node.then(request, request);
task.formatContext = previousFormatContext;
@@ -5395,7 +5398,10 @@ function renderNode(request, task, node, childIndex) {
return;
}
if ("Maximum call stack size exceeded" === node.message) {
node = getThenableStateAfterSuspending();
node =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
node = spawnNewSuspendedReplayTask(request, task, node);
request.pingedTasks.push(node);
task.formatContext = previousFormatContext;
@@ -5427,7 +5433,10 @@ function renderNode(request, task, node, childIndex) {
) {
if ("function" === typeof node.then) {
segment = node;
node = getThenableStateAfterSuspending();
node =
thrownValue$61 === SuspenseException
? getThenableStateAfterSuspending()
: null;
request = spawnNewSuspendedRenderTask(request, task, node).ping;
segment.then(request, request);
task.formatContext = previousFormatContext;
@@ -5439,7 +5448,10 @@ function renderNode(request, task, node, childIndex) {
return;
}
if ("Maximum call stack size exceeded" === node.message) {
segment = getThenableStateAfterSuspending();
segment =
thrownValue$61 === SuspenseException
? getThenableStateAfterSuspending()
: null;
segment = spawnNewSuspendedRenderTask(request, task, segment);
request.pingedTasks.push(segment);
task.formatContext = previousFormatContext;
@@ -6548,7 +6560,10 @@ exports.renderNextChunk = function (stream) {
) {
var ping = task$jscomp$0.ping;
x.then(ping, ping);
task$jscomp$0.thenableState = getThenableStateAfterSuspending();
task$jscomp$0.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
} else {
task$jscomp$0.replay.pendingTasks--;
task$jscomp$0.abortSet.delete(task$jscomp$0);
@@ -6620,7 +6635,10 @@ exports.renderNextChunk = function (stream) {
"function" === typeof x$jscomp$0.then
) {
segment$jscomp$0.status = 0;
task$jscomp$0.thenableState = getThenableStateAfterSuspending();
task$jscomp$0.thenableState =
thrownValue === SuspenseException
? getThenableStateAfterSuspending()
: null;
var ping$jscomp$0 = task$jscomp$0.ping;
x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
} else {
@@ -32075,11 +32075,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-19baee81-20250725" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-cc015840-20250728" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-cc015840-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32122,10 +32122,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-19baee81-20250725",
version: "19.2.0-www-classic-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32891,5 +32891,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
})();
@@ -31860,11 +31860,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-19baee81-20250725" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-cc015840-20250728" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-19baee81-20250725\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-cc015840-20250728\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31907,10 +31907,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-19baee81-20250725",
version: "19.2.0-www-modern-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32676,5 +32676,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
})();
@@ -19880,14 +19880,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2098 = React.version;
if (
"19.2.0-www-classic-19baee81-20250725" !==
"19.2.0-www-classic-cc015840-20250728" !==
isomorphicReactPackageVersion$jscomp$inline_2098
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2098,
"19.2.0-www-classic-19baee81-20250725"
"19.2.0-www-classic-cc015840-20250728"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19905,10 +19905,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2716 = {
bundleType: 0,
version: "19.2.0-www-classic-19baee81-20250725",
version: "19.2.0-www-classic-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2717 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20471,4 +20471,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
@@ -19609,14 +19609,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2088 = React.version;
if (
"19.2.0-www-modern-19baee81-20250725" !==
"19.2.0-www-modern-cc015840-20250728" !==
isomorphicReactPackageVersion$jscomp$inline_2088
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2088,
"19.2.0-www-modern-19baee81-20250725"
"19.2.0-www-modern-cc015840-20250728"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19634,10 +19634,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2698 = {
bundleType: 0,
version: "19.2.0-www-modern-19baee81-20250725",
version: "19.2.0-www-modern-cc015840-20250728",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2699 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20200,4 +20200,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
@@ -22132,7 +22132,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -21912,7 +21912,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14061,7 +14061,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13778,7 +13778,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15433,10 +15433,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-19baee81-20250725",
version: "19.2.0-www-classic-cc015840-20250728",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-19baee81-20250725"
reconcilerVersion: "19.2.0-www-classic-cc015840-20250728"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15571,5 +15571,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-19baee81-20250725";
exports.version = "19.2.0-www-classic-cc015840-20250728";
})();
@@ -15433,10 +15433,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-19baee81-20250725",
version: "19.2.0-www-modern-cc015840-20250728",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-19baee81-20250725"
reconcilerVersion: "19.2.0-www-modern-cc015840-20250728"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15571,5 +15571,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-19baee81-20250725";
exports.version = "19.2.0-www-modern-cc015840-20250728";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-19baee81-20250725
19.2.0-www-classic-cc015840-20250728
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-19baee81-20250725
19.2.0-www-modern-cc015840-20250728