From 4609b0b9551e38650838966dba1bedf1438d5d6e Mon Sep 17 00:00:00 2001 From: jackpope Date: Thu, 25 Jul 2024 09:04:45 -0700 Subject: [PATCH] Remove allowConcurrentByDefault flag (#30445) Following https://github.com/facebook/react/pull/30436 Concurrent by default strategy has been unshipped. Here we clean up the `allowConcurrentByDefault` path and related logic/tests. For now, this keeps the `concurrentUpdatesByDefaultOverride` argument in `createContainer` and `createHydrationContainer` and ignores the value to prevent more breaking changes to `react-reconciler` in the RC stage. DiffTrain build for commit https://github.com/facebook/react/commit/14a4699ff173936a30ec453f7b94d47105bbb252. --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../cjs/ReactTestRenderer-dev.js | 77 ++++++++-------- .../cjs/ReactTestRenderer-prod.js | 89 ++++++++----------- .../cjs/ReactTestRenderer-profiling.js | 75 ++++++---------- .../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, 130 insertions(+), 175 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 7cfd83da1b66c..4342435364a6d 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.0.0-native-fb-da4abf00-20240723 \ No newline at end of file +19.0.0-native-fb-14a4699f-20240725 \ 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 c363758ebf9b6..f393e2083036a 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<<57df8e4f7de7b472200a9ec4cd85a19a>> + * @generated SignedSource<> */ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1097() { + function JSCompiler_object_inline_createNodeMock_1096() { return null; } function findHook(fiber, id) { @@ -976,16 +976,6 @@ __DEV__ && root = root.pendingLanes & ~OffscreenLane; return 0 !== root ? root : root & OffscreenLane ? OffscreenLane : 0; } - function includesBlockingLane(root, lanes) { - return 0 !== (root.current.mode & 32) - ? !1 - : 0 !== - (lanes & - (InputContinuousHydrationLane | - InputContinuousLane | - DefaultHydrationLane | - DefaultLane)); - } function claimNextTransitionLane() { var lane = nextTransitionLane; nextTransitionLane <<= 1; @@ -4117,12 +4107,16 @@ __DEV__ && ), (didWarnUncachedGetSnapshot = !0)); } - cachedSnapshot = workInProgressRoot; - if (null === cachedSnapshot) + if (null === workInProgressRoot) throw Error( "Expected a work-in-progress root. This is a bug in React. Please file an issue." ); - includesBlockingLane(cachedSnapshot, workInProgressRootRenderLanes) || + 0 !== + (workInProgressRootRenderLanes & + (InputContinuousHydrationLane | + InputContinuousLane | + DefaultHydrationLane | + DefaultLane)) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); hook.memoizedState = nextSnapshot; cachedSnapshot = { value: nextSnapshot, getSnapshot: getSnapshot }; @@ -4187,12 +4181,16 @@ __DEV__ && { destroy: void 0 }, null ); - subscribe = workInProgressRoot; - if (null === subscribe) + if (null === workInProgressRoot) throw Error( "Expected a work-in-progress root. This is a bug in React. Please file an issue." ); - includesBlockingLane(subscribe, renderLanes) || + 0 !== + (renderLanes & + (InputContinuousHydrationLane | + InputContinuousLane | + DefaultHydrationLane | + DefaultLane)) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } return nextSnapshot; @@ -10611,7 +10609,12 @@ __DEV__ && ); if (0 === lanes) return null; var shouldTimeSlice = - !includesBlockingLane(root, lanes) && + 0 === + (lanes & + (InputContinuousHydrationLane | + InputContinuousLane | + DefaultHydrationLane | + DefaultLane)) && 0 === (lanes & root.expiredLanes) && !didTimeout; didTimeout = shouldTimeSlice @@ -10973,9 +10976,7 @@ __DEV__ && workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; - 0 === (root.current.mode & 32) && - 0 !== (lanes & InputContinuousLane) && - (lanes |= lanes & DefaultLane); + 0 !== (lanes & InputContinuousLane) && (lanes |= lanes & DefaultLane); var allEntangledLanes = root.entangledLanes; if (0 !== allEntangledLanes) for ( @@ -12712,23 +12713,19 @@ __DEV__ && onRecoverableError, null ); - 1 === tag - ? ((tag = 1), - !0 === isStrictMode && (tag |= 24), - concurrentUpdatesByDefaultOverride && (tag |= 32)) - : (tag = 0); + 1 === tag ? ((tag = 1), !0 === isStrictMode && (tag |= 24)) : (tag = 0); isDevToolsPresent && (tag |= 2); isStrictMode = createFiber(3, null, null, tag); containerInfo.current = isStrictMode; isStrictMode.stateNode = containerInfo; - concurrentUpdatesByDefaultOverride = createCache(); - retainCache(concurrentUpdatesByDefaultOverride); - containerInfo.pooledCache = concurrentUpdatesByDefaultOverride; - retainCache(concurrentUpdatesByDefaultOverride); + tag = createCache(); + retainCache(tag); + containerInfo.pooledCache = tag; + retainCache(tag); isStrictMode.memoizedState = { element: null, isDehydrated: !1, - cache: concurrentUpdatesByDefaultOverride + cache: tag }; initializeUpdateQueue(isStrictMode); return containerInfo; @@ -15120,32 +15117,28 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }); })({ findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 1, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", rendererPackageName: "react-test-renderer" }); exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1097, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1096, isConcurrent = !1, - isStrictMode = !1, - concurrentUpdatesByDefault = null; + isStrictMode = !1; "object" === typeof options && null !== options && ("function" === typeof options.createNodeMock && (createNodeMock = options.createNodeMock), (isConcurrent = options.unstable_isConcurrent), - !0 === options.unstable_strictMode && (isStrictMode = !0), - void 0 !== options.unstable_concurrentUpdatesByDefault && - (concurrentUpdatesByDefault = - options.unstable_concurrentUpdatesByDefault)); + !0 === options.unstable_strictMode && (isStrictMode = !0)); var container = { children: [], createNodeMock: createNodeMock, @@ -15156,7 +15149,7 @@ __DEV__ && isConcurrent ? 1 : 0, null, isStrictMode, - concurrentUpdatesByDefault, + !1, "", defaultOnUncaughtError, defaultOnCaughtError, 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 e8fe4ecbe5a0e..25d6509d12733 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<<77ef7f9c50bfdc1ebd871ef8296a1aae>> + * @generated SignedSource<> */ "use strict"; @@ -618,9 +618,6 @@ function getLanesToRetrySynchronouslyOnError(root, originallyAttemptedLanes) { root = root.pendingLanes & -536870913; return 0 !== root ? root : root & 536870912 ? 536870912 : 0; } -function includesBlockingLane(root, lanes) { - return 0 !== (root.current.mode & 32) ? !1 : 0 !== (lanes & 60); -} function claimNextTransitionLane() { var lane = nextTransitionLane; nextTransitionLane <<= 1; @@ -2706,12 +2703,11 @@ function updateSyncExternalStore(subscribe, getSnapshot) { { destroy: void 0 }, null ); - subscribe = workInProgressRoot; - if (null === subscribe) + if (null === workInProgressRoot) throw Error( "Expected a work-in-progress root. This is a bug in React. Please file an issue." ); - includesBlockingLane(subscribe, renderLanes) || + 0 !== (renderLanes & 60) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } return nextSnapshot; @@ -3375,23 +3371,22 @@ var HooksDispatcherOnMount = { var fiber = currentlyRenderingFiber$1, hook = mountWorkInProgressHook(); var nextSnapshot = getSnapshot(); - var root = workInProgressRoot; - if (null === root) + if (null === workInProgressRoot) throw Error( "Expected a work-in-progress root. This is a bug in React. Please file an issue." ); - includesBlockingLane(root, workInProgressRootRenderLanes) || + 0 !== (workInProgressRootRenderLanes & 60) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); hook.memoizedState = nextSnapshot; - root = { value: nextSnapshot, getSnapshot: getSnapshot }; - hook.queue = root; - mountEffect(subscribeToStore.bind(null, fiber, root, subscribe), [ + var inst = { value: nextSnapshot, getSnapshot: getSnapshot }; + hook.queue = inst; + mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [ subscribe ]); fiber.flags |= 2048; pushEffect( 9, - updateStoreInstance.bind(null, fiber, root, nextSnapshot, getSnapshot), + updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot), { destroy: void 0 }, null ); @@ -7643,9 +7638,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { ); if (0 === lanes) return null; var exitStatus = (didTimeout = - !includesBlockingLane(root, lanes) && - 0 === (lanes & root.expiredLanes) && - !didTimeout) + 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) && !didTimeout) ? renderRootConcurrent(root, lanes) : renderRootSync(root, lanes); if (0 !== exitStatus) { @@ -7976,7 +7969,7 @@ function prepareFreshStack(root, lanes) { workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; - 0 === (root.current.mode & 32) && 0 !== (lanes & 8) && (lanes |= lanes & 32); + 0 !== (lanes & 8) && (lanes |= lanes & 32); var allEntangledLanes = root.entangledLanes; if (0 !== allEntangledLanes) for ( @@ -8959,23 +8952,15 @@ function createContainer( onRecoverableError, null ); - 1 === tag - ? ((tag = 1), - !0 === isStrictMode && (tag |= 24), - concurrentUpdatesByDefaultOverride && (tag |= 32)) - : (tag = 0); + 1 === tag ? ((tag = 1), !0 === isStrictMode && (tag |= 24)) : (tag = 0); isStrictMode = createFiberImplClass(3, null, null, tag); containerInfo.current = isStrictMode; isStrictMode.stateNode = containerInfo; - concurrentUpdatesByDefaultOverride = createCache(); - concurrentUpdatesByDefaultOverride.refCount++; - containerInfo.pooledCache = concurrentUpdatesByDefaultOverride; - concurrentUpdatesByDefaultOverride.refCount++; - isStrictMode.memoizedState = { - element: null, - isDehydrated: !1, - cache: concurrentUpdatesByDefaultOverride - }; + tag = createCache(); + tag.refCount++; + containerInfo.pooledCache = tag; + tag.refCount++; + isStrictMode.memoizedState = { element: null, isDehydrated: !1, cache: tag }; initializeUpdateQueue(isStrictMode); return containerInfo; } @@ -9338,19 +9323,19 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var devToolsConfig$jscomp$inline_1036 = { +var devToolsConfig$jscomp$inline_1035 = { findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", rendererPackageName: "react-test-renderer" }; -var internals$jscomp$inline_1213 = { - bundleType: devToolsConfig$jscomp$inline_1036.bundleType, - version: devToolsConfig$jscomp$inline_1036.version, - rendererPackageName: devToolsConfig$jscomp$inline_1036.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1036.rendererConfig, +var internals$jscomp$inline_1211 = { + bundleType: devToolsConfig$jscomp$inline_1035.bundleType, + version: devToolsConfig$jscomp$inline_1035.version, + rendererPackageName: devToolsConfig$jscomp$inline_1035.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1035.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -9367,26 +9352,26 @@ var internals$jscomp$inline_1213 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1036.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1035.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1214 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1212 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1214.isDisabled && - hook$jscomp$inline_1214.supportsFiber + !hook$jscomp$inline_1212.isDisabled && + hook$jscomp$inline_1212.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1214.inject( - internals$jscomp$inline_1213 + (rendererID = hook$jscomp$inline_1212.inject( + internals$jscomp$inline_1211 )), - (injectedHook = hook$jscomp$inline_1214); + (injectedHook = hook$jscomp$inline_1212); } catch (err) {} } exports._Scheduler = Scheduler; @@ -9394,17 +9379,13 @@ exports.act = act; exports.create = function (element, options) { var createNodeMock = defaultTestOptions.createNodeMock, isConcurrent = !1, - isStrictMode = !1, - concurrentUpdatesByDefault = null; + isStrictMode = !1; "object" === typeof options && null !== options && ("function" === typeof options.createNodeMock && (createNodeMock = options.createNodeMock), (isConcurrent = options.unstable_isConcurrent), - !0 === options.unstable_strictMode && (isStrictMode = !0), - void 0 !== options.unstable_concurrentUpdatesByDefault && - (concurrentUpdatesByDefault = - options.unstable_concurrentUpdatesByDefault)); + !0 === options.unstable_strictMode && (isStrictMode = !0)); var container = { children: [], createNodeMock: createNodeMock, @@ -9415,7 +9396,7 @@ exports.create = function (element, options) { isConcurrent ? 1 : 0, null, isStrictMode, - concurrentUpdatesByDefault, + !1, "", defaultOnUncaughtError, defaultOnCaughtError, 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 647182e2d30b5..a36959e74e49d 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<<15ace73fbf8db2d6b3d6e49b3900a967>> + * @generated SignedSource<<866410222c049479f0ced248f85b5afd>> */ "use strict"; @@ -706,9 +706,6 @@ function getLanesToRetrySynchronouslyOnError(root, originallyAttemptedLanes) { root = root.pendingLanes & -536870913; return 0 !== root ? root : root & 536870912 ? 536870912 : 0; } -function includesBlockingLane(root, lanes) { - return 0 !== (root.current.mode & 32) ? !1 : 0 !== (lanes & 60); -} function claimNextTransitionLane() { var lane = nextTransitionLane; nextTransitionLane <<= 1; @@ -2794,12 +2791,11 @@ function updateSyncExternalStore(subscribe, getSnapshot) { { destroy: void 0 }, null ); - subscribe = workInProgressRoot; - if (null === subscribe) + if (null === workInProgressRoot) throw Error( "Expected a work-in-progress root. This is a bug in React. Please file an issue." ); - includesBlockingLane(subscribe, renderLanes) || + 0 !== (renderLanes & 60) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); } return nextSnapshot; @@ -3466,23 +3462,22 @@ var HooksDispatcherOnMount = { var fiber = currentlyRenderingFiber$1, hook = mountWorkInProgressHook(); var nextSnapshot = getSnapshot(); - var root = workInProgressRoot; - if (null === root) + if (null === workInProgressRoot) throw Error( "Expected a work-in-progress root. This is a bug in React. Please file an issue." ); - includesBlockingLane(root, workInProgressRootRenderLanes) || + 0 !== (workInProgressRootRenderLanes & 60) || pushStoreConsistencyCheck(fiber, getSnapshot, nextSnapshot); hook.memoizedState = nextSnapshot; - root = { value: nextSnapshot, getSnapshot: getSnapshot }; - hook.queue = root; - mountEffect(subscribeToStore.bind(null, fiber, root, subscribe), [ + var inst = { value: nextSnapshot, getSnapshot: getSnapshot }; + hook.queue = inst; + mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [ subscribe ]); fiber.flags |= 2048; pushEffect( 9, - updateStoreInstance.bind(null, fiber, root, nextSnapshot, getSnapshot), + updateStoreInstance.bind(null, fiber, inst, nextSnapshot, getSnapshot), { destroy: void 0 }, null ); @@ -8119,9 +8114,7 @@ function performConcurrentWorkOnRoot(root, didTimeout) { ); if (0 === lanes) return null; var exitStatus = (didTimeout = - !includesBlockingLane(root, lanes) && - 0 === (lanes & root.expiredLanes) && - !didTimeout) + 0 === (lanes & 60) && 0 === (lanes & root.expiredLanes) && !didTimeout) ? renderRootConcurrent(root, lanes) : renderRootSync(root, lanes); if (0 !== exitStatus) { @@ -8454,7 +8447,7 @@ function prepareFreshStack(root, lanes) { workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors = null; workInProgressRootDidIncludeRecursiveRenderUpdate = !1; - 0 === (root.current.mode & 32) && 0 !== (lanes & 8) && (lanes |= lanes & 32); + 0 !== (lanes & 8) && (lanes |= lanes & 32); var allEntangledLanes = root.entangledLanes; if (0 !== allEntangledLanes) for ( @@ -9579,24 +9572,16 @@ function createContainer( onRecoverableError, null ); - 1 === tag - ? ((tag = 1), - !0 === isStrictMode && (tag |= 24), - concurrentUpdatesByDefaultOverride && (tag |= 32)) - : (tag = 0); + 1 === tag ? ((tag = 1), !0 === isStrictMode && (tag |= 24)) : (tag = 0); isDevToolsPresent && (tag |= 2); isStrictMode = createFiberImplClass(3, null, null, tag); containerInfo.current = isStrictMode; isStrictMode.stateNode = containerInfo; - concurrentUpdatesByDefaultOverride = createCache(); - concurrentUpdatesByDefaultOverride.refCount++; - containerInfo.pooledCache = concurrentUpdatesByDefaultOverride; - concurrentUpdatesByDefaultOverride.refCount++; - isStrictMode.memoizedState = { - element: null, - isDehydrated: !1, - cache: concurrentUpdatesByDefaultOverride - }; + tag = createCache(); + tag.refCount++; + containerInfo.pooledCache = tag; + tag.refCount++; + isStrictMode.memoizedState = { element: null, isDehydrated: !1, cache: tag }; initializeUpdateQueue(isStrictMode); return containerInfo; } @@ -9962,12 +9947,12 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var devToolsConfig$jscomp$inline_1120 = { +var devToolsConfig$jscomp$inline_1119 = { findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", rendererPackageName: "react-test-renderer" }; (function (internals) { @@ -9984,10 +9969,10 @@ var devToolsConfig$jscomp$inline_1120 = { } catch (err) {} return hook.checkDCE ? !0 : !1; })({ - bundleType: devToolsConfig$jscomp$inline_1120.bundleType, - version: devToolsConfig$jscomp$inline_1120.version, - rendererPackageName: devToolsConfig$jscomp$inline_1120.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1120.rendererConfig, + bundleType: devToolsConfig$jscomp$inline_1119.bundleType, + version: devToolsConfig$jscomp$inline_1119.version, + rendererPackageName: devToolsConfig$jscomp$inline_1119.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1119.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -10004,31 +9989,27 @@ var devToolsConfig$jscomp$inline_1120 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1120.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1119.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }); exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { var createNodeMock = defaultTestOptions.createNodeMock, isConcurrent = !1, - isStrictMode = !1, - concurrentUpdatesByDefault = null; + isStrictMode = !1; "object" === typeof options && null !== options && ("function" === typeof options.createNodeMock && (createNodeMock = options.createNodeMock), (isConcurrent = options.unstable_isConcurrent), - !0 === options.unstable_strictMode && (isStrictMode = !0), - void 0 !== options.unstable_concurrentUpdatesByDefault && - (concurrentUpdatesByDefault = - options.unstable_concurrentUpdatesByDefault)); + !0 === options.unstable_strictMode && (isStrictMode = !0)); var container = { children: [], createNodeMock: createNodeMock, @@ -10039,7 +10020,7 @@ exports.create = function (element, options) { isConcurrent ? 1 : 0, null, isStrictMode, - concurrentUpdatesByDefault, + !1, "", defaultOnUncaughtError, defaultOnCaughtError, 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 ff24c2334d5ad..5e7e8e920cde5 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<<7527722dcde9e44ca6aa74bf623a3b03>> + * @generated SignedSource<<12d77382367d15fcee6da70361208e5c>> */ "use strict"; @@ -1701,7 +1701,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-native-fb-da4abf00-20240723"; + exports.version = "19.0.0-native-fb-14a4699f-20240725"; "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 da11e7e184605..1888b1ea48374 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<<19555131212772bfd8d336bcd7c9323a>> + * @generated SignedSource<<6b48cfd703c9f1aca729a8d96b4961f0>> */ "use strict"; @@ -576,4 +576,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-da4abf00-20240723"; +exports.version = "19.0.0-native-fb-14a4699f-20240725"; 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 e1c6d5189488d..593bf13f5712e 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<> + * @generated SignedSource<<6c568ee97d8f132e27587080bf466246>> */ "use strict"; @@ -580,7 +580,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-da4abf00-20240723"; +exports.version = "19.0.0-native-fb-14a4699f-20240725"; "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 b5e7b1e578dd7..82e29d44aec08 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 @@ -da4abf0047cf6dc6d9bff505bd93815264c8c3b7 +14a4699ff173936a30ec453f7b94d47105bbb252 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 54cc9d448d6bb..f90fc5241e42b 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<<9d43ba1738689fb7ada774c16a930d4f>> + * @generated SignedSource<<8ca97b6b640a79df906c09e2bb4e588a>> */ "use strict"; @@ -16723,12 +16723,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }); })({ findFiberByHostInstance: getInstanceFromNode, bundleType: 1, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", 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 a6884023a08fe..fd819334a310b 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<> + * @generated SignedSource<> */ "use strict"; @@ -10550,7 +10550,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1138 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10593,7 +10593,7 @@ var internals$jscomp$inline_1352 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1353 = __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 d34dc12a3c515..dea3e7140f3ef 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<<9a61e030126f61da5d7a2353052c29a8>> + * @generated SignedSource<> */ "use strict"; @@ -11264,7 +11264,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1220 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11320,7 +11320,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }); 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 ce59bfb7fa904..b567d9173842b 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<> + * @generated SignedSource<<0f7ebb3692f7f5cbb2e727d5d0f5945e>> */ "use strict"; @@ -16908,11 +16908,11 @@ __DEV__ && var emptyObject = {}; Object.freeze(emptyObject); var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-da4abf00-20240723" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-14a4699f-20240725" !== 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-da4abf00-20240723\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-14a4699f-20240725\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -16960,12 +16960,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }); })({ findFiberByHostInstance: getInstanceFromTag, bundleType: 1, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", 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 e65609e3efdfc..fe5d18147f66c 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<<508af27085b96272e900a722adc46287>> + * @generated SignedSource<<840e805ff15f5b9b83a18e8023c9d0f7>> */ "use strict"; @@ -10702,11 +10702,11 @@ function traverseOwnerTreeUp(hierarchy, instance) { traverseOwnerTreeUp(hierarchy, instance); } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-da4abf00-20240723" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-14a4699f-20240725" !== 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-da4abf00-20240723\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-14a4699f-20240725\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -10756,7 +10756,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1212 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10799,7 +10799,7 @@ var internals$jscomp$inline_1447 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1448 = __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 376cd9b1a3733..ed08207b03684 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<<68184e5b898b12be5da9e94bbdda5f2c>> */ "use strict"; @@ -11417,11 +11417,11 @@ function traverseOwnerTreeUp(hierarchy, instance) { traverseOwnerTreeUp(hierarchy, instance); } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-da4abf00-20240723" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-14a4699f-20240725" !== 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-da4abf00-20240723\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-14a4699f-20240725\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11471,7 +11471,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1294 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-native-fb-da4abf00-20240723", + version: "19.0.0-native-fb-14a4699f-20240725", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11527,7 +11527,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-da4abf00-20240723" + reconcilerVersion: "19.0.0-native-fb-14a4699f-20240725" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {