[compiler] loosen computed key restriction for compiler (#34902)

We have a whole ton of compiler errors due to us using a helper to
return breakpoints for CSS-in-js, which results in code like:

```
const styles = {
  [responsive.up('xl')]: { ... }
}
```

this results in TONS of bailouts due to `(BuildHIR::lowerExpression)
Expected Identifier, got CallExpression key in ObjectExpression`.

I was looking into what it would take to fix it and why we don't allow
it, and following the paper trail is seems like the gotchas have been
fixed with the new mutability aliasing model that is fully rolled out.
It looks like this is the same pattern/issue that was fixed (see
https://github.com/facebook/react/blob/main/compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/repro-object-expression-computed-key-modified-during-after-construction-hoisted-sequence-expr.js
and the old bug in
https://github.com/facebook/react/blob/d58c07b563a79bd706531278cb4afec6292b84a8/compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/bug-object-expression-computed-key-modified-during-after-construction-hoisted-sequence-expr.expect.md).

@josephsavona can you confirm if that's the case and if we're able to
drop this restriction now? (or alternatively, is there another case we
can ignore?)

DiffTrain build for [ea0c17b095](https://github.com/facebook/react/commit/ea0c17b0952e2b866a1f0dd4b5ac28c7df9d8518)
This commit is contained in:
josephsavona
2025-10-20 13:58:47 -07:00
parent c157c76d48
commit 76beb64aeb
35 changed files with 88 additions and 97 deletions
+2 -11
View File
@@ -24151,7 +24151,7 @@ function lowerObjectMethod(builder, property) {
};
}
function lowerObjectPropertyKey(builder, property) {
var _a, _b;
var _a;
const key = property.get('key');
if (key.isStringLiteral()) {
return {
@@ -24160,15 +24160,6 @@ function lowerObjectPropertyKey(builder, property) {
};
}
else if (property.node.computed && key.isExpression()) {
if (!key.isIdentifier() && !key.isMemberExpression()) {
builder.errors.push({
reason: `(BuildHIR::lowerExpression) Expected Identifier, got ${key.type} key in ObjectExpression`,
category: ErrorCategory.Todo,
loc: (_a = key.node.loc) !== null && _a !== void 0 ? _a : null,
suggestions: null,
});
return null;
}
const place = lowerExpressionToTemporary(builder, key);
return {
kind: 'computed',
@@ -24190,7 +24181,7 @@ function lowerObjectPropertyKey(builder, property) {
builder.errors.push({
reason: `(BuildHIR::lowerExpression) Expected Identifier, got ${key.type} key in ObjectExpression`,
category: ErrorCategory.Todo,
loc: (_b = key.node.loc) !== null && _b !== void 0 ? _b : null,
loc: (_a = key.node.loc) !== null && _a !== void 0 ? _a : null,
suggestions: null,
});
return null;
+1 -1
View File
@@ -1 +1 @@
2bcbf254f168ddec567156f802d19315e64e4aa8
ea0c17b0952e2b866a1f0dd4b5ac28c7df9d8518
+1 -1
View File
@@ -1 +1 @@
2bcbf254f168ddec567156f802d19315e64e4aa8
ea0c17b0952e2b866a1f0dd4b5ac28c7df9d8518
+1 -1
View File
@@ -1499,7 +1499,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1499,7 +1499,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -606,4 +606,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
+1 -1
View File
@@ -606,4 +606,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
@@ -610,7 +610,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -610,7 +610,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -20371,10 +20371,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.3.0-www-classic-2bcbf254-20251020",
version: "19.3.0-www-classic-ea0c17b0-20251020",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20409,7 +20409,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -20142,10 +20142,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.3.0-www-modern-2bcbf254-20251020",
version: "19.3.0-www-modern-ea0c17b0-20251020",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20180,7 +20180,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11442,10 +11442,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1647 = {
bundleType: 0,
version: "19.3.0-www-classic-2bcbf254-20251020",
version: "19.3.0-www-classic-ea0c17b0-20251020",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1648 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11471,4 +11471,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
@@ -11154,10 +11154,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1620 = {
bundleType: 0,
version: "19.3.0-www-modern-2bcbf254-20251020",
version: "19.3.0-www-modern-ea0c17b0-20251020",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1621 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11183,4 +11183,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
@@ -32933,11 +32933,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.3.0-www-classic-2bcbf254-20251020" !== isomorphicReactPackageVersion)
if ("19.3.0-www-classic-ea0c17b0-20251020" !== 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.3.0-www-classic-2bcbf254-20251020\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.3.0-www-classic-ea0c17b0-20251020\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32980,10 +32980,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.3.0-www-classic-2bcbf254-20251020",
version: "19.3.0-www-classic-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33596,7 +33596,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -32718,11 +32718,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.3.0-www-modern-2bcbf254-20251020" !== isomorphicReactPackageVersion)
if ("19.3.0-www-modern-ea0c17b0-20251020" !== 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.3.0-www-modern-2bcbf254-20251020\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.3.0-www-modern-ea0c17b0-20251020\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32765,10 +32765,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.3.0-www-modern-2bcbf254-20251020",
version: "19.3.0-www-modern-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33381,7 +33381,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19975,14 +19975,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2129 = React.version;
if (
"19.3.0-www-classic-2bcbf254-20251020" !==
"19.3.0-www-classic-ea0c17b0-20251020" !==
isomorphicReactPackageVersion$jscomp$inline_2129
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2129,
"19.3.0-www-classic-2bcbf254-20251020"
"19.3.0-www-classic-ea0c17b0-20251020"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20000,10 +20000,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2761 = {
bundleType: 0,
version: "19.3.0-www-classic-2bcbf254-20251020",
version: "19.3.0-www-classic-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2762 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20432,4 +20432,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
@@ -19704,14 +19704,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2119 = React.version;
if (
"19.3.0-www-modern-2bcbf254-20251020" !==
"19.3.0-www-modern-ea0c17b0-20251020" !==
isomorphicReactPackageVersion$jscomp$inline_2119
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2119,
"19.3.0-www-modern-2bcbf254-20251020"
"19.3.0-www-modern-ea0c17b0-20251020"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19729,10 +19729,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2743 = {
bundleType: 0,
version: "19.3.0-www-modern-2bcbf254-20251020",
version: "19.3.0-www-modern-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2744 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20161,4 +20161,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
@@ -22230,14 +22230,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2439 = React.version;
if (
"19.3.0-www-classic-2bcbf254-20251020" !==
"19.3.0-www-classic-ea0c17b0-20251020" !==
isomorphicReactPackageVersion$jscomp$inline_2439
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2439,
"19.3.0-www-classic-2bcbf254-20251020"
"19.3.0-www-classic-ea0c17b0-20251020"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -22255,10 +22255,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2441 = {
bundleType: 0,
version: "19.3.0-www-classic-2bcbf254-20251020",
version: "19.3.0-www-classic-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2441.getLaneLabelMap = getLaneLabelMap),
@@ -22691,7 +22691,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -22024,14 +22024,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2429 = React.version;
if (
"19.3.0-www-modern-2bcbf254-20251020" !==
"19.3.0-www-modern-ea0c17b0-20251020" !==
isomorphicReactPackageVersion$jscomp$inline_2429
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2429,
"19.3.0-www-modern-2bcbf254-20251020"
"19.3.0-www-modern-ea0c17b0-20251020"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -22049,10 +22049,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2431 = {
bundleType: 0,
version: "19.3.0-www-modern-2bcbf254-20251020",
version: "19.3.0-www-modern-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2431.getLaneLabelMap = getLaneLabelMap),
@@ -22485,7 +22485,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10305,5 +10305,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.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
})();
@@ -10234,5 +10234,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.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
})();
@@ -6996,4 +6996,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.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
@@ -6929,4 +6929,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.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
@@ -33254,11 +33254,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.3.0-www-classic-2bcbf254-20251020" !== isomorphicReactPackageVersion)
if ("19.3.0-www-classic-ea0c17b0-20251020" !== 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.3.0-www-classic-2bcbf254-20251020\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.3.0-www-classic-ea0c17b0-20251020\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -33301,10 +33301,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.3.0-www-classic-2bcbf254-20251020",
version: "19.3.0-www-classic-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -34083,5 +34083,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
})();
@@ -33039,11 +33039,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.3.0-www-modern-2bcbf254-20251020" !== isomorphicReactPackageVersion)
if ("19.3.0-www-modern-ea0c17b0-20251020" !== 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.3.0-www-modern-2bcbf254-20251020\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.3.0-www-modern-ea0c17b0-20251020\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -33086,10 +33086,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.3.0-www-modern-2bcbf254-20251020",
version: "19.3.0-www-modern-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33868,5 +33868,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
})();
@@ -20291,14 +20291,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2158 = React.version;
if (
"19.3.0-www-classic-2bcbf254-20251020" !==
"19.3.0-www-classic-ea0c17b0-20251020" !==
isomorphicReactPackageVersion$jscomp$inline_2158
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2158,
"19.3.0-www-classic-2bcbf254-20251020"
"19.3.0-www-classic-ea0c17b0-20251020"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20316,10 +20316,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2795 = {
bundleType: 0,
version: "19.3.0-www-classic-2bcbf254-20251020",
version: "19.3.0-www-classic-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2796 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20899,4 +20899,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
@@ -20020,14 +20020,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2148 = React.version;
if (
"19.3.0-www-modern-2bcbf254-20251020" !==
"19.3.0-www-modern-ea0c17b0-20251020" !==
isomorphicReactPackageVersion$jscomp$inline_2148
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2148,
"19.3.0-www-modern-2bcbf254-20251020"
"19.3.0-www-modern-ea0c17b0-20251020"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20045,10 +20045,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2777 = {
bundleType: 0,
version: "19.3.0-www-modern-2bcbf254-20251020",
version: "19.3.0-www-modern-ea0c17b0-20251020",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2778 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20628,4 +20628,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
@@ -23031,7 +23031,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -22811,7 +22811,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14253,7 +14253,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13970,7 +13970,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15710,10 +15710,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.3.0-www-classic-2bcbf254-20251020",
version: "19.3.0-www-classic-ea0c17b0-20251020",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-classic-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-classic-ea0c17b0-20251020"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15849,5 +15849,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.3.0-www-classic-2bcbf254-20251020";
exports.version = "19.3.0-www-classic-ea0c17b0-20251020";
})();
@@ -15710,10 +15710,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.3.0-www-modern-2bcbf254-20251020",
version: "19.3.0-www-modern-ea0c17b0-20251020",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.3.0-www-modern-2bcbf254-20251020"
reconcilerVersion: "19.3.0-www-modern-ea0c17b0-20251020"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15849,5 +15849,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.3.0-www-modern-2bcbf254-20251020";
exports.version = "19.3.0-www-modern-ea0c17b0-20251020";
})();
+1 -1
View File
@@ -1 +1 @@
19.3.0-www-classic-2bcbf254-20251020
19.3.0-www-classic-ea0c17b0-20251020
+1 -1
View File
@@ -1 +1 @@
19.3.0-www-modern-2bcbf254-20251020
19.3.0-www-modern-ea0c17b0-20251020