|
7 | 7 | * @noflow |
8 | 8 | * @nolint |
9 | 9 | * @preventMunge |
10 | | - * @generated SignedSource<<4513e46946bcee8ea9693f62feccd8dc>> |
| 10 | + * @generated SignedSource<<db4ceffbac26f304c1b376b6fa4f7e53>> |
11 | 11 | */ |
12 | 12 |
|
13 | 13 | /* |
@@ -5129,6 +5129,9 @@ __DEV__ && |
5129 | 5129 | } |
5130 | 5130 | return workInProgressHook; |
5131 | 5131 | } |
| 5132 | + function createFunctionComponentUpdateQueue() { |
| 5133 | + return { lastEffect: null, events: null, stores: null, memoCache: null }; |
| 5134 | + } |
5132 | 5135 | function useThenable(thenable) { |
5133 | 5136 | var index = thenableIndexCounter$1; |
5134 | 5137 | thenableIndexCounter$1 += 1; |
@@ -23733,35 +23736,32 @@ __DEV__ && |
23733 | 23736 | currentHookNameInDev = null, |
23734 | 23737 | hookTypesDev = null, |
23735 | 23738 | hookTypesUpdateIndexDev = -1, |
23736 | | - ignorePreviousDependencies = !1; |
23737 | | - var createFunctionComponentUpdateQueue = function () { |
23738 | | - return { lastEffect: null, events: null, stores: null, memoCache: null }; |
23739 | | - }; |
23740 | | - var ContextOnlyDispatcher = { |
23741 | | - readContext: readContext, |
23742 | | - use: use, |
23743 | | - useCallback: throwInvalidHookError, |
23744 | | - useContext: throwInvalidHookError, |
23745 | | - useEffect: throwInvalidHookError, |
23746 | | - useImperativeHandle: throwInvalidHookError, |
23747 | | - useLayoutEffect: throwInvalidHookError, |
23748 | | - useInsertionEffect: throwInvalidHookError, |
23749 | | - useMemo: throwInvalidHookError, |
23750 | | - useReducer: throwInvalidHookError, |
23751 | | - useRef: throwInvalidHookError, |
23752 | | - useState: throwInvalidHookError, |
23753 | | - useDebugValue: throwInvalidHookError, |
23754 | | - useDeferredValue: throwInvalidHookError, |
23755 | | - useTransition: throwInvalidHookError, |
23756 | | - useSyncExternalStore: throwInvalidHookError, |
23757 | | - useId: throwInvalidHookError, |
23758 | | - useHostTransitionStatus: throwInvalidHookError, |
23759 | | - useFormState: throwInvalidHookError, |
23760 | | - useActionState: throwInvalidHookError, |
23761 | | - useOptimistic: throwInvalidHookError |
23762 | | - }; |
| 23739 | + ignorePreviousDependencies = !1, |
| 23740 | + ContextOnlyDispatcher = { |
| 23741 | + readContext: readContext, |
| 23742 | + use: use, |
| 23743 | + useCallback: throwInvalidHookError, |
| 23744 | + useContext: throwInvalidHookError, |
| 23745 | + useEffect: throwInvalidHookError, |
| 23746 | + useImperativeHandle: throwInvalidHookError, |
| 23747 | + useLayoutEffect: throwInvalidHookError, |
| 23748 | + useInsertionEffect: throwInvalidHookError, |
| 23749 | + useMemo: throwInvalidHookError, |
| 23750 | + useReducer: throwInvalidHookError, |
| 23751 | + useRef: throwInvalidHookError, |
| 23752 | + useState: throwInvalidHookError, |
| 23753 | + useDebugValue: throwInvalidHookError, |
| 23754 | + useDeferredValue: throwInvalidHookError, |
| 23755 | + useTransition: throwInvalidHookError, |
| 23756 | + useSyncExternalStore: throwInvalidHookError, |
| 23757 | + useId: throwInvalidHookError, |
| 23758 | + useHostTransitionStatus: throwInvalidHookError, |
| 23759 | + useFormState: throwInvalidHookError, |
| 23760 | + useActionState: throwInvalidHookError, |
| 23761 | + useOptimistic: throwInvalidHookError, |
| 23762 | + useMemoCache: throwInvalidHookError |
| 23763 | + }; |
23763 | 23764 | ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError; |
23764 | | - ContextOnlyDispatcher.useMemoCache = throwInvalidHookError; |
23765 | 23765 | enableUseResourceEffectHook && |
23766 | 23766 | (ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError); |
23767 | 23767 | var HooksDispatcherOnMountInDEV = null, |
@@ -23899,13 +23899,13 @@ __DEV__ && |
23899 | 23899 | return mountOptimistic(passthrough); |
23900 | 23900 | }, |
23901 | 23901 | useHostTransitionStatus: useHostTransitionStatus, |
| 23902 | + useMemoCache: useMemoCache, |
23902 | 23903 | useCacheRefresh: function () { |
23903 | 23904 | currentHookNameInDev = "useCacheRefresh"; |
23904 | 23905 | mountHookTypesDev(); |
23905 | 23906 | return mountRefresh(); |
23906 | 23907 | } |
23907 | 23908 | }; |
23908 | | - HooksDispatcherOnMountInDEV.useMemoCache = useMemoCache; |
23909 | 23909 | enableUseResourceEffectHook && |
23910 | 23910 | (HooksDispatcherOnMountInDEV.useResourceEffect = function ( |
23911 | 23911 | create, |
@@ -24054,13 +24054,13 @@ __DEV__ && |
24054 | 24054 | return mountOptimistic(passthrough); |
24055 | 24055 | }, |
24056 | 24056 | useHostTransitionStatus: useHostTransitionStatus, |
| 24057 | + useMemoCache: useMemoCache, |
24057 | 24058 | useCacheRefresh: function () { |
24058 | 24059 | currentHookNameInDev = "useCacheRefresh"; |
24059 | 24060 | updateHookTypesDev(); |
24060 | 24061 | return mountRefresh(); |
24061 | 24062 | } |
24062 | 24063 | }; |
24063 | | - HooksDispatcherOnMountWithHookTypesInDEV.useMemoCache = useMemoCache; |
24064 | 24064 | enableUseResourceEffectHook && |
24065 | 24065 | (HooksDispatcherOnMountWithHookTypesInDEV.useResourceEffect = function ( |
24066 | 24066 | create, |
@@ -24201,13 +24201,13 @@ __DEV__ && |
24201 | 24201 | return updateOptimistic(passthrough, reducer); |
24202 | 24202 | }, |
24203 | 24203 | useHostTransitionStatus: useHostTransitionStatus, |
| 24204 | + useMemoCache: useMemoCache, |
24204 | 24205 | useCacheRefresh: function () { |
24205 | 24206 | currentHookNameInDev = "useCacheRefresh"; |
24206 | 24207 | updateHookTypesDev(); |
24207 | 24208 | return updateWorkInProgressHook().memoizedState; |
24208 | 24209 | } |
24209 | 24210 | }; |
24210 | | - HooksDispatcherOnUpdateInDEV.useMemoCache = useMemoCache; |
24211 | 24211 | enableUseResourceEffectHook && |
24212 | 24212 | (HooksDispatcherOnUpdateInDEV.useResourceEffect = function ( |
24213 | 24213 | create, |
@@ -24350,13 +24350,13 @@ __DEV__ && |
24350 | 24350 | return rerenderOptimistic(passthrough, reducer); |
24351 | 24351 | }, |
24352 | 24352 | useHostTransitionStatus: useHostTransitionStatus, |
| 24353 | + useMemoCache: useMemoCache, |
24353 | 24354 | useCacheRefresh: function () { |
24354 | 24355 | currentHookNameInDev = "useCacheRefresh"; |
24355 | 24356 | updateHookTypesDev(); |
24356 | 24357 | return updateWorkInProgressHook().memoizedState; |
24357 | 24358 | } |
24358 | 24359 | }; |
24359 | | - HooksDispatcherOnRerenderInDEV.useMemoCache = useMemoCache; |
24360 | 24360 | enableUseResourceEffectHook && |
24361 | 24361 | (HooksDispatcherOnRerenderInDEV.useResourceEffect = function ( |
24362 | 24362 | create, |
@@ -24519,15 +24519,15 @@ __DEV__ && |
24519 | 24519 | mountHookTypesDev(); |
24520 | 24520 | return mountOptimistic(passthrough); |
24521 | 24521 | }, |
| 24522 | + useMemoCache: function (size) { |
| 24523 | + warnInvalidHookAccess(); |
| 24524 | + return useMemoCache(size); |
| 24525 | + }, |
24522 | 24526 | useHostTransitionStatus: useHostTransitionStatus, |
24523 | 24527 | useCacheRefresh: function () { |
24524 | 24528 | currentHookNameInDev = "useCacheRefresh"; |
24525 | 24529 | mountHookTypesDev(); |
24526 | 24530 | return mountRefresh(); |
24527 | | - }, |
24528 | | - useMemoCache: function (size) { |
24529 | | - warnInvalidHookAccess(); |
24530 | | - return useMemoCache(size); |
24531 | 24531 | } |
24532 | 24532 | }; |
24533 | 24533 | enableUseResourceEffectHook && |
@@ -24691,15 +24691,15 @@ __DEV__ && |
24691 | 24691 | updateHookTypesDev(); |
24692 | 24692 | return updateOptimistic(passthrough, reducer); |
24693 | 24693 | }, |
| 24694 | + useMemoCache: function (size) { |
| 24695 | + warnInvalidHookAccess(); |
| 24696 | + return useMemoCache(size); |
| 24697 | + }, |
24694 | 24698 | useHostTransitionStatus: useHostTransitionStatus, |
24695 | 24699 | useCacheRefresh: function () { |
24696 | 24700 | currentHookNameInDev = "useCacheRefresh"; |
24697 | 24701 | updateHookTypesDev(); |
24698 | 24702 | return updateWorkInProgressHook().memoizedState; |
24699 | | - }, |
24700 | | - useMemoCache: function (size) { |
24701 | | - warnInvalidHookAccess(); |
24702 | | - return useMemoCache(size); |
24703 | 24703 | } |
24704 | 24704 | }; |
24705 | 24705 | enableUseResourceEffectHook && |
@@ -24865,15 +24865,15 @@ __DEV__ && |
24865 | 24865 | updateHookTypesDev(); |
24866 | 24866 | return rerenderOptimistic(passthrough, reducer); |
24867 | 24867 | }, |
| 24868 | + useMemoCache: function (size) { |
| 24869 | + warnInvalidHookAccess(); |
| 24870 | + return useMemoCache(size); |
| 24871 | + }, |
24868 | 24872 | useHostTransitionStatus: useHostTransitionStatus, |
24869 | 24873 | useCacheRefresh: function () { |
24870 | 24874 | currentHookNameInDev = "useCacheRefresh"; |
24871 | 24875 | updateHookTypesDev(); |
24872 | 24876 | return updateWorkInProgressHook().memoizedState; |
24873 | | - }, |
24874 | | - useMemoCache: function (size) { |
24875 | | - warnInvalidHookAccess(); |
24876 | | - return useMemoCache(size); |
24877 | 24877 | } |
24878 | 24878 | }; |
24879 | 24879 | enableUseResourceEffectHook && |
@@ -25892,11 +25892,11 @@ __DEV__ && |
25892 | 25892 | }; |
25893 | 25893 | (function () { |
25894 | 25894 | var isomorphicReactPackageVersion = React.version; |
25895 | | - if ("19.1.0-native-fb-15208027-20241213" !== isomorphicReactPackageVersion) |
| 25895 | + if ("19.1.0-native-fb-9e2c2331-20241214" !== isomorphicReactPackageVersion) |
25896 | 25896 | throw Error( |
25897 | 25897 | 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + |
25898 | 25898 | (isomorphicReactPackageVersion + |
25899 | | - "\n - react-dom: 19.1.0-native-fb-15208027-20241213\nLearn more: https://react.dev/warnings/version-mismatch") |
| 25899 | + "\n - react-dom: 19.1.0-native-fb-9e2c2331-20241214\nLearn more: https://react.dev/warnings/version-mismatch") |
25900 | 25900 | ); |
25901 | 25901 | })(); |
25902 | 25902 | ("function" === typeof Map && |
@@ -25933,10 +25933,10 @@ __DEV__ && |
25933 | 25933 | !(function () { |
25934 | 25934 | var internals = { |
25935 | 25935 | bundleType: 1, |
25936 | | - version: "19.1.0-native-fb-15208027-20241213", |
| 25936 | + version: "19.1.0-native-fb-9e2c2331-20241214", |
25937 | 25937 | rendererPackageName: "react-dom", |
25938 | 25938 | currentDispatcherRef: ReactSharedInternals, |
25939 | | - reconcilerVersion: "19.1.0-native-fb-15208027-20241213" |
| 25939 | + reconcilerVersion: "19.1.0-native-fb-9e2c2331-20241214" |
25940 | 25940 | }; |
25941 | 25941 | internals.overrideHookState = overrideHookState; |
25942 | 25942 | internals.overrideHookStateDeletePath = overrideHookStateDeletePath; |
@@ -26082,5 +26082,5 @@ __DEV__ && |
26082 | 26082 | listenToAllSupportedEvents(container); |
26083 | 26083 | return new ReactDOMHydrationRoot(initialChildren); |
26084 | 26084 | }; |
26085 | | - exports.version = "19.1.0-native-fb-15208027-20241213"; |
| 26085 | + exports.version = "19.1.0-native-fb-9e2c2331-20241214"; |
26086 | 26086 | })(); |
0 commit comments