From fac54e07310efaf72d6cfa3a3f91136a2b869e4a Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Sun, 15 Dec 2024 09:41:35 -0800 Subject: [PATCH] [flags] Cleanup enableCache (#31778) This is landed everywhere DiffTrain build for [e06c72fcf4632ad3117add713a25f6354631f037](https://github.com/facebook/react/commit/e06c72fcf4632ad3117add713a25f6354631f037) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 10 ++++----- compiled/facebook-www/ReactART-dev.modern.js | 10 ++++----- .../facebook-www/ReactART-prod.classic.js | 18 +++++++-------- compiled/facebook-www/ReactART-prod.modern.js | 18 +++++++-------- compiled/facebook-www/ReactDOM-dev.classic.js | 14 ++++++------ compiled/facebook-www/ReactDOM-dev.modern.js | 14 ++++++------ .../facebook-www/ReactDOM-prod.classic.js | 22 +++++++++---------- compiled/facebook-www/ReactDOM-prod.modern.js | 22 +++++++++---------- .../ReactDOM-profiling.classic.js | 22 +++++++++---------- .../facebook-www/ReactDOM-profiling.modern.js | 22 +++++++++---------- .../ReactDOMServer-dev.classic.js | 8 +------ .../facebook-www/ReactDOMServer-dev.modern.js | 8 +------ .../ReactDOMServer-prod.classic.js | 8 +------ .../ReactDOMServer-prod.modern.js | 8 +------ .../ReactDOMServerStreaming-dev.modern.js | 6 ----- .../ReactDOMServerStreaming-prod.modern.js | 6 ----- .../ReactDOMTesting-dev.classic.js | 14 ++++++------ .../ReactDOMTesting-dev.modern.js | 14 ++++++------ .../ReactDOMTesting-prod.classic.js | 22 +++++++++---------- .../ReactDOMTesting-prod.modern.js | 22 +++++++++---------- .../ReactReconciler-dev.classic.js | 6 ++--- .../ReactReconciler-dev.modern.js | 6 ++--- .../ReactReconciler-prod.classic.js | 14 ++++++------ .../ReactReconciler-prod.modern.js | 14 ++++++------ .../ReactTestRenderer-dev.classic.js | 14 ++++++------ .../ReactTestRenderer-dev.modern.js | 14 ++++++------ compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 36 files changed, 170 insertions(+), 206 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 66d206d4d6..7c964f0061 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -2d320563f35ad75419983f166431055b4e7ed9f6 +e06c72fcf4632ad3117add713a25f6354631f037 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 66d206d4d6..7c964f0061 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -2d320563f35ad75419983f166431055b4e7ed9f6 +e06c72fcf4632ad3117add713a25f6354631f037 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 50f38cf568..9fd515c008 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -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 && diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index a8fccaf810..5d31ae7e51 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -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 && diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index 637b05df52..b2c83059ae 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 76cb7713cd..004dcabb47 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 03f6475982..32ea20bcdc 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -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 && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index fd533b51dc..138deb786e 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -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 && diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index 42b34756af..e861864ea1 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -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 && diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 1d0b2cb7ac..3cb379ceae 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -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 && diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index f5f95bb5ef..930bdb06a0 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 698c11bd06..279ffd5c02 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 4273f6adc0..b474179021 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -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 && diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 127fe35fb7..bc0f6e49d0 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -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 && diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index 84c915b995..40c82c29e8 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 4f5779236f..413bb1faf0 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index aaeb16685f..dec6bb7938 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -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 && diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index 5de8268d52..5f44a806c8 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -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 && diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index f107fcb0c5..6a49474963 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 4ff4cbb8fe..81ca0822e9 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 92be9d654f..61a45fb2b6 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 66d693e62b..83a061a3f4 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js index 4b08ef222c..bbc5bf5ca8 100644 --- a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js @@ -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; } diff --git a/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js b/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js index ececf75dcb..00d4fa658f 100644 --- a/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js @@ -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; } diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 2ca00dbd48..b76fe672bf 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 136be2805b..3495d094c3 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 9313b5f9c9..345d84914a 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -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"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 9a0e607add..4a73280063 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -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"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index f67ed3e9ab..850700d57f 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -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); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index 7bd9f20e73..9a9922ae9b 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -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); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 9e8ca4bcc1..9730c33265 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -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); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index e23f4bfd65..994734cd09 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -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); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index ac7e9c2fc0..e7905e09e7 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -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"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 7ec35c8124..3b42a1f4ca 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -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"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 2be5d77223..594ab28841 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.1.0-www-classic-2d320563-20241215 \ No newline at end of file +19.1.0-www-classic-e06c72fc-20241215 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index 661a9d82d7..031d5a7251 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.1.0-www-modern-2d320563-20241215 \ No newline at end of file +19.1.0-www-modern-e06c72fc-20241215 \ No newline at end of file