[eslint] Do not allow useEffectEvent fns to be called in arbitrary closures (#33544)

Summary:

useEffectEvent is meant to be used specifically in combination with
useEffect, and using
the feature in arbitrary closures can lead to surprising reactivity
semantics. In order to
minimize risk in the experimental rollout, we are going to restrict its
usage to being
called directly inside an effect or another useEffectEvent, effectively
enforcing the function
coloring statically. Without an effect system this is the best we can
do.

DiffTrain build for [97cdd5d3c3](https://github.com/facebook/react/commit/97cdd5d3c33eda77be4f96a43f72d6916d3badbb)
This commit is contained in:
jbrown215
2025-07-10 13:56:44 -07:00
parent 4ab994be7f
commit af29a26f3d
35 changed files with 93 additions and 91 deletions
+7 -5
View File
@@ -55210,13 +55210,15 @@ const rule = {
}
},
Identifier(node) {
if (lastEffect == null &&
useEffectEventFunctions.has(node) &&
node.parent.type !== 'CallExpression') {
if (lastEffect == null && useEffectEventFunctions.has(node)) {
const message = `\`${getSourceCode().getText(node)}\` is a function created with React Hook "useEffectEvent", and can only be called from ` +
'the same component.' +
(node.parent.type === 'CallExpression'
? ''
: ' They cannot be assigned to variables or passed down.');
context.report({
node,
message: `\`${getSourceCode().getText(node)}\` is a function created with React Hook "useEffectEvent", and can only be called from ` +
'the same component. They cannot be assigned to variables or passed down.',
message,
});
}
},
+1 -1
View File
@@ -1 +1 @@
96c61b7f1f145b9fe5103051b636959cdeb20cc8
97cdd5d3c33eda77be4f96a43f72d6916d3badbb
+1 -1
View File
@@ -1 +1 @@
96c61b7f1f145b9fe5103051b636959cdeb20cc8
97cdd5d3c33eda77be4f96a43f72d6916d3badbb
+1 -1
View File
@@ -1434,7 +1434,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
"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-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
"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-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
+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-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
@@ -614,7 +614,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
"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-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19299,10 +19299,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-96c61b7f-20250709",
version: "19.2.0-www-classic-97cdd5d3-20250710",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19336,7 +19336,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -19070,10 +19070,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-96c61b7f-20250709",
version: "19.2.0-www-modern-97cdd5d3-20250710",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19107,7 +19107,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
"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-96c61b7f-20250709",
version: "19.2.0-www-classic-97cdd5d3-20250710",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
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-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
@@ -11017,10 +11017,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1583 = {
bundleType: 0,
version: "19.2.0-www-modern-96c61b7f-20250709",
version: "19.2.0-www-modern-97cdd5d3-20250710",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
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-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
@@ -31748,11 +31748,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-96c61b7f-20250709" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-97cdd5d3-20250710" !== 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-96c61b7f-20250709\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31795,10 +31795,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-96c61b7f-20250709",
version: "19.2.0-www-classic-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32398,7 +32398,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -31533,11 +31533,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-96c61b7f-20250709" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-97cdd5d3-20250710" !== 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-96c61b7f-20250709\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31580,10 +31580,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-96c61b7f-20250709",
version: "19.2.0-www-modern-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32183,7 +32183,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
"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-96c61b7f-20250709" !==
"19.2.0-www-classic-97cdd5d3-20250710" !==
isomorphicReactPackageVersion$jscomp$inline_2069
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2069,
"19.2.0-www-classic-96c61b7f-20250709"
"19.2.0-www-classic-97cdd5d3-20250710"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19589,10 +19589,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2682 = {
bundleType: 0,
version: "19.2.0-www-classic-96c61b7f-20250709",
version: "19.2.0-www-classic-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
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-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
@@ -19293,14 +19293,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2059 = React.version;
if (
"19.2.0-www-modern-96c61b7f-20250709" !==
"19.2.0-www-modern-97cdd5d3-20250710" !==
isomorphicReactPackageVersion$jscomp$inline_2059
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2059,
"19.2.0-www-modern-96c61b7f-20250709"
"19.2.0-www-modern-97cdd5d3-20250710"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19318,10 +19318,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2664 = {
bundleType: 0,
version: "19.2.0-www-modern-96c61b7f-20250709",
version: "19.2.0-www-modern-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
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-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
@@ -21571,14 +21571,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2315 = React.version;
if (
"19.2.0-www-classic-96c61b7f-20250709" !==
"19.2.0-www-classic-97cdd5d3-20250710" !==
isomorphicReactPackageVersion$jscomp$inline_2315
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2315,
"19.2.0-www-classic-96c61b7f-20250709"
"19.2.0-www-classic-97cdd5d3-20250710"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21596,10 +21596,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2317 = {
bundleType: 0,
version: "19.2.0-www-classic-96c61b7f-20250709",
version: "19.2.0-www-classic-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2317.getLaneLabelMap = getLaneLabelMap),
@@ -22014,7 +22014,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -21365,14 +21365,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2305 = React.version;
if (
"19.2.0-www-modern-96c61b7f-20250709" !==
"19.2.0-www-modern-97cdd5d3-20250710" !==
isomorphicReactPackageVersion$jscomp$inline_2305
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2305,
"19.2.0-www-modern-96c61b7f-20250709"
"19.2.0-www-modern-97cdd5d3-20250710"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21390,10 +21390,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2307 = {
bundleType: 0,
version: "19.2.0-www-modern-96c61b7f-20250709",
version: "19.2.0-www-modern-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2307.getLaneLabelMap = getLaneLabelMap),
@@ -21808,7 +21808,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10137,5 +10137,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-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
})();
@@ -10066,5 +10066,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-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
})();
@@ -6868,4 +6868,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-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
@@ -6801,4 +6801,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-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
@@ -32069,11 +32069,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-96c61b7f-20250709" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-97cdd5d3-20250710" !== 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-96c61b7f-20250709\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32116,10 +32116,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-96c61b7f-20250709",
version: "19.2.0-www-classic-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32885,5 +32885,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
})();
@@ -31854,11 +31854,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-96c61b7f-20250709" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-97cdd5d3-20250710" !== 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-96c61b7f-20250709\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-97cdd5d3-20250710\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31901,10 +31901,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-96c61b7f-20250709",
version: "19.2.0-www-modern-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32670,5 +32670,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
})();
@@ -19880,14 +19880,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2098 = React.version;
if (
"19.2.0-www-classic-96c61b7f-20250709" !==
"19.2.0-www-classic-97cdd5d3-20250710" !==
isomorphicReactPackageVersion$jscomp$inline_2098
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2098,
"19.2.0-www-classic-96c61b7f-20250709"
"19.2.0-www-classic-97cdd5d3-20250710"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19905,10 +19905,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2716 = {
bundleType: 0,
version: "19.2.0-www-classic-96c61b7f-20250709",
version: "19.2.0-www-classic-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
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-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
@@ -19609,14 +19609,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2088 = React.version;
if (
"19.2.0-www-modern-96c61b7f-20250709" !==
"19.2.0-www-modern-97cdd5d3-20250710" !==
isomorphicReactPackageVersion$jscomp$inline_2088
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2088,
"19.2.0-www-modern-96c61b7f-20250709"
"19.2.0-www-modern-97cdd5d3-20250710"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19634,10 +19634,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2698 = {
bundleType: 0,
version: "19.2.0-www-modern-96c61b7f-20250709",
version: "19.2.0-www-modern-97cdd5d3-20250710",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
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-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
@@ -22126,7 +22126,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -21906,7 +21906,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
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-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
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-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15434,10 +15434,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-96c61b7f-20250709",
version: "19.2.0-www-classic-97cdd5d3-20250710",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-classic-97cdd5d3-20250710"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15572,5 +15572,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-96c61b7f-20250709";
exports.version = "19.2.0-www-classic-97cdd5d3-20250710";
})();
@@ -15434,10 +15434,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-96c61b7f-20250709",
version: "19.2.0-www-modern-97cdd5d3-20250710",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-96c61b7f-20250709"
reconcilerVersion: "19.2.0-www-modern-97cdd5d3-20250710"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15572,5 +15572,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-96c61b7f-20250709";
exports.version = "19.2.0-www-modern-97cdd5d3-20250710";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-96c61b7f-20250709
19.2.0-www-classic-97cdd5d3-20250710
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-96c61b7f-20250709
19.2.0-www-modern-97cdd5d3-20250710