s/HTML/text for text hydration mismatches (#32763)

DiffTrain build for [3e88e97c11](https://github.com/facebook/react/commit/3e88e97c116c7a1535976f2d4486bbf345476443)
This commit is contained in:
rickhanlonii
2025-03-26 14:45:27 -07:00
parent c06bad4f71
commit 473ee29cdb
34 changed files with 234 additions and 134 deletions
+1 -1
View File
@@ -1 +1 @@
f134b3993a84d53cc99fe66b426ba13548f142ec
3e88e97c116c7a1535976f2d4486bbf345476443
+1 -1
View File
@@ -1 +1 @@
f134b3993a84d53cc99fe66b426ba13548f142ec
3e88e97c116c7a1535976f2d4486bbf345476443
+1 -1
View File
@@ -1511,7 +1511,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1511,7 +1511,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -624,4 +624,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
+1 -1
View File
@@ -624,4 +624,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
@@ -628,7 +628,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -628,7 +628,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -18194,10 +18194,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-f134b399-20250326",
version: "19.1.0-www-classic-3e88e97c-20250326",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18231,7 +18231,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -17966,10 +17966,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-f134b399-20250326",
version: "19.1.0-www-modern-3e88e97c-20250326",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18003,7 +18003,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11146,10 +11146,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1582 = {
bundleType: 0,
version: "19.1.0-www-classic-f134b399-20250326",
version: "19.1.0-www-classic-3e88e97c-20250326",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1583 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11175,4 +11175,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
@@ -10859,10 +10859,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1555 = {
bundleType: 0,
version: "19.1.0-www-modern-f134b399-20250326",
version: "19.1.0-www-modern-3e88e97c-20250326",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1556 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10888,4 +10888,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
+13 -9
View File
@@ -3586,14 +3586,18 @@ __DEV__ &&
fiber.serverTail.push(rejectedCandidate)));
}
function throwOnHydrationMismatch(fiber) {
var diff = "",
var fromText =
1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1,
diff = "",
diffRoot = hydrationDiffRootDEV;
null !== diffRoot &&
((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot)));
queueHydrationError(
createCapturedValueAtFiber(
Error(
"Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
"Hydration failed because the server rendered " +
(fromText ? "text" : "HTML") +
" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
diff
),
fiber
@@ -3692,7 +3696,7 @@ __DEV__ &&
: (didHydrate = !1);
!didHydrate &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber);
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -12088,7 +12092,7 @@ __DEV__ &&
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(_type = renderLanes.ancestorInfo.current),
null != _type &&
@@ -29908,11 +29912,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-f134b399-20250326" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-3e88e97c-20250326" !== 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.1.0-www-classic-f134b399-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29955,10 +29959,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-f134b399-20250326",
version: "19.1.0-www-classic-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30556,7 +30560,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+13 -9
View File
@@ -3478,14 +3478,18 @@ __DEV__ &&
fiber.serverTail.push(rejectedCandidate)));
}
function throwOnHydrationMismatch(fiber) {
var diff = "",
var fromText =
1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1,
diff = "",
diffRoot = hydrationDiffRootDEV;
null !== diffRoot &&
((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot)));
queueHydrationError(
createCapturedValueAtFiber(
Error(
"Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
"Hydration failed because the server rendered " +
(fromText ? "text" : "HTML") +
" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
diff
),
fiber
@@ -3579,7 +3583,7 @@ __DEV__ &&
: (didHydrate = !1);
!didHydrate &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber);
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -11895,7 +11899,7 @@ __DEV__ &&
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(_type = renderLanes.ancestorInfo.current),
null != _type &&
@@ -29694,11 +29698,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-f134b399-20250326" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-3e88e97c-20250326" !== 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.1.0-www-modern-f134b399-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29741,10 +29745,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-f134b399-20250326",
version: "19.1.0-www-modern-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30342,7 +30346,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+18 -8
View File
@@ -1784,7 +1784,15 @@ var hydrationParentFiber = null,
rootOrSingletonContext = !1,
HydrationMismatchException = Error(formatProdErrorMessage(519));
function throwOnHydrationMismatch(fiber) {
var error = Error(formatProdErrorMessage(418, ""));
var error = Error(
formatProdErrorMessage(
418,
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? "text"
: "HTML",
""
)
);
queueHydrationError(createCapturedValueAtFiber(error, fiber));
throw HydrationMismatchException;
}
@@ -1861,7 +1869,9 @@ function prepareToHydrateHostInstance(fiber) {
null != props.onClick && (instance.onclick = noop$1),
(instance = !0))
: (instance = !1);
!instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber);
!instance &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -8035,7 +8045,7 @@ function completeWork(current, workInProgress, renderLanes) {
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(current =
getOwnerDocumentFromRootContainer(current).createTextNode(
@@ -18791,14 +18801,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1974 = React.version;
if (
"19.1.0-www-classic-f134b399-20250326" !==
"19.1.0-www-classic-3e88e97c-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_1974
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1974,
"19.1.0-www-classic-f134b399-20250326"
"19.1.0-www-classic-3e88e97c-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18816,10 +18826,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2558 = {
bundleType: 0,
version: "19.1.0-www-classic-f134b399-20250326",
version: "19.1.0-www-classic-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2559 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19183,4 +19193,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
+18 -8
View File
@@ -1628,7 +1628,15 @@ var hydrationParentFiber = null,
rootOrSingletonContext = !1,
HydrationMismatchException = Error(formatProdErrorMessage(519));
function throwOnHydrationMismatch(fiber) {
var error = Error(formatProdErrorMessage(418, ""));
var error = Error(
formatProdErrorMessage(
418,
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? "text"
: "HTML",
""
)
);
queueHydrationError(createCapturedValueAtFiber(error, fiber));
throw HydrationMismatchException;
}
@@ -1705,7 +1713,9 @@ function prepareToHydrateHostInstance(fiber) {
null != props.onClick && (instance.onclick = noop$1),
(instance = !0))
: (instance = !1);
!instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber);
!instance &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -7791,7 +7801,7 @@ function completeWork(current, workInProgress, renderLanes) {
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(current =
getOwnerDocumentFromRootContainer(current).createTextNode(
@@ -18520,14 +18530,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1964 = React.version;
if (
"19.1.0-www-modern-f134b399-20250326" !==
"19.1.0-www-modern-3e88e97c-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_1964
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1964,
"19.1.0-www-modern-f134b399-20250326"
"19.1.0-www-modern-3e88e97c-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18545,10 +18555,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2540 = {
bundleType: 0,
version: "19.1.0-www-modern-f134b399-20250326",
version: "19.1.0-www-modern-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2541 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18912,4 +18922,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
@@ -1897,7 +1897,15 @@ var hydrationParentFiber = null,
rootOrSingletonContext = !1,
HydrationMismatchException = Error(formatProdErrorMessage(519));
function throwOnHydrationMismatch(fiber) {
var error = Error(formatProdErrorMessage(418, ""));
var error = Error(
formatProdErrorMessage(
418,
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? "text"
: "HTML",
""
)
);
queueHydrationError(createCapturedValueAtFiber(error, fiber));
throw HydrationMismatchException;
}
@@ -1974,7 +1982,9 @@ function prepareToHydrateHostInstance(fiber) {
null != props.onClick && (instance.onclick = noop$1),
(instance = !0))
: (instance = !1);
!instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber);
!instance &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -8640,7 +8650,7 @@ function completeWork(current, workInProgress, renderLanes) {
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(current =
getOwnerDocumentFromRootContainer(current).createTextNode(
@@ -20524,14 +20534,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2134 = React.version;
if (
"19.1.0-www-classic-f134b399-20250326" !==
"19.1.0-www-classic-3e88e97c-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_2134
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2134,
"19.1.0-www-classic-f134b399-20250326"
"19.1.0-www-classic-3e88e97c-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20549,10 +20559,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2136 = {
bundleType: 0,
version: "19.1.0-www-classic-f134b399-20250326",
version: "19.1.0-www-classic-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2136.getLaneLabelMap = getLaneLabelMap),
@@ -20919,7 +20929,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1811,7 +1811,15 @@ var hydrationParentFiber = null,
rootOrSingletonContext = !1,
HydrationMismatchException = Error(formatProdErrorMessage(519));
function throwOnHydrationMismatch(fiber) {
var error = Error(formatProdErrorMessage(418, ""));
var error = Error(
formatProdErrorMessage(
418,
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? "text"
: "HTML",
""
)
);
queueHydrationError(createCapturedValueAtFiber(error, fiber));
throw HydrationMismatchException;
}
@@ -1888,7 +1896,9 @@ function prepareToHydrateHostInstance(fiber) {
null != props.onClick && (instance.onclick = noop$1),
(instance = !0))
: (instance = !1);
!instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber);
!instance &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -8465,7 +8475,7 @@ function completeWork(current, workInProgress, renderLanes) {
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(current =
getOwnerDocumentFromRootContainer(current).createTextNode(
@@ -20322,14 +20332,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2124 = React.version;
if (
"19.1.0-www-modern-f134b399-20250326" !==
"19.1.0-www-modern-3e88e97c-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_2124
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2124,
"19.1.0-www-modern-f134b399-20250326"
"19.1.0-www-modern-3e88e97c-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20347,10 +20357,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2126 = {
bundleType: 0,
version: "19.1.0-www-modern-f134b399-20250326",
version: "19.1.0-www-modern-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2126.getLaneLabelMap = getLaneLabelMap),
@@ -20717,7 +20727,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9440,5 +9440,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.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
})();
@@ -9369,5 +9369,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.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
})();
@@ -6203,4 +6203,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.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
@@ -6115,4 +6115,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.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
@@ -3627,14 +3627,18 @@ __DEV__ &&
fiber.serverTail.push(rejectedCandidate)));
}
function throwOnHydrationMismatch(fiber) {
var diff = "",
var fromText =
1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1,
diff = "",
diffRoot = hydrationDiffRootDEV;
null !== diffRoot &&
((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot)));
queueHydrationError(
createCapturedValueAtFiber(
Error(
"Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
"Hydration failed because the server rendered " +
(fromText ? "text" : "HTML") +
" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
diff
),
fiber
@@ -3733,7 +3737,7 @@ __DEV__ &&
: (didHydrate = !1);
!didHydrate &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber);
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -12129,7 +12133,7 @@ __DEV__ &&
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(_type = renderLanes.ancestorInfo.current),
null != _type &&
@@ -30229,11 +30233,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-f134b399-20250326" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-3e88e97c-20250326" !== 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.1.0-www-classic-f134b399-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30276,10 +30280,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-f134b399-20250326",
version: "19.1.0-www-classic-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31043,5 +31047,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
})();
@@ -3519,14 +3519,18 @@ __DEV__ &&
fiber.serverTail.push(rejectedCandidate)));
}
function throwOnHydrationMismatch(fiber) {
var diff = "",
var fromText =
1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1,
diff = "",
diffRoot = hydrationDiffRootDEV;
null !== diffRoot &&
((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot)));
queueHydrationError(
createCapturedValueAtFiber(
Error(
"Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
"Hydration failed because the server rendered " +
(fromText ? "text" : "HTML") +
" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
diff
),
fiber
@@ -3620,7 +3624,7 @@ __DEV__ &&
: (didHydrate = !1);
!didHydrate &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber);
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -11936,7 +11940,7 @@ __DEV__ &&
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(_type = renderLanes.ancestorInfo.current),
null != _type &&
@@ -30015,11 +30019,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-f134b399-20250326" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-3e88e97c-20250326" !== 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.1.0-www-modern-f134b399-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30062,10 +30066,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-f134b399-20250326",
version: "19.1.0-www-modern-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30829,5 +30833,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
})();
@@ -1870,7 +1870,15 @@ var hydrationParentFiber = null,
rootOrSingletonContext = !1,
HydrationMismatchException = Error(formatProdErrorMessage(519));
function throwOnHydrationMismatch(fiber) {
var error = Error(formatProdErrorMessage(418, ""));
var error = Error(
formatProdErrorMessage(
418,
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? "text"
: "HTML",
""
)
);
queueHydrationError(createCapturedValueAtFiber(error, fiber));
throw HydrationMismatchException;
}
@@ -1947,7 +1955,9 @@ function prepareToHydrateHostInstance(fiber) {
null != props.onClick && (instance.onclick = noop$1),
(instance = !0))
: (instance = !1);
!instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber);
!instance &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -8121,7 +8131,7 @@ function completeWork(current, workInProgress, renderLanes) {
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(current =
getOwnerDocumentFromRootContainer(current).createTextNode(
@@ -19107,14 +19117,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2003 = React.version;
if (
"19.1.0-www-classic-f134b399-20250326" !==
"19.1.0-www-classic-3e88e97c-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_2003
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2003,
"19.1.0-www-classic-f134b399-20250326"
"19.1.0-www-classic-3e88e97c-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19132,10 +19142,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2592 = {
bundleType: 0,
version: "19.1.0-www-classic-f134b399-20250326",
version: "19.1.0-www-classic-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2593 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19650,4 +19660,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
@@ -1714,7 +1714,15 @@ var hydrationParentFiber = null,
rootOrSingletonContext = !1,
HydrationMismatchException = Error(formatProdErrorMessage(519));
function throwOnHydrationMismatch(fiber) {
var error = Error(formatProdErrorMessage(418, ""));
var error = Error(
formatProdErrorMessage(
418,
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? "text"
: "HTML",
""
)
);
queueHydrationError(createCapturedValueAtFiber(error, fiber));
throw HydrationMismatchException;
}
@@ -1791,7 +1799,9 @@ function prepareToHydrateHostInstance(fiber) {
null != props.onClick && (instance.onclick = noop$1),
(instance = !0))
: (instance = !1);
!instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber);
!instance &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -7877,7 +7887,7 @@ function completeWork(current, workInProgress, renderLanes) {
: !1;
!current &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
(current =
getOwnerDocumentFromRootContainer(current).createTextNode(
@@ -18836,14 +18846,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1993 = React.version;
if (
"19.1.0-www-modern-f134b399-20250326" !==
"19.1.0-www-modern-3e88e97c-20250326" !==
isomorphicReactPackageVersion$jscomp$inline_1993
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1993,
"19.1.0-www-modern-f134b399-20250326"
"19.1.0-www-modern-3e88e97c-20250326"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18861,10 +18871,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2574 = {
bundleType: 0,
version: "19.1.0-www-modern-f134b399-20250326",
version: "19.1.0-www-modern-3e88e97c-20250326",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2575 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19379,4 +19389,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
@@ -2016,14 +2016,18 @@ __DEV__ &&
fiber.serverTail.push(rejectedCandidate)));
}
function throwOnHydrationMismatch(fiber) {
var diff = "",
var fromText =
1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1,
diff = "",
diffRoot = hydrationDiffRootDEV;
null !== diffRoot &&
((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot)));
queueHydrationError(
createCapturedValueAtFiber(
Error(
"Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
"Hydration failed because the server rendered " +
(fromText ? "text" : "HTML") +
" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
diff
),
fiber
@@ -2044,7 +2048,7 @@ __DEV__ &&
fiber
) &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber);
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -10397,7 +10401,7 @@ __DEV__ &&
newProps
) &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
workInProgress.stateNode = createTextInstance(
newProps,
@@ -20835,7 +20839,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -1922,14 +1922,18 @@ __DEV__ &&
fiber.serverTail.push(rejectedCandidate)));
}
function throwOnHydrationMismatch(fiber) {
var diff = "",
var fromText =
1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1,
diff = "",
diffRoot = hydrationDiffRootDEV;
null !== diffRoot &&
((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot)));
queueHydrationError(
createCapturedValueAtFiber(
Error(
"Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
"Hydration failed because the server rendered " +
(fromText ? "text" : "HTML") +
" didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" +
diff
),
fiber
@@ -1950,7 +1954,7 @@ __DEV__ &&
fiber
) &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber);
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -10223,7 +10227,7 @@ __DEV__ &&
newProps
) &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
workInProgress.stateNode = createTextInstance(
newProps,
@@ -20616,7 +20620,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -1012,7 +1012,15 @@ module.exports = function ($$$config) {
: (HostTransitionContext._currentValue2 = NotPendingTransition));
}
function throwOnHydrationMismatch(fiber) {
var error = Error(formatProdErrorMessage(418, ""));
var error = Error(
formatProdErrorMessage(
418,
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? "text"
: "HTML",
""
)
);
queueHydrationError(createCapturedValueAtFiber(error, fiber));
throw HydrationMismatchException;
}
@@ -1026,7 +1034,7 @@ module.exports = function ($$$config) {
fiber
) &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber);
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -6973,7 +6981,7 @@ module.exports = function ($$$config) {
newProps
) &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
workInProgress.stateNode = createTextInstance(
newProps,
@@ -13687,7 +13695,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -871,7 +871,15 @@ module.exports = function ($$$config) {
: (HostTransitionContext._currentValue2 = NotPendingTransition));
}
function throwOnHydrationMismatch(fiber) {
var error = Error(formatProdErrorMessage(418, ""));
var error = Error(
formatProdErrorMessage(
418,
1 < arguments.length && void 0 !== arguments[1] && arguments[1]
? "text"
: "HTML",
""
)
);
queueHydrationError(createCapturedValueAtFiber(error, fiber));
throw HydrationMismatchException;
}
@@ -885,7 +893,7 @@ module.exports = function ($$$config) {
fiber
) &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(fiber);
throwOnHydrationMismatch(fiber, !0);
}
function popToNextHostParent(fiber) {
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
@@ -6740,7 +6748,7 @@ module.exports = function ($$$config) {
newProps
) &&
favorSafetyOverHydrationPerf &&
throwOnHydrationMismatch(workInProgress);
throwOnHydrationMismatch(workInProgress, !0);
} else
workInProgress.stateNode = createTextInstance(
newProps,
@@ -13404,7 +13412,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15031,10 +15031,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-f134b399-20250326",
version: "19.1.0-www-classic-3e88e97c-20250326",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-f134b399-20250326"
reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15169,5 +15169,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-classic-f134b399-20250326";
exports.version = "19.1.0-www-classic-3e88e97c-20250326";
})();
@@ -15031,10 +15031,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-f134b399-20250326",
version: "19.1.0-www-modern-3e88e97c-20250326",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-f134b399-20250326"
reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15169,5 +15169,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-modern-f134b399-20250326";
exports.version = "19.1.0-www-modern-3e88e97c-20250326";
})();
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-classic-f134b399-20250326
19.1.0-www-classic-3e88e97c-20250326
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-modern-f134b399-20250326
19.1.0-www-modern-3e88e97c-20250326