mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[rcr] Re-export useMemoCache in top level React namespace (#31139)
In order to support using the compiler on versions of React prior to 19,
we need the ability to statically import `c` (aka useMemoCache) or
fallback to a polyfill supplied by `react-compiler-runtime` (note: this
is a separate npm package, not to be confused with
`react/compiler-runtime`, which is currently a part of react).
To do this we first need to re-export `useMemoCache` under the top level
React namespace again, which is additive and thus non-breaking. Doing so
allows `react-compiler-runtime` to statically either re-export
`React.__COMPILER_RUNTIME.c` or supply a polyfill, without the need for
a dynamic import which is finicky to support due to returning a promise.
In later PRs I will remove `react/compiler-runtime` and update the
compiler to emit imports to `react-compiler-runtime` instead.
DiffTrain build for [b78a7f2f35](https://github.com/facebook/react/commit/b78a7f2f35e554a8647c3262d7f392e68d06febc)
This commit is contained in:
@@ -1 +1 @@
|
||||
d8c90fa48d3addefe4b805ec56a3c65e4ee39127
|
||||
b78a7f2f35e554a8647c3262d7f392e68d06febc
|
||||
|
||||
@@ -1 +1 @@
|
||||
d8c90fa48d3addefe4b805ec56a3c65e4ee39127
|
||||
b78a7f2f35e554a8647c3262d7f392e68d06febc
|
||||
|
||||
@@ -1361,7 +1361,8 @@ __DEV__ &&
|
||||
return queueMicrotask(callback);
|
||||
});
|
||||
}
|
||||
: enqueueTask;
|
||||
: enqueueTask,
|
||||
ReactCompilerRuntime = { c: useMemoCache };
|
||||
exports.Children = {
|
||||
map: mapChildren,
|
||||
forEach: function (children, forEachFunc, forEachContext) {
|
||||
@@ -1403,6 +1404,7 @@ __DEV__ &&
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
||||
ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
|
||||
exports.act = function (callback) {
|
||||
var prevIsBatchingLegacy = disableLegacyMode
|
||||
? !1
|
||||
@@ -2000,7 +2002,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1357,7 +1357,8 @@ __DEV__ &&
|
||||
return queueMicrotask(callback);
|
||||
});
|
||||
}
|
||||
: enqueueTask;
|
||||
: enqueueTask,
|
||||
ReactCompilerRuntime = { c: useMemoCache };
|
||||
exports.Children = {
|
||||
map: mapChildren,
|
||||
forEach: function (children, forEachFunc, forEachContext) {
|
||||
@@ -1399,6 +1400,7 @@ __DEV__ &&
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
||||
ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
|
||||
exports.act = function (callback) {
|
||||
var prevActQueue = ReactSharedInternals.actQueue,
|
||||
prevActScopeDepth = actScopeDepth;
|
||||
@@ -1980,7 +1982,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -395,6 +395,7 @@ var reportGlobalError =
|
||||
console.error(error);
|
||||
};
|
||||
function noop() {}
|
||||
var ReactCompilerRuntime = { c: useMemoCache };
|
||||
exports.Children = {
|
||||
map: mapChildren,
|
||||
forEach: function (children, forEachFunc, forEachContext) {
|
||||
@@ -436,6 +437,7 @@ exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
||||
ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
|
||||
exports.act = function () {
|
||||
throw Error("act(...) is not supported in production builds of React.");
|
||||
};
|
||||
@@ -665,4 +667,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
|
||||
@@ -395,6 +395,7 @@ var reportGlobalError =
|
||||
console.error(error);
|
||||
};
|
||||
function noop() {}
|
||||
var ReactCompilerRuntime = { c: useMemoCache };
|
||||
exports.Children = {
|
||||
map: mapChildren,
|
||||
forEach: function (children, forEachFunc, forEachContext) {
|
||||
@@ -436,6 +437,7 @@ exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
||||
ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
|
||||
exports.act = function () {
|
||||
throw Error("act(...) is not supported in production builds of React.");
|
||||
};
|
||||
@@ -665,4 +667,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
|
||||
@@ -399,6 +399,7 @@ var reportGlobalError =
|
||||
console.error(error);
|
||||
};
|
||||
function noop() {}
|
||||
var ReactCompilerRuntime = { c: useMemoCache };
|
||||
exports.Children = {
|
||||
map: mapChildren,
|
||||
forEach: function (children, forEachFunc, forEachContext) {
|
||||
@@ -440,6 +441,7 @@ exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
||||
ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
|
||||
exports.act = function () {
|
||||
throw Error("act(...) is not supported in production builds of React.");
|
||||
};
|
||||
@@ -669,7 +671,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -399,6 +399,7 @@ var reportGlobalError =
|
||||
console.error(error);
|
||||
};
|
||||
function noop() {}
|
||||
var ReactCompilerRuntime = { c: useMemoCache };
|
||||
exports.Children = {
|
||||
map: mapChildren,
|
||||
forEach: function (children, forEachFunc, forEachContext) {
|
||||
@@ -440,6 +441,7 @@ exports.StrictMode = REACT_STRICT_MODE_TYPE;
|
||||
exports.Suspense = REACT_SUSPENSE_TYPE;
|
||||
exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
|
||||
ReactSharedInternals;
|
||||
exports.__COMPILER_RUNTIME = ReactCompilerRuntime;
|
||||
exports.act = function () {
|
||||
throw Error("act(...) is not supported in production builds of React.");
|
||||
};
|
||||
@@ -669,7 +671,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -17014,11 +17014,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-classic-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -17052,7 +17052,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -16457,11 +16457,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-modern-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16495,7 +16495,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -10826,13 +10826,13 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1467 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-classic-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1468 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10858,4 +10858,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
|
||||
@@ -10337,13 +10337,13 @@ var slice = Array.prototype.slice,
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1459 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-modern-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1460 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -10369,4 +10369,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
|
||||
@@ -27771,11 +27771,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-d8c90fa4-20241001" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-b78a7f2f-20241007" !== 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.0.0-www-classic-d8c90fa4-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27819,11 +27819,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-classic-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28476,7 +28476,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -26885,11 +26885,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-d8c90fa4-20241001" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-b78a7f2f-20241007" !== 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.0.0-www-modern-d8c90fa4-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -26932,11 +26932,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-modern-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27541,7 +27541,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -17412,14 +17412,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1774 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-d8c90fa4-20241001" !==
|
||||
"19.0.0-www-classic-b78a7f2f-20241007" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1774
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1774,
|
||||
"19.0.0-www-classic-d8c90fa4-20241001"
|
||||
"19.0.0-www-classic-b78a7f2f-20241007"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17464,11 +17464,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2287 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-classic-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2288 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17924,4 +17924,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
|
||||
@@ -16780,14 +16780,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1745 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-d8c90fa4-20241001" !==
|
||||
"19.0.0-www-modern-b78a7f2f-20241007" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1745
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1745,
|
||||
"19.0.0-www-modern-d8c90fa4-20241001"
|
||||
"19.0.0-www-modern-b78a7f2f-20241007"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16805,11 +16805,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2278 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-modern-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2279 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17172,4 +17172,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
|
||||
@@ -18137,14 +18137,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1867 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-d8c90fa4-20241001" !==
|
||||
"19.0.0-www-classic-b78a7f2f-20241007" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1867
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1867,
|
||||
"19.0.0-www-classic-d8c90fa4-20241001"
|
||||
"19.0.0-www-classic-b78a7f2f-20241007"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -18189,11 +18189,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_1874 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-classic-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1874.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -18652,7 +18652,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -17488,14 +17488,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1838 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-d8c90fa4-20241001" !==
|
||||
"19.0.0-www-modern-b78a7f2f-20241007" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1838
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1838,
|
||||
"19.0.0-www-modern-d8c90fa4-20241001"
|
||||
"19.0.0-www-modern-b78a7f2f-20241007"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17513,11 +17513,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_1840 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-modern-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1840.getLaneLabelMap = getLaneLabelMap),
|
||||
@@ -17883,7 +17883,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -8987,5 +8987,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.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
})();
|
||||
|
||||
@@ -8805,5 +8805,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.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
})();
|
||||
|
||||
@@ -5911,4 +5911,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.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
|
||||
@@ -5823,4 +5823,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.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
|
||||
@@ -28105,11 +28105,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-d8c90fa4-20241001" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-b78a7f2f-20241007" !== 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.0.0-www-classic-d8c90fa4-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -28153,11 +28153,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-classic-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28976,5 +28976,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
})();
|
||||
|
||||
@@ -27219,11 +27219,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-d8c90fa4-20241001" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-b78a7f2f-20241007" !== 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.0.0-www-modern-d8c90fa4-20241001\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27266,11 +27266,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-modern-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28041,5 +28041,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
})();
|
||||
|
||||
@@ -17741,14 +17741,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1804 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-d8c90fa4-20241001" !==
|
||||
"19.0.0-www-classic-b78a7f2f-20241007" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1804
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1804,
|
||||
"19.0.0-www-classic-d8c90fa4-20241001"
|
||||
"19.0.0-www-classic-b78a7f2f-20241007"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17793,11 +17793,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2322 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-classic-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2323 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -18404,4 +18404,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
|
||||
@@ -17109,14 +17109,14 @@ function getCrossOriginStringAs(as, input) {
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1775 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-d8c90fa4-20241001" !==
|
||||
"19.0.0-www-modern-b78a7f2f-20241007" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1775
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1775,
|
||||
"19.0.0-www-modern-d8c90fa4-20241001"
|
||||
"19.0.0-www-modern-b78a7f2f-20241007"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17134,11 +17134,11 @@ Internals.Events = [
|
||||
];
|
||||
var internals$jscomp$inline_2313 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-modern-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2314 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
@@ -17652,4 +17652,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
|
||||
@@ -19218,7 +19218,7 @@ __DEV__ &&
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -18609,7 +18609,7 @@ __DEV__ &&
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -12854,7 +12854,7 @@ module.exports = function ($$$config) {
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -12344,7 +12344,7 @@ module.exports = function ($$$config) {
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -14961,11 +14961,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-classic-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-classic-b78a7f2f-20241007"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15100,5 +15100,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-classic-b78a7f2f-20241007";
|
||||
})();
|
||||
|
||||
@@ -14961,11 +14961,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-d8c90fa4-20241001",
|
||||
version: "19.0.0-www-modern-b78a7f2f-20241007",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d8c90fa4-20241001"
|
||||
reconcilerVersion: "19.0.0-www-modern-b78a7f2f-20241007"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15100,5 +15100,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d8c90fa4-20241001";
|
||||
exports.version = "19.0.0-www-modern-b78a7f2f-20241007";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-classic-d8c90fa4-20241001
|
||||
19.0.0-www-classic-b78a7f2f-20241007
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-modern-d8c90fa4-20241001
|
||||
19.0.0-www-modern-b78a7f2f-20241007
|
||||
Reference in New Issue
Block a user