Skip to content

Commit

Permalink
[flags] Delete enableSuspenseAvoidThisFallbackFizz (facebook#31779)
Browse files Browse the repository at this point in the history
We're not shipping `enableSuspenseAvoidThisFallback` and the fizz flag
is already off so we can delete it.

DiffTrain build for [9e2c233](facebook@9e2c233)
  • Loading branch information
pull[bot] committed Dec 14, 2024
1 parent e7358eb commit d42f100
Show file tree
Hide file tree
Showing 23 changed files with 904 additions and 906 deletions.
2 changes: 1 addition & 1 deletion compiled-rn/VERSION_NATIVE_FB
Original file line number Diff line number Diff line change
@@ -1 +1 @@
19.1.0-native-fb-15208027-20241213
19.1.0-native-fb-9e2c2331-20241214
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1b56f9b5a7232e45d2edb544e4a3f007>>
* @generated SignedSource<<7291728f480390b2252debc84f6fea00>>
*/

"use strict";
Expand Down Expand Up @@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-15208027-20241213";
exports.version = "19.1.0-native-fb-9e2c2331-20241214";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e5745ed2685e0a3d42d32ab25a6fe9a3>>
* @generated SignedSource<<750b2d06666d3559337bd9db530269cf>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-15208027-20241213";
exports.version = "19.1.0-native-fb-9e2c2331-20241214";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e5745ed2685e0a3d42d32ab25a6fe9a3>>
* @generated SignedSource<<750b2d06666d3559337bd9db530269cf>>
*/

"use strict";
Expand Down Expand Up @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-15208027-20241213";
exports.version = "19.1.0-native-fb-9e2c2331-20241214";
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<4513e46946bcee8ea9693f62feccd8dc>>
* @generated SignedSource<<db4ceffbac26f304c1b376b6fa4f7e53>>
*/

/*
Expand Down Expand Up @@ -5129,6 +5129,9 @@ __DEV__ &&
}
return workInProgressHook;
}
function createFunctionComponentUpdateQueue() {
return { lastEffect: null, events: null, stores: null, memoCache: null };
}
function useThenable(thenable) {
var index = thenableIndexCounter$1;
thenableIndexCounter$1 += 1;
Expand Down Expand Up @@ -23733,35 +23736,32 @@ __DEV__ &&
currentHookNameInDev = null,
hookTypesDev = null,
hookTypesUpdateIndexDev = -1,
ignorePreviousDependencies = !1;
var createFunctionComponentUpdateQueue = function () {
return { lastEffect: null, events: null, stores: null, memoCache: null };
};
var ContextOnlyDispatcher = {
readContext: readContext,
use: use,
useCallback: throwInvalidHookError,
useContext: throwInvalidHookError,
useEffect: throwInvalidHookError,
useImperativeHandle: throwInvalidHookError,
useLayoutEffect: throwInvalidHookError,
useInsertionEffect: throwInvalidHookError,
useMemo: throwInvalidHookError,
useReducer: throwInvalidHookError,
useRef: throwInvalidHookError,
useState: throwInvalidHookError,
useDebugValue: throwInvalidHookError,
useDeferredValue: throwInvalidHookError,
useTransition: throwInvalidHookError,
useSyncExternalStore: throwInvalidHookError,
useId: throwInvalidHookError,
useHostTransitionStatus: throwInvalidHookError,
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError
};
ignorePreviousDependencies = !1,
ContextOnlyDispatcher = {
readContext: readContext,
use: use,
useCallback: throwInvalidHookError,
useContext: throwInvalidHookError,
useEffect: throwInvalidHookError,
useImperativeHandle: throwInvalidHookError,
useLayoutEffect: throwInvalidHookError,
useInsertionEffect: throwInvalidHookError,
useMemo: throwInvalidHookError,
useReducer: throwInvalidHookError,
useRef: throwInvalidHookError,
useState: throwInvalidHookError,
useDebugValue: throwInvalidHookError,
useDeferredValue: throwInvalidHookError,
useTransition: throwInvalidHookError,
useSyncExternalStore: throwInvalidHookError,
useId: throwInvalidHookError,
useHostTransitionStatus: throwInvalidHookError,
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useMemoCache = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
var HooksDispatcherOnMountInDEV = null,
Expand Down Expand Up @@ -23899,13 +23899,13 @@ __DEV__ &&
return mountOptimistic(passthrough);
},
useHostTransitionStatus: useHostTransitionStatus,
useMemoCache: useMemoCache,
useCacheRefresh: function () {
currentHookNameInDev = "useCacheRefresh";
mountHookTypesDev();
return mountRefresh();
}
};
HooksDispatcherOnMountInDEV.useMemoCache = useMemoCache;
enableUseResourceEffectHook &&
(HooksDispatcherOnMountInDEV.useResourceEffect = function (
create,
Expand Down Expand Up @@ -24054,13 +24054,13 @@ __DEV__ &&
return mountOptimistic(passthrough);
},
useHostTransitionStatus: useHostTransitionStatus,
useMemoCache: useMemoCache,
useCacheRefresh: function () {
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return mountRefresh();
}
};
HooksDispatcherOnMountWithHookTypesInDEV.useMemoCache = useMemoCache;
enableUseResourceEffectHook &&
(HooksDispatcherOnMountWithHookTypesInDEV.useResourceEffect = function (
create,
Expand Down Expand Up @@ -24201,13 +24201,13 @@ __DEV__ &&
return updateOptimistic(passthrough, reducer);
},
useHostTransitionStatus: useHostTransitionStatus,
useMemoCache: useMemoCache,
useCacheRefresh: function () {
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
}
};
HooksDispatcherOnUpdateInDEV.useMemoCache = useMemoCache;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdateInDEV.useResourceEffect = function (
create,
Expand Down Expand Up @@ -24350,13 +24350,13 @@ __DEV__ &&
return rerenderOptimistic(passthrough, reducer);
},
useHostTransitionStatus: useHostTransitionStatus,
useMemoCache: useMemoCache,
useCacheRefresh: function () {
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
}
};
HooksDispatcherOnRerenderInDEV.useMemoCache = useMemoCache;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerenderInDEV.useResourceEffect = function (
create,
Expand Down Expand Up @@ -24519,15 +24519,15 @@ __DEV__ &&
mountHookTypesDev();
return mountOptimistic(passthrough);
},
useMemoCache: function (size) {
warnInvalidHookAccess();
return useMemoCache(size);
},
useHostTransitionStatus: useHostTransitionStatus,
useCacheRefresh: function () {
currentHookNameInDev = "useCacheRefresh";
mountHookTypesDev();
return mountRefresh();
},
useMemoCache: function (size) {
warnInvalidHookAccess();
return useMemoCache(size);
}
};
enableUseResourceEffectHook &&
Expand Down Expand Up @@ -24691,15 +24691,15 @@ __DEV__ &&
updateHookTypesDev();
return updateOptimistic(passthrough, reducer);
},
useMemoCache: function (size) {
warnInvalidHookAccess();
return useMemoCache(size);
},
useHostTransitionStatus: useHostTransitionStatus,
useCacheRefresh: function () {
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useMemoCache: function (size) {
warnInvalidHookAccess();
return useMemoCache(size);
}
};
enableUseResourceEffectHook &&
Expand Down Expand Up @@ -24865,15 +24865,15 @@ __DEV__ &&
updateHookTypesDev();
return rerenderOptimistic(passthrough, reducer);
},
useMemoCache: function (size) {
warnInvalidHookAccess();
return useMemoCache(size);
},
useHostTransitionStatus: useHostTransitionStatus,
useCacheRefresh: function () {
currentHookNameInDev = "useCacheRefresh";
updateHookTypesDev();
return updateWorkInProgressHook().memoizedState;
},
useMemoCache: function (size) {
warnInvalidHookAccess();
return useMemoCache(size);
}
};
enableUseResourceEffectHook &&
Expand Down Expand Up @@ -25892,11 +25892,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-15208027-20241213" !== isomorphicReactPackageVersion)
if ("19.1.0-native-fb-9e2c2331-20241214" !== 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-native-fb-15208027-20241213\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.1.0-native-fb-9e2c2331-20241214\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
Expand Down Expand Up @@ -25933,10 +25933,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-15208027-20241213",
version: "19.1.0-native-fb-9e2c2331-20241214",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-15208027-20241213"
reconcilerVersion: "19.1.0-native-fb-9e2c2331-20241214"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
Expand Down Expand Up @@ -26082,5 +26082,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-15208027-20241213";
exports.version = "19.1.0-native-fb-9e2c2331-20241214";
})();
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<fdcdea3344eac0384906d2150e8a0678>>
* @generated SignedSource<<a22926df3838f5b3e46886d7d7143778>>
*/

/*
Expand Down Expand Up @@ -3253,10 +3253,9 @@ function updateWorkInProgressHook() {
}
return workInProgressHook;
}
var createFunctionComponentUpdateQueue;
createFunctionComponentUpdateQueue = function () {
function createFunctionComponentUpdateQueue() {
return { lastEffect: null, events: null, stores: null, memoCache: null };
};
}
function useThenable(thenable) {
var index = thenableIndexCounter$1;
thenableIndexCounter$1 += 1;
Expand Down Expand Up @@ -4296,10 +4295,10 @@ var ContextOnlyDispatcher = {
useHostTransitionStatus: throwInvalidHookError,
useFormState: throwInvalidHookError,
useActionState: throwInvalidHookError,
useOptimistic: throwInvalidHookError
useOptimistic: throwInvalidHookError,
useMemoCache: throwInvalidHookError
};
ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
ContextOnlyDispatcher.useMemoCache = throwInvalidHookError;
enableUseResourceEffectHook &&
(ContextOnlyDispatcher.useResourceEffect = throwInvalidHookError);
var HooksDispatcherOnMount = {
Expand Down Expand Up @@ -4485,14 +4484,14 @@ var HooksDispatcherOnMount = {
queue.dispatch = hook;
return [passthrough, hook];
},
useMemoCache: useMemoCache,
useCacheRefresh: function () {
return (mountWorkInProgressHook().memoizedState = refreshCache.bind(
null,
currentlyRenderingFiber$1
));
}
};
HooksDispatcherOnMount.useMemoCache = useMemoCache;
enableUseResourceEffectHook &&
(HooksDispatcherOnMount.useResourceEffect = mountResourceEffect);
var HooksDispatcherOnUpdate = {
Expand Down Expand Up @@ -4538,10 +4537,10 @@ var HooksDispatcherOnUpdate = {
useOptimistic: function (passthrough, reducer) {
var hook = updateWorkInProgressHook();
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
}
},
useMemoCache: useMemoCache
};
HooksDispatcherOnUpdate.useCacheRefresh = updateRefresh;
HooksDispatcherOnUpdate.useMemoCache = useMemoCache;
enableUseResourceEffectHook &&
(HooksDispatcherOnUpdate.useResourceEffect = updateResourceEffect);
var HooksDispatcherOnRerender = {
Expand Down Expand Up @@ -4592,10 +4591,10 @@ var HooksDispatcherOnRerender = {
return updateOptimisticImpl(hook, currentHook, passthrough, reducer);
hook.baseState = passthrough;
return [passthrough, hook.queue.dispatch];
}
},
useMemoCache: useMemoCache
};
HooksDispatcherOnRerender.useCacheRefresh = updateRefresh;
HooksDispatcherOnRerender.useMemoCache = useMemoCache;
enableUseResourceEffectHook &&
(HooksDispatcherOnRerender.useResourceEffect = updateResourceEffect);
var thenableState = null,
Expand Down Expand Up @@ -15869,14 +15868,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1722 = React.version;
if (
"19.1.0-native-fb-15208027-20241213" !==
"19.1.0-native-fb-9e2c2331-20241214" !==
isomorphicReactPackageVersion$jscomp$inline_1722
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1722,
"19.1.0-native-fb-15208027-20241213"
"19.1.0-native-fb-9e2c2331-20241214"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15898,10 +15897,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2177 = {
bundleType: 0,
version: "19.1.0-native-fb-15208027-20241213",
version: "19.1.0-native-fb-9e2c2331-20241214",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-15208027-20241213"
reconcilerVersion: "19.1.0-native-fb-9e2c2331-20241214"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2178 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
Expand Down Expand Up @@ -16007,4 +16006,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-15208027-20241213";
exports.version = "19.1.0-native-fb-9e2c2331-20241214";
Loading

0 comments on commit d42f100

Please sign in to comment.