Ensure useEffectEvent implementation is available in Canary (#34614)

DiffTrain build for [df38ac9a3b](https://github.com/facebook/react/commit/df38ac9a3b9a5ea43c1d07c00d090a448acfd56c)
This commit is contained in:
eps1lon
2025-09-26 10:01:06 -07:00
parent 1106071a2b
commit c4d4bc18c1
34 changed files with 266 additions and 96 deletions
+1 -1
View File
@@ -1 +1 @@
8bb7241f4c773376893701bfe8b8ff03687342a0
df38ac9a3b9a5ea43c1d07c00d090a448acfd56c
+1 -1
View File
@@ -1 +1 @@
8bb7241f4c773376893701bfe8b8ff03687342a0
df38ac9a3b9a5ea43c1d07c00d090a448acfd56c
+1 -1
View File
@@ -1421,7 +1421,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1421,7 +1421,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -604,4 +604,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
+1 -1
View File
@@ -604,4 +604,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
@@ -608,7 +608,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -608,7 +608,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -20224,10 +20224,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-8bb7241f-20250926",
version: "19.2.0-www-classic-df38ac9a-20250926",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20261,7 +20261,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -19995,10 +19995,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-8bb7241f-20250926",
version: "19.2.0-www-modern-df38ac9a-20250926",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -20032,7 +20032,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11428,10 +11428,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1645 = {
bundleType: 0,
version: "19.2.0-www-classic-8bb7241f-20250926",
version: "19.2.0-www-classic-df38ac9a-20250926",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1646 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11457,4 +11457,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
@@ -11140,10 +11140,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1618 = {
bundleType: 0,
version: "19.2.0-www-modern-8bb7241f-20250926",
version: "19.2.0-www-modern-df38ac9a-20250926",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1619 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11169,4 +11169,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
@@ -32783,11 +32783,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-8bb7241f-20250926" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-df38ac9a-20250926" !== 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-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-df38ac9a-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32830,10 +32830,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-8bb7241f-20250926",
version: "19.2.0-www-classic-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33445,7 +33445,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -32568,11 +32568,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-8bb7241f-20250926" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-df38ac9a-20250926" !== 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-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-df38ac9a-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32615,10 +32615,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-8bb7241f-20250926",
version: "19.2.0-www-modern-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33230,7 +33230,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19964,14 +19964,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2127 = React.version;
if (
"19.2.0-www-classic-8bb7241f-20250926" !==
"19.2.0-www-classic-df38ac9a-20250926" !==
isomorphicReactPackageVersion$jscomp$inline_2127
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2127,
"19.2.0-www-classic-8bb7241f-20250926"
"19.2.0-www-classic-df38ac9a-20250926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19989,10 +19989,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2759 = {
bundleType: 0,
version: "19.2.0-www-classic-8bb7241f-20250926",
version: "19.2.0-www-classic-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2760 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20421,4 +20421,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
@@ -19693,14 +19693,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2117 = React.version;
if (
"19.2.0-www-modern-8bb7241f-20250926" !==
"19.2.0-www-modern-df38ac9a-20250926" !==
isomorphicReactPackageVersion$jscomp$inline_2117
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2117,
"19.2.0-www-modern-8bb7241f-20250926"
"19.2.0-www-modern-df38ac9a-20250926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19718,10 +19718,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2741 = {
bundleType: 0,
version: "19.2.0-www-modern-8bb7241f-20250926",
version: "19.2.0-www-modern-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2742 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20150,4 +20150,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
@@ -22170,14 +22170,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2413 = React.version;
if (
"19.2.0-www-classic-8bb7241f-20250926" !==
"19.2.0-www-classic-df38ac9a-20250926" !==
isomorphicReactPackageVersion$jscomp$inline_2413
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2413,
"19.2.0-www-classic-8bb7241f-20250926"
"19.2.0-www-classic-df38ac9a-20250926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -22195,10 +22195,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2415 = {
bundleType: 0,
version: "19.2.0-www-classic-8bb7241f-20250926",
version: "19.2.0-www-classic-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2415.getLaneLabelMap = getLaneLabelMap),
@@ -22631,7 +22631,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -21964,14 +21964,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2403 = React.version;
if (
"19.2.0-www-modern-8bb7241f-20250926" !==
"19.2.0-www-modern-df38ac9a-20250926" !==
isomorphicReactPackageVersion$jscomp$inline_2403
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2403,
"19.2.0-www-modern-8bb7241f-20250926"
"19.2.0-www-modern-df38ac9a-20250926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21989,10 +21989,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2405 = {
bundleType: 0,
version: "19.2.0-www-modern-8bb7241f-20250926",
version: "19.2.0-www-modern-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2405.getLaneLabelMap = getLaneLabelMap),
@@ -22425,7 +22425,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10179,5 +10179,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-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
})();
@@ -10108,5 +10108,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-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
})();
@@ -6906,4 +6906,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-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
@@ -6839,4 +6839,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-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
@@ -33104,11 +33104,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-8bb7241f-20250926" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-df38ac9a-20250926" !== 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-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-df38ac9a-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -33151,10 +33151,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-8bb7241f-20250926",
version: "19.2.0-www-classic-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33932,5 +33932,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
})();
@@ -32889,11 +32889,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-8bb7241f-20250926" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-df38ac9a-20250926" !== 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-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-df38ac9a-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -32936,10 +32936,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-8bb7241f-20250926",
version: "19.2.0-www-modern-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33717,5 +33717,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
})();
@@ -20280,14 +20280,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2156 = React.version;
if (
"19.2.0-www-classic-8bb7241f-20250926" !==
"19.2.0-www-classic-df38ac9a-20250926" !==
isomorphicReactPackageVersion$jscomp$inline_2156
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2156,
"19.2.0-www-classic-8bb7241f-20250926"
"19.2.0-www-classic-df38ac9a-20250926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20305,10 +20305,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2793 = {
bundleType: 0,
version: "19.2.0-www-classic-8bb7241f-20250926",
version: "19.2.0-www-classic-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2794 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20888,4 +20888,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
@@ -20009,14 +20009,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2146 = React.version;
if (
"19.2.0-www-modern-8bb7241f-20250926" !==
"19.2.0-www-modern-df38ac9a-20250926" !==
isomorphicReactPackageVersion$jscomp$inline_2146
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2146,
"19.2.0-www-modern-8bb7241f-20250926"
"19.2.0-www-modern-df38ac9a-20250926"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20034,10 +20034,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2775 = {
bundleType: 0,
version: "19.2.0-www-modern-8bb7241f-20250926",
version: "19.2.0-www-modern-df38ac9a-20250926",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2776 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20617,4 +20617,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
@@ -22881,7 +22881,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -22661,7 +22661,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14233,7 +14233,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13950,7 +13950,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13,7 +13,7 @@
"use strict";
__DEV__ &&
(function () {
function JSCompiler_object_inline_createNodeMock_1181() {
function JSCompiler_object_inline_createNodeMock_1187() {
return null;
}
function findHook(fiber, id) {
@@ -5249,6 +5249,43 @@ __DEV__ &&
? mountEffectImpl(276826112, Passive, create, deps)
: mountEffectImpl(8390656, Passive, create, deps);
}
function useEffectEventImpl(payload) {
currentlyRenderingFiber.flags |= 4;
var componentUpdateQueue = currentlyRenderingFiber.updateQueue;
if (null === componentUpdateQueue)
(componentUpdateQueue = createFunctionComponentUpdateQueue()),
(currentlyRenderingFiber.updateQueue = componentUpdateQueue),
(componentUpdateQueue.events = [payload]);
else {
var events = componentUpdateQueue.events;
null === events
? (componentUpdateQueue.events = [payload])
: events.push(payload);
}
}
function mountEvent(callback) {
var hook = mountWorkInProgressHook(),
ref = { impl: callback };
hook.memoizedState = ref;
return function () {
if ((executionContext & RenderContext) !== NoContext)
throw Error(
"A function wrapped in useEffectEvent can't be called during rendering."
);
return ref.impl.apply(void 0, arguments);
};
}
function updateEvent(callback) {
var ref = updateWorkInProgressHook().memoizedState;
useEffectEventImpl({ ref: ref, nextImpl: callback });
return function () {
if ((executionContext & RenderContext) !== NoContext)
throw Error(
"A function wrapped in useEffectEvent can't be called during rendering."
);
return ref.impl.apply(void 0, arguments);
};
}
function mountLayoutEffect(create, deps) {
var fiberFlags = 4194308;
0 !== (currentlyRenderingFiber.mode & 16) && (fiberFlags |= 134217728);
@@ -9623,7 +9660,7 @@ __DEV__ &&
if (
((root = nextEffect),
(firstChild = root.child),
0 !== (root.subtreeFlags & 1024) && null !== firstChild)
0 !== (root.subtreeFlags & 1028) && null !== firstChild)
)
(firstChild.return = root), (nextEffect = firstChild);
else
@@ -9633,6 +9670,15 @@ __DEV__ &&
flags = firstChild.flags;
switch (firstChild.tag) {
case 0:
if (
0 !== (flags & 4) &&
((firstChild = firstChild.updateQueue),
(firstChild = null !== firstChild ? firstChild.events : null),
null !== firstChild)
)
for (current = 0; current < firstChild.length; current++)
(flags = firstChild[current]),
(flags.ref.impl = flags.nextImpl);
break;
case 11:
case 15:
@@ -14282,8 +14328,9 @@ __DEV__ &&
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
},
HooksDispatcherOnMountInDEV = null,
};
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
var HooksDispatcherOnMountInDEV = null,
HooksDispatcherOnMountWithHookTypesInDEV = null,
HooksDispatcherOnUpdateInDEV = null,
HooksDispatcherOnRerenderInDEV = null,
@@ -14415,6 +14462,11 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
mountHookTypesDev();
return mountRefresh();
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
mountHookTypesDev();
return mountEvent(callback);
}
};
HooksDispatcherOnMountWithHookTypesInDEV = {
@@ -14536,6 +14588,11 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return mountRefresh();
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
updateHookTypesDev();
return mountEvent(callback);
}
};
HooksDispatcherOnUpdateInDEV = {
@@ -14657,6 +14714,11 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
updateHookTypesDev();
return updateEvent(callback);
}
};
HooksDispatcherOnRerenderInDEV = {
@@ -14778,6 +14840,11 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
updateHookTypesDev();
return updateEvent(callback);
}
};
InvalidNestedHooksDispatcherOnMountInDEV = {
@@ -14923,6 +14990,12 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
mountHookTypesDev();
return mountRefresh();
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
warnInvalidHookAccess();
mountHookTypesDev();
return mountEvent(callback);
}
};
InvalidNestedHooksDispatcherOnUpdateInDEV = {
@@ -15068,6 +15141,12 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
warnInvalidHookAccess();
updateHookTypesDev();
return updateEvent(callback);
}
};
InvalidNestedHooksDispatcherOnRerenderInDEV = {
@@ -15213,6 +15292,12 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
warnInvalidHookAccess();
updateHookTypesDev();
return updateEvent(callback);
}
};
var fakeInternalInstance = {};
@@ -15610,10 +15695,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-8bb7241f-20250926",
version: "19.2.0-www-classic-df38ac9a-20250926",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-classic-df38ac9a-20250926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15633,7 +15718,7 @@ __DEV__ &&
exports._Scheduler = Scheduler;
exports.act = act;
exports.create = function (element, options) {
var createNodeMock = JSCompiler_object_inline_createNodeMock_1181,
var createNodeMock = JSCompiler_object_inline_createNodeMock_1187,
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
isConcurrent = isConcurrentOnly,
isStrictMode = !1;
@@ -15748,5 +15833,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-8bb7241f-20250926";
exports.version = "19.2.0-www-classic-df38ac9a-20250926";
})();
@@ -13,7 +13,7 @@
"use strict";
__DEV__ &&
(function () {
function JSCompiler_object_inline_createNodeMock_1181() {
function JSCompiler_object_inline_createNodeMock_1187() {
return null;
}
function findHook(fiber, id) {
@@ -5249,6 +5249,43 @@ __DEV__ &&
? mountEffectImpl(276826112, Passive, create, deps)
: mountEffectImpl(8390656, Passive, create, deps);
}
function useEffectEventImpl(payload) {
currentlyRenderingFiber.flags |= 4;
var componentUpdateQueue = currentlyRenderingFiber.updateQueue;
if (null === componentUpdateQueue)
(componentUpdateQueue = createFunctionComponentUpdateQueue()),
(currentlyRenderingFiber.updateQueue = componentUpdateQueue),
(componentUpdateQueue.events = [payload]);
else {
var events = componentUpdateQueue.events;
null === events
? (componentUpdateQueue.events = [payload])
: events.push(payload);
}
}
function mountEvent(callback) {
var hook = mountWorkInProgressHook(),
ref = { impl: callback };
hook.memoizedState = ref;
return function () {
if ((executionContext & RenderContext) !== NoContext)
throw Error(
"A function wrapped in useEffectEvent can't be called during rendering."
);
return ref.impl.apply(void 0, arguments);
};
}
function updateEvent(callback) {
var ref = updateWorkInProgressHook().memoizedState;
useEffectEventImpl({ ref: ref, nextImpl: callback });
return function () {
if ((executionContext & RenderContext) !== NoContext)
throw Error(
"A function wrapped in useEffectEvent can't be called during rendering."
);
return ref.impl.apply(void 0, arguments);
};
}
function mountLayoutEffect(create, deps) {
var fiberFlags = 4194308;
0 !== (currentlyRenderingFiber.mode & 16) && (fiberFlags |= 134217728);
@@ -9623,7 +9660,7 @@ __DEV__ &&
if (
((root = nextEffect),
(firstChild = root.child),
0 !== (root.subtreeFlags & 1024) && null !== firstChild)
0 !== (root.subtreeFlags & 1028) && null !== firstChild)
)
(firstChild.return = root), (nextEffect = firstChild);
else
@@ -9633,6 +9670,15 @@ __DEV__ &&
flags = firstChild.flags;
switch (firstChild.tag) {
case 0:
if (
0 !== (flags & 4) &&
((firstChild = firstChild.updateQueue),
(firstChild = null !== firstChild ? firstChild.events : null),
null !== firstChild)
)
for (current = 0; current < firstChild.length; current++)
(flags = firstChild[current]),
(flags.ref.impl = flags.nextImpl);
break;
case 11:
case 15:
@@ -14282,8 +14328,9 @@ __DEV__ &&
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
},
HooksDispatcherOnMountInDEV = null,
};
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
var HooksDispatcherOnMountInDEV = null,
HooksDispatcherOnMountWithHookTypesInDEV = null,
HooksDispatcherOnUpdateInDEV = null,
HooksDispatcherOnRerenderInDEV = null,
@@ -14415,6 +14462,11 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
mountHookTypesDev();
return mountRefresh();
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
mountHookTypesDev();
return mountEvent(callback);
}
};
HooksDispatcherOnMountWithHookTypesInDEV = {
@@ -14536,6 +14588,11 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return mountRefresh();
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
updateHookTypesDev();
return mountEvent(callback);
}
};
HooksDispatcherOnUpdateInDEV = {
@@ -14657,6 +14714,11 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
updateHookTypesDev();
return updateEvent(callback);
}
};
HooksDispatcherOnRerenderInDEV = {
@@ -14778,6 +14840,11 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
updateHookTypesDev();
return updateEvent(callback);
}
};
InvalidNestedHooksDispatcherOnMountInDEV = {
@@ -14923,6 +14990,12 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
mountHookTypesDev();
return mountRefresh();
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
warnInvalidHookAccess();
mountHookTypesDev();
return mountEvent(callback);
}
};
InvalidNestedHooksDispatcherOnUpdateInDEV = {
@@ -15068,6 +15141,12 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
warnInvalidHookAccess();
updateHookTypesDev();
return updateEvent(callback);
}
};
InvalidNestedHooksDispatcherOnRerenderInDEV = {
@@ -15213,6 +15292,12 @@ __DEV__ &&
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useEffectEvent: function (callback) {
currentHookNameInDev = "useEffectEvent";
warnInvalidHookAccess();
updateHookTypesDev();
return updateEvent(callback);
}
};
var fakeInternalInstance = {};
@@ -15610,10 +15695,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-8bb7241f-20250926",
version: "19.2.0-www-modern-df38ac9a-20250926",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-8bb7241f-20250926"
reconcilerVersion: "19.2.0-www-modern-df38ac9a-20250926"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15633,7 +15718,7 @@ __DEV__ &&
exports._Scheduler = Scheduler;
exports.act = act;
exports.create = function (element, options) {
var createNodeMock = JSCompiler_object_inline_createNodeMock_1181,
var createNodeMock = JSCompiler_object_inline_createNodeMock_1187,
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
isConcurrent = isConcurrentOnly,
isStrictMode = !1;
@@ -15748,5 +15833,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-8bb7241f-20250926";
exports.version = "19.2.0-www-modern-df38ac9a-20250926";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-8bb7241f-20250926
19.2.0-www-classic-df38ac9a-20250926
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-8bb7241f-20250926
19.2.0-www-modern-df38ac9a-20250926