From 981fe2b1a3447fc0803f6211592d9885aef3aff0 Mon Sep 17 00:00:00 2001 From: poteto Date: Fri, 12 Jul 2024 16:17:19 +0000 Subject: [PATCH] [RN] Set enableOwnerStacks and enableUseDeferredValueInitialArg to false In www, the experimental versions get a .modern.js or .classic.js prefix and get copied into the same folder. In RN, they don't seem to have .modern.js and .classic.js versions so they end up getting the same name. sebmarkbage's theory is that what happens is that they then override the file that was already there. So depending on if experimental or stable build finishes first you get a different version at the end. It doesn't make sense to use `__EXPERIMENTAL__` for flags in native-fb since there's no modern/classic split there. So that flag should just be hardcoded to true or false and then it doesn't matter which one finishes first. We don't support experimental builds in OSS RN neither so the same thing could happen with [`enableOwnerStacks`](https://github.com/facebook/react/blob/5dcf3ca8d45a276a8b4cee0cedd234967661ca35/packages/shared/forks/ReactFeatureFlags.native-oss.js#L60). You can see that the build errors in the previous PR but passes after these flag changes. ghstack-source-id: d10f37bcea0e485fdb4f136370c179999badd560 Pull Request resolved: https://github.com/facebook/react/pull/30322 DiffTrain build for commit https://github.com/facebook/react/commit/ff3f1fac65e7b82efe3f90af42af1278bc6f1d5d. --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../cjs/ReactTestRenderer-dev.js | 100 +++++++++++------- .../cjs/ReactTestRenderer-prod.js | 94 +++++++++------- .../cjs/ReactTestRenderer-profiling.js | 80 +++++++++----- .../vendor/react/react/cjs/React-dev.js | 4 +- .../vendor/react/react/cjs/React-prod.js | 4 +- .../vendor/react/react/cjs/React-profiling.js | 4 +- .../Libraries/Renderer/REVISION | 2 +- .../implementations/ReactFabric-dev.fb.js | 6 +- .../implementations/ReactFabric-prod.fb.js | 6 +- .../ReactFabric-profiling.fb.js | 6 +- .../ReactNativeRenderer-dev.fb.js | 10 +- .../ReactNativeRenderer-prod.fb.js | 10 +- .../ReactNativeRenderer-profiling.fb.js | 10 +- 14 files changed, 202 insertions(+), 136 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 452800fa1f298..0da8e4b29c882 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.0.0-native-fb-433068ee-20240711 \ No newline at end of file +19.0.0-native-fb-ff3f1fac-20240712 \ No newline at end of file diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js index 80bb4bc4e8e1e..2e80ca5deee40 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,13 +7,13 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<333ee47fc63e94412bc1786f307125aa>> + * @generated SignedSource<> */ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1106() { + function JSCompiler_object_inline_createNodeMock_1089() { return null; } function findHook(fiber, id) { @@ -4693,38 +4693,50 @@ __DEV__ && hook.memoizedState = [prevState, deps]; return prevState; } - function mountDeferredValue(value) { - mountWorkInProgressHook().memoizedState = value; - return value; + function mountDeferredValue(value, initialValue) { + var hook = mountWorkInProgressHook(); + return mountDeferredValueImpl(hook, value, initialValue); } - function updateDeferredValue(value) { + function updateDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); - return updateDeferredValueImpl(hook, currentHook.memoizedState, value); + return updateDeferredValueImpl( + hook, + currentHook.memoizedState, + value, + initialValue + ); } - function rerenderDeferredValue(value) { + function rerenderDeferredValue(value, initialValue) { var hook = updateWorkInProgressHook(); return null === currentHook - ? ((hook.memoizedState = value), value) - : updateDeferredValueImpl(hook, currentHook.memoizedState, value); + ? mountDeferredValueImpl(hook, value, initialValue) + : updateDeferredValueImpl( + hook, + currentHook.memoizedState, + value, + initialValue + ); } - function updateDeferredValueImpl(hook, prevValue, value) { + function mountDeferredValueImpl(hook, value, initialValue) { + if (void 0 === initialValue || 0 !== (renderLanes & DeferredLane)) + return (hook.memoizedState = value); + hook.memoizedState = initialValue; + hook = requestDeferredLane(); + currentlyRenderingFiber$1.lanes |= hook; + workInProgressRootSkippedLanes |= hook; + return initialValue; + } + function updateDeferredValueImpl(hook, prevValue, value, initialValue) { if (objectIs(value, prevValue)) return value; if (null !== currentTreeHiddenStackCursor.current) return ( - (hook.memoizedState = value), - objectIs(value, prevValue) || (didReceiveUpdate = !0), - value + (hook = mountDeferredValueImpl(hook, value, initialValue)), + objectIs(hook, prevValue) || (didReceiveUpdate = !0), + hook ); if (0 === (renderLanes & (SyncLane | InputContinuousLane | DefaultLane))) return (didReceiveUpdate = !0), (hook.memoizedState = value); - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & OffscreenLane) - ? OffscreenLane - : claimNextTransitionLane()); - hook = suspenseHandlerStackCursor.current; - null !== hook && (hook.flags |= 32); - hook = workInProgressDeferredLane; + hook = requestDeferredLane(); currentlyRenderingFiber$1.lanes |= hook; workInProgressRootSkippedLanes |= hook; return prevValue; @@ -10680,6 +10692,16 @@ __DEV__ && : DefaultEventPriority; return fiber; } + function requestDeferredLane() { + 0 === workInProgressDeferredLane && + (workInProgressDeferredLane = + 0 !== (workInProgressRootRenderLanes & OffscreenLane) + ? OffscreenLane + : claimNextTransitionLane()); + var suspenseHandler = suspenseHandlerStackCursor.current; + null !== suspenseHandler && (suspenseHandler.flags |= 32); + return workInProgressDeferredLane; + } function scheduleUpdateOnFiber(root, fiber, lane) { isRunningInsertionEffect && error$jscomp$0("useInsertionEffect must not schedule updates."); @@ -13776,10 +13798,10 @@ __DEV__ && currentHookNameInDev = "useDebugValue"; mountHookTypesDev(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; mountHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; @@ -13901,10 +13923,10 @@ __DEV__ && currentHookNameInDev = "useDebugValue"; updateHookTypesDev(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; updateHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; @@ -14031,10 +14053,10 @@ __DEV__ && currentHookNameInDev = "useDebugValue"; updateHookTypesDev(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; @@ -14156,10 +14178,10 @@ __DEV__ && currentHookNameInDev = "useDebugValue"; updateHookTypesDev(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; updateHookTypesDev(); - return rerenderDeferredValue(value); + return rerenderDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; @@ -14296,11 +14318,11 @@ __DEV__ && warnInvalidHookAccess(); mountHookTypesDev(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; warnInvalidHookAccess(); mountHookTypesDev(); - return mountDeferredValue(value); + return mountDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; @@ -14450,11 +14472,11 @@ __DEV__ && warnInvalidHookAccess(); updateHookTypesDev(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; warnInvalidHookAccess(); updateHookTypesDev(); - return updateDeferredValue(value); + return updateDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; @@ -14601,11 +14623,11 @@ __DEV__ && warnInvalidHookAccess(); updateHookTypesDev(); }, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { currentHookNameInDev = "useDeferredValue"; warnInvalidHookAccess(); updateHookTypesDev(); - return rerenderDeferredValue(value); + return rerenderDeferredValue(value, initialValue); }, useTransition: function () { currentHookNameInDev = "useTransition"; @@ -15169,20 +15191,20 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }); })({ findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 1, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-test-renderer" }); exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1106, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1089, isConcurrent = !1, isStrictMode = !1, concurrentUpdatesByDefault = null; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js index f80cada46f8e5..2e5ec64e31b29 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<770de2d7f078e68aa256a0a52d0270ef>> + * @generated SignedSource<> */ "use strict"; @@ -3072,24 +3072,26 @@ function updateMemo(nextCreate, deps) { hook.memoizedState = [prevState, deps]; return prevState; } -function updateDeferredValueImpl(hook, prevValue, value) { +function mountDeferredValueImpl(hook, value, initialValue) { + if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + return (hook.memoizedState = value); + hook.memoizedState = initialValue; + hook = requestDeferredLane(); + currentlyRenderingFiber$1.lanes |= hook; + workInProgressRootSkippedLanes |= hook; + return initialValue; +} +function updateDeferredValueImpl(hook, prevValue, value, initialValue) { if (objectIs(value, prevValue)) return value; if (null !== currentTreeHiddenStackCursor.current) return ( - (hook.memoizedState = value), - objectIs(value, prevValue) || (didReceiveUpdate = !0), - value + (hook = mountDeferredValueImpl(hook, value, initialValue)), + objectIs(hook, prevValue) || (didReceiveUpdate = !0), + hook ); if (0 === (renderLanes & 42)) return (didReceiveUpdate = !0), (hook.memoizedState = value); - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & 536870912) - ? 536870912 - : claimNextTransitionLane()); - hook = suspenseHandlerStackCursor.current; - null !== hook && (hook.flags |= 32); - hook = workInProgressDeferredLane; + hook = requestDeferredLane(); currentlyRenderingFiber$1.lanes |= hook; workInProgressRootSkippedLanes |= hook; return prevValue; @@ -3353,9 +3355,9 @@ var HooksDispatcherOnMount = { return [initialState.memoizedState, dispatch]; }, useDebugValue: mountDebugValue, - useDeferredValue: function (value) { - mountWorkInProgressHook().memoizedState = value; - return value; + useDeferredValue: function (value, initialValue) { + var hook = mountWorkInProgressHook(); + return mountDeferredValueImpl(hook, value, initialValue); }, useTransition: function () { var stateHook = mountStateImpl(!1); @@ -3450,9 +3452,14 @@ var HooksDispatcherOnUpdate = { return updateReducer(basicStateReducer); }, useDebugValue: mountDebugValue, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { var hook = updateWorkInProgressHook(); - return updateDeferredValueImpl(hook, currentHook.memoizedState, value); + return updateDeferredValueImpl( + hook, + currentHook.memoizedState, + value, + initialValue + ); }, useTransition: function () { var booleanOrThenable = updateReducer(basicStateReducer)[0], @@ -3492,11 +3499,16 @@ var HooksDispatcherOnRerender = { return rerenderReducer(basicStateReducer); }, useDebugValue: mountDebugValue, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { var hook = updateWorkInProgressHook(); return null === currentHook - ? ((hook.memoizedState = value), value) - : updateDeferredValueImpl(hook, currentHook.memoizedState, value); + ? mountDeferredValueImpl(hook, value, initialValue) + : updateDeferredValueImpl( + hook, + currentHook.memoizedState, + value, + initialValue + ); }, useTransition: function () { var booleanOrThenable = rerenderReducer(basicStateReducer)[0], @@ -7633,6 +7645,16 @@ function requestUpdateLane(fiber) { fiber = 0 !== currentUpdatePriority ? currentUpdatePriority : 32; return fiber; } +function requestDeferredLane() { + 0 === workInProgressDeferredLane && + (workInProgressDeferredLane = + 0 !== (workInProgressRootRenderLanes & 536870912) + ? 536870912 + : claimNextTransitionLane()); + var suspenseHandler = suspenseHandlerStackCursor.current; + null !== suspenseHandler && (suspenseHandler.flags |= 32); + return workInProgressDeferredLane; +} function scheduleUpdateOnFiber(root, fiber, lane) { if ( (root === workInProgressRoot && 2 === workInProgressSuspendedReason) || @@ -9379,19 +9401,19 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var devToolsConfig$jscomp$inline_1053 = { +var devToolsConfig$jscomp$inline_1034 = { findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-test-renderer" }; -var internals$jscomp$inline_1240 = { - bundleType: devToolsConfig$jscomp$inline_1053.bundleType, - version: devToolsConfig$jscomp$inline_1053.version, - rendererPackageName: devToolsConfig$jscomp$inline_1053.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1053.rendererConfig, +var internals$jscomp$inline_1223 = { + bundleType: devToolsConfig$jscomp$inline_1034.bundleType, + version: devToolsConfig$jscomp$inline_1034.version, + rendererPackageName: devToolsConfig$jscomp$inline_1034.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1034.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -9408,26 +9430,26 @@ var internals$jscomp$inline_1240 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1053.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1034.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1241 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1224 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1241.isDisabled && - hook$jscomp$inline_1241.supportsFiber + !hook$jscomp$inline_1224.isDisabled && + hook$jscomp$inline_1224.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1241.inject( - internals$jscomp$inline_1240 + (rendererID = hook$jscomp$inline_1224.inject( + internals$jscomp$inline_1223 )), - (injectedHook = hook$jscomp$inline_1241); + (injectedHook = hook$jscomp$inline_1224); } catch (err) {} } exports._Scheduler = Scheduler; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js index 35613cc7fb215..cab895f5b3e38 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<95a5b427ae173a570593f02efac9bcc1>> + * @generated SignedSource<<4bb27b2208b9c6a88477d011821f7a03>> */ "use strict"; @@ -3160,24 +3160,26 @@ function updateMemo(nextCreate, deps) { hook.memoizedState = [prevState, deps]; return prevState; } -function updateDeferredValueImpl(hook, prevValue, value) { +function mountDeferredValueImpl(hook, value, initialValue) { + if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + return (hook.memoizedState = value); + hook.memoizedState = initialValue; + hook = requestDeferredLane(); + currentlyRenderingFiber$1.lanes |= hook; + workInProgressRootSkippedLanes |= hook; + return initialValue; +} +function updateDeferredValueImpl(hook, prevValue, value, initialValue) { if (objectIs(value, prevValue)) return value; if (null !== currentTreeHiddenStackCursor.current) return ( - (hook.memoizedState = value), - objectIs(value, prevValue) || (didReceiveUpdate = !0), - value + (hook = mountDeferredValueImpl(hook, value, initialValue)), + objectIs(hook, prevValue) || (didReceiveUpdate = !0), + hook ); if (0 === (renderLanes & 42)) return (didReceiveUpdate = !0), (hook.memoizedState = value); - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & 536870912) - ? 536870912 - : claimNextTransitionLane()); - hook = suspenseHandlerStackCursor.current; - null !== hook && (hook.flags |= 32); - hook = workInProgressDeferredLane; + hook = requestDeferredLane(); currentlyRenderingFiber$1.lanes |= hook; workInProgressRootSkippedLanes |= hook; return prevValue; @@ -3444,9 +3446,9 @@ var HooksDispatcherOnMount = { return [initialState.memoizedState, dispatch]; }, useDebugValue: mountDebugValue, - useDeferredValue: function (value) { - mountWorkInProgressHook().memoizedState = value; - return value; + useDeferredValue: function (value, initialValue) { + var hook = mountWorkInProgressHook(); + return mountDeferredValueImpl(hook, value, initialValue); }, useTransition: function () { var stateHook = mountStateImpl(!1); @@ -3541,9 +3543,14 @@ var HooksDispatcherOnUpdate = { return updateReducer(basicStateReducer); }, useDebugValue: mountDebugValue, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { var hook = updateWorkInProgressHook(); - return updateDeferredValueImpl(hook, currentHook.memoizedState, value); + return updateDeferredValueImpl( + hook, + currentHook.memoizedState, + value, + initialValue + ); }, useTransition: function () { var booleanOrThenable = updateReducer(basicStateReducer)[0], @@ -3583,11 +3590,16 @@ var HooksDispatcherOnRerender = { return rerenderReducer(basicStateReducer); }, useDebugValue: mountDebugValue, - useDeferredValue: function (value) { + useDeferredValue: function (value, initialValue) { var hook = updateWorkInProgressHook(); return null === currentHook - ? ((hook.memoizedState = value), value) - : updateDeferredValueImpl(hook, currentHook.memoizedState, value); + ? mountDeferredValueImpl(hook, value, initialValue) + : updateDeferredValueImpl( + hook, + currentHook.memoizedState, + value, + initialValue + ); }, useTransition: function () { var booleanOrThenable = rerenderReducer(basicStateReducer)[0], @@ -8104,6 +8116,16 @@ function requestUpdateLane(fiber) { fiber = 0 !== currentUpdatePriority ? currentUpdatePriority : 32; return fiber; } +function requestDeferredLane() { + 0 === workInProgressDeferredLane && + (workInProgressDeferredLane = + 0 !== (workInProgressRootRenderLanes & 536870912) + ? 536870912 + : claimNextTransitionLane()); + var suspenseHandler = suspenseHandlerStackCursor.current; + null !== suspenseHandler && (suspenseHandler.flags |= 32); + return workInProgressDeferredLane; +} function scheduleUpdateOnFiber(root, fiber, lane) { if ( (root === workInProgressRoot && 2 === workInProgressSuspendedReason) || @@ -9999,12 +10021,12 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var devToolsConfig$jscomp$inline_1136 = { +var devToolsConfig$jscomp$inline_1117 = { findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-test-renderer" }; (function (internals) { @@ -10021,10 +10043,10 @@ var devToolsConfig$jscomp$inline_1136 = { } catch (err) {} return hook.checkDCE ? !0 : !1; })({ - bundleType: devToolsConfig$jscomp$inline_1136.bundleType, - version: devToolsConfig$jscomp$inline_1136.version, - rendererPackageName: devToolsConfig$jscomp$inline_1136.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1136.rendererConfig, + bundleType: devToolsConfig$jscomp$inline_1117.bundleType, + version: devToolsConfig$jscomp$inline_1117.version, + rendererPackageName: devToolsConfig$jscomp$inline_1117.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1117.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -10041,14 +10063,14 @@ var devToolsConfig$jscomp$inline_1136 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1136.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1117.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }); exports._Scheduler = Scheduler; exports.act = act; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js index 584285e80059a..44b9051a8e4eb 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<34ae957fdb21cf0094807e7ed74a96b2>> + * @generated SignedSource<<9fb684f44369d704db63855b2ee42fe2>> */ "use strict"; @@ -1748,7 +1748,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-native-fb-433068ee-20240711"; + exports.version = "19.0.0-native-fb-ff3f1fac-20240712"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js index 571bb54d7d22e..160798afb7340 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<81d462de814b7397d95fe0efc953f039>> + * @generated SignedSource<> */ "use strict"; @@ -604,4 +604,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-433068ee-20240711"; +exports.version = "19.0.0-native-fb-ff3f1fac-20240712"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js index 509cfa3554351..dbffa89ae75b7 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<796537f38aedde210ea37ac64ce0f740>> + * @generated SignedSource<<3eb7087b1257f47ff42b387e24361622>> */ "use strict"; @@ -608,7 +608,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-433068ee-20240711"; +exports.version = "19.0.0-native-fb-ff3f1fac-20240712"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index 894881b432eea..99fe0fcb17447 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -433068eece2071a96de98b60f99ce6a9121a629c +ff3f1fac65e7b82efe3f90af42af1278bc6f1d5d diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js index f8cf89a1c564d..90935dea93a22 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<9e809495c8f8c2620055e72bf5cdddf0>> + * @generated SignedSource<<7a18f874f122a94b6ea996fd34e4bdec>> */ "use strict"; @@ -16821,12 +16821,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }); })({ findFiberByHostInstance: getInstanceFromNode, bundleType: 1, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js index 9e9d40ec82467..de9dfc9e4d599 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<8d30459760ba9fc43b543d7399b934e5>> + * @generated SignedSource<<962734435cadf14330134c462d246053>> */ "use strict"; @@ -10632,7 +10632,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1136 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10675,7 +10675,7 @@ var internals$jscomp$inline_1362 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1363 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js index c3f5451c22217..59c011527fbc5 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -11342,7 +11342,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1217 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11398,7 +11398,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }); exports.createPortal = function (children, containerTag) { return createPortal$1( diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js index e061f7c7883a4..e82231a827fce 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<40de30dc2081ef8af7d1f7a0884710b0>> + * @generated SignedSource<<79882b876f72e14d4955ae2a47490ee7>> */ "use strict"; @@ -17009,11 +17009,11 @@ __DEV__ && var emptyObject = {}; Object.freeze(emptyObject); var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-433068ee-20240711" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-ff3f1fac-20240712" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-433068ee-20240711\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-ff3f1fac-20240712\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17061,12 +17061,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }); })({ findFiberByHostInstance: getInstanceFromTag, bundleType: 1, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js index b6564c3986654..cd66d7eefaf73 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<0f2fcd9d416282dae4bcf3b32fb6090c>> */ "use strict"; @@ -10786,11 +10786,11 @@ function traverseOwnerTreeUp(hierarchy, instance) { traverseOwnerTreeUp(hierarchy, instance); } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-433068ee-20240711" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-ff3f1fac-20240712" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-433068ee-20240711\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-ff3f1fac-20240712\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -10840,7 +10840,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1210 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10883,7 +10883,7 @@ var internals$jscomp$inline_1457 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1458 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js index af0110b60555c..154458c4f645b 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -11497,11 +11497,11 @@ function traverseOwnerTreeUp(hierarchy, instance) { traverseOwnerTreeUp(hierarchy, instance); } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-433068ee-20240711" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-ff3f1fac-20240712" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-433068ee-20240711\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-ff3f1fac-20240712\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11551,7 +11551,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1291 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-native-fb-433068ee-20240711", + version: "19.0.0-native-fb-ff3f1fac-20240712", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11607,7 +11607,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-433068ee-20240711" + reconcilerVersion: "19.0.0-native-fb-ff3f1fac-20240712" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {