[flags] Cleanup enableCache (#31778)

This is landed everywhere

DiffTrain build for [e06c72fcf4](https://github.com/facebook/react/commit/e06c72fcf4632ad3117add713a25f6354631f037)
This commit is contained in:
rickhanlonii
2024-12-15 09:41:35 -08:00
parent 7be331e2ae
commit fac54e0731
36 changed files with 170 additions and 206 deletions
+1 -1
View File
@@ -1 +1 @@
2d320563f35ad75419983f166431055b4e7ed9f6
e06c72fcf4632ad3117add713a25f6354631f037
+1 -1
View File
@@ -1 +1 @@
2d320563f35ad75419983f166431055b4e7ed9f6
e06c72fcf4632ad3117add713a25f6354631f037
+1 -1
View File
@@ -1950,7 +1950,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1950,7 +1950,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -633,4 +633,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
+1 -1
View File
@@ -633,4 +633,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
@@ -637,7 +637,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -637,7 +637,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -15144,9 +15144,9 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -17015,10 +17015,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-2d320563-20241215",
version: "19.1.0-www-classic-e06c72fc-20241215",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17052,7 +17052,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -14897,9 +14897,9 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -16778,10 +16778,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-2d320563-20241215",
version: "19.1.0-www-modern-e06c72fc-20241215",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -16815,7 +16815,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -2948,9 +2948,9 @@ var ContextOnlyDispatcher = {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -3174,9 +3174,9 @@ var HooksDispatcherOnUpdate = {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -3231,9 +3231,9 @@ var HooksDispatcherOnRerender = {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -10817,10 +10817,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1500 = {
bundleType: 0,
version: "19.1.0-www-classic-2d320563-20241215",
version: "19.1.0-www-classic-e06c72fc-20241215",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1501 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10846,4 +10846,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
@@ -2795,9 +2795,9 @@ var ContextOnlyDispatcher = {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -3021,9 +3021,9 @@ var HooksDispatcherOnUpdate = {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -3078,9 +3078,9 @@ var HooksDispatcherOnRerender = {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -10533,10 +10533,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1479 = {
bundleType: 0,
version: "19.1.0-www-modern-2d320563-20241215",
version: "19.1.0-www-modern-e06c72fc-20241215",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1480 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10562,4 +10562,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
@@ -24955,9 +24955,9 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -27490,11 +27490,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-2d320563-20241215" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-e06c72fc-20241215" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-classic-2d320563-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27537,10 +27537,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-2d320563-20241215",
version: "19.1.0-www-classic-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28147,7 +28147,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+7 -7
View File
@@ -24736,9 +24736,9 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -27269,11 +27269,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-2d320563-20241215" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-e06c72fc-20241215" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-modern-2d320563-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27316,10 +27316,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-2d320563-20241215",
version: "19.1.0-www-modern-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -27926,7 +27926,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+11 -11
View File
@@ -3864,9 +3864,9 @@ var ContextOnlyDispatcher = {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -4120,9 +4120,9 @@ var HooksDispatcherOnUpdate = {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -4177,9 +4177,9 @@ var HooksDispatcherOnRerender = {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -17274,14 +17274,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1765 = React.version;
if (
"19.1.0-www-classic-2d320563-20241215" !==
"19.1.0-www-classic-e06c72fc-20241215" !==
isomorphicReactPackageVersion$jscomp$inline_1765
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1765,
"19.1.0-www-classic-2d320563-20241215"
"19.1.0-www-classic-e06c72fc-20241215"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17299,10 +17299,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2306 = {
bundleType: 0,
version: "19.1.0-www-classic-2d320563-20241215",
version: "19.1.0-www-classic-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2307 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17667,4 +17667,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
+11 -11
View File
@@ -3715,9 +3715,9 @@ var ContextOnlyDispatcher = {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -3971,9 +3971,9 @@ var HooksDispatcherOnUpdate = {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -4028,9 +4028,9 @@ var HooksDispatcherOnRerender = {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -17005,14 +17005,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1755 = React.version;
if (
"19.1.0-www-modern-2d320563-20241215" !==
"19.1.0-www-modern-e06c72fc-20241215" !==
isomorphicReactPackageVersion$jscomp$inline_1755
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1755,
"19.1.0-www-modern-2d320563-20241215"
"19.1.0-www-modern-e06c72fc-20241215"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17030,10 +17030,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2288 = {
bundleType: 0,
version: "19.1.0-www-modern-2d320563-20241215",
version: "19.1.0-www-modern-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2289 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17398,4 +17398,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
@@ -4035,9 +4035,9 @@ var ContextOnlyDispatcher = {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -4291,9 +4291,9 @@ var HooksDispatcherOnUpdate = {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -4348,9 +4348,9 @@ var HooksDispatcherOnRerender = {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -17963,14 +17963,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1858 = React.version;
if (
"19.1.0-www-classic-2d320563-20241215" !==
"19.1.0-www-classic-e06c72fc-20241215" !==
isomorphicReactPackageVersion$jscomp$inline_1858
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1858,
"19.1.0-www-classic-2d320563-20241215"
"19.1.0-www-classic-e06c72fc-20241215"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17988,10 +17988,10 @@ Internals.Events = [
];
var internals$jscomp$inline_1860 = {
bundleType: 0,
version: "19.1.0-www-classic-2d320563-20241215",
version: "19.1.0-www-classic-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1860.getLaneLabelMap = getLaneLabelMap),
@@ -18359,7 +18359,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -3886,9 +3886,9 @@ var ContextOnlyDispatcher = {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -4142,9 +4142,9 @@ var HooksDispatcherOnUpdate = {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -4199,9 +4199,9 @@ var HooksDispatcherOnRerender = {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -17693,14 +17693,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1848 = React.version;
if (
"19.1.0-www-modern-2d320563-20241215" !==
"19.1.0-www-modern-e06c72fc-20241215" !==
isomorphicReactPackageVersion$jscomp$inline_1848
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1848,
"19.1.0-www-modern-2d320563-20241215"
"19.1.0-www-modern-e06c72fc-20241215"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17718,10 +17718,10 @@ Internals.Events = [
];
var internals$jscomp$inline_1850 = {
bundleType: 0,
version: "19.1.0-www-modern-2d320563-20241215",
version: "19.1.0-www-modern-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_1850.getLaneLabelMap = getLaneLabelMap),
@@ -18089,7 +18089,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -4041,9 +4041,6 @@ __DEV__ &&
null === thenableState && (thenableState = []);
return trackUsedThenable(thenableState, thenable, index);
}
function unsupportedRefresh() {
throw Error("Cache cannot be refreshed during server rendering.");
}
function noop$1() {}
function disabledLog() {}
function disableLogs() {
@@ -9069,9 +9066,6 @@ __DEV__ &&
resolveCurrentlyRenderingComponent();
return NotPending;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
@@ -9156,5 +9150,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
})();
@@ -4033,9 +4033,6 @@ __DEV__ &&
null === thenableState && (thenableState = []);
return trackUsedThenable(thenableState, thenable, index);
}
function unsupportedRefresh() {
throw Error("Cache cannot be refreshed during server rendering.");
}
function noop$1() {}
function disabledLog() {}
function disableLogs() {
@@ -8895,9 +8892,6 @@ __DEV__ &&
resolveCurrentlyRenderingComponent();
return NotPending;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
@@ -8982,5 +8976,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
})();
@@ -3265,9 +3265,6 @@ function unwrapThenable(thenable) {
null === thenableState && (thenableState = []);
return trackUsedThenable(thenableState, thenable, index);
}
function unsupportedRefresh() {
throw Error(formatProdErrorMessage(393));
}
function noop$1() {}
var HooksDispatcher = {
readContext: function (context) {
@@ -3347,9 +3344,6 @@ var HooksDispatcher = {
resolveCurrentlyRenderingComponent();
return sharedNotPendingObject;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
@@ -5904,4 +5898,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
@@ -3255,9 +3255,6 @@ function unwrapThenable(thenable) {
null === thenableState && (thenableState = []);
return trackUsedThenable(thenableState, thenable, index);
}
function unsupportedRefresh() {
throw Error(formatProdErrorMessage(393));
}
function noop$1() {}
var HooksDispatcher = {
readContext: function (context) {
@@ -3337,9 +3334,6 @@ var HooksDispatcher = {
resolveCurrentlyRenderingComponent();
return sharedNotPendingObject;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
@@ -5816,4 +5810,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
@@ -3819,9 +3819,6 @@ __DEV__ &&
null === thenableState && (thenableState = []);
return trackUsedThenable(thenableState, thenable, index);
}
function unsupportedRefresh() {
throw Error("Cache cannot be refreshed during server rendering.");
}
function noop$1() {}
function disabledLog() {}
function disableLogs() {
@@ -8203,9 +8200,6 @@ __DEV__ &&
resolveCurrentlyRenderingComponent();
return NotPending;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
@@ -3136,9 +3136,6 @@ function unwrapThenable(thenable) {
null === thenableState && (thenableState = []);
return trackUsedThenable(thenableState, thenable, index);
}
function unsupportedRefresh() {
throw Error("Cache cannot be refreshed during server rendering.");
}
function noop$1() {}
var HooksDispatcher = {
readContext: function (context) {
@@ -3224,9 +3221,6 @@ var HooksDispatcher = {
resolveCurrentlyRenderingComponent();
return sharedNotPendingObject;
},
useCacheRefresh: function () {
return unsupportedRefresh;
},
useEffectEvent: function () {
return throwOnUseEffectEventCall;
}
@@ -25284,9 +25284,9 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -27824,11 +27824,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-classic-2d320563-20241215" !== isomorphicReactPackageVersion)
if ("19.1.0-www-classic-e06c72fc-20241215" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-classic-2d320563-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-classic-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27871,10 +27871,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-2d320563-20241215",
version: "19.1.0-www-classic-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28647,5 +28647,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
})();
@@ -25065,9 +25065,9 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -27603,11 +27603,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-www-modern-2d320563-20241215" !== isomorphicReactPackageVersion)
if ("19.1.0-www-modern-e06c72fc-20241215" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.1.0-www-modern-2d320563-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-www-modern-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -27650,10 +27650,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-2d320563-20241215",
version: "19.1.0-www-modern-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -28426,5 +28426,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
})();
@@ -3950,9 +3950,9 @@ var ContextOnlyDispatcher = {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -4206,9 +4206,9 @@ var HooksDispatcherOnUpdate = {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -4263,9 +4263,9 @@ var HooksDispatcherOnRerender = {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -17603,14 +17603,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1794 = React.version;
if (
"19.1.0-www-classic-2d320563-20241215" !==
"19.1.0-www-classic-e06c72fc-20241215" !==
isomorphicReactPackageVersion$jscomp$inline_1794
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1794,
"19.1.0-www-classic-2d320563-20241215"
"19.1.0-www-classic-e06c72fc-20241215"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17628,10 +17628,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2340 = {
bundleType: 0,
version: "19.1.0-www-classic-2d320563-20241215",
version: "19.1.0-www-classic-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2341 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18147,4 +18147,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
@@ -3801,9 +3801,9 @@ var ContextOnlyDispatcher = {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -4057,9 +4057,9 @@ var HooksDispatcherOnUpdate = {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -4114,9 +4114,9 @@ var HooksDispatcherOnRerender = {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -17334,14 +17334,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_1784 = React.version;
if (
"19.1.0-www-modern-2d320563-20241215" !==
"19.1.0-www-modern-e06c72fc-20241215" !==
isomorphicReactPackageVersion$jscomp$inline_1784
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1784,
"19.1.0-www-modern-2d320563-20241215"
"19.1.0-www-modern-e06c72fc-20241215"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -17359,10 +17359,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2322 = {
bundleType: 0,
version: "19.1.0-www-modern-2d320563-20241215",
version: "19.1.0-www-modern-e06c72fc-20241215",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2323 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17878,4 +17878,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
@@ -16899,9 +16899,9 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -19179,7 +19179,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -16674,9 +16674,9 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -18953,7 +18953,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -11969,9 +11969,9 @@ module.exports = function ($$$config) {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -12230,9 +12230,9 @@ module.exports = function ($$$config) {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -12287,9 +12287,9 @@ module.exports = function ($$$config) {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -12847,7 +12847,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -11688,9 +11688,9 @@ module.exports = function ($$$config) {
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
@@ -11949,9 +11949,9 @@ module.exports = function ($$$config) {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
@@ -12006,9 +12006,9 @@ module.exports = function ($$$config) {
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
},
useMemoCache: useMemoCache
useMemoCache: useMemoCache,
useCacheRefresh: updateRefresh
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useEffectEvent = updateEvent;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
@@ -12566,7 +12566,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13407,10 +13407,10 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
var HooksDispatcherOnMountInDEV = null,
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
},
HooksDispatcherOnMountInDEV = null,
HooksDispatcherOnMountWithHookTypesInDEV = null,
HooksDispatcherOnUpdateInDEV = null,
HooksDispatcherOnRerenderInDEV = null,
@@ -15003,10 +15003,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-classic-2d320563-20241215",
version: "19.1.0-www-classic-e06c72fc-20241215",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-classic-2d320563-20241215"
reconcilerVersion: "19.1.0-www-classic-e06c72fc-20241215"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15141,5 +15141,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-classic-2d320563-20241215";
exports.version = "19.1.0-www-classic-e06c72fc-20241215";
})();
@@ -13407,10 +13407,10 @@ __DEV__ &&
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
var HooksDispatcherOnMountInDEV = null,
useMemoCache: throwInvalidHookError,
useCacheRefresh: throwInvalidHookError
},
HooksDispatcherOnMountInDEV = null,
HooksDispatcherOnMountWithHookTypesInDEV = null,
HooksDispatcherOnUpdateInDEV = null,
HooksDispatcherOnRerenderInDEV = null,
@@ -15003,10 +15003,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-www-modern-2d320563-20241215",
version: "19.1.0-www-modern-e06c72fc-20241215",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-www-modern-2d320563-20241215"
reconcilerVersion: "19.1.0-www-modern-e06c72fc-20241215"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15141,5 +15141,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.1.0-www-modern-2d320563-20241215";
exports.version = "19.1.0-www-modern-e06c72fc-20241215";
})();
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-classic-2d320563-20241215
19.1.0-www-classic-e06c72fc-20241215
+1 -1
View File
@@ -1 +1 @@
19.1.0-www-modern-2d320563-20241215
19.1.0-www-modern-e06c72fc-20241215