From ed2bcf90b18603e51b1672b0245bdccfab35644c Mon Sep 17 00:00:00 2001 From: sebmarkbage Date: Mon, 15 Sep 2025 15:17:38 -0700 Subject: [PATCH] [Fiber] Wait for suspensey image in the viewport before starting an animation (#34500) Stacked on #34486. If we gave up on loading suspensey images for blocking the commit (e.g. due to #34481), we can still block the view transition from committing to allow an animation to include the image from the start. At this point we have more information about the layout so we can include only the images that are within viewport in the calculation which may end up with a different answer. This only applies when we attempt to run an animation (e.g. something mutated inside a `` in a Transition). We could attempt a `startViewTransition` if we gave up on the suspensey images just so that we could block it even if no animation would be running. However, this point the screen is frozen and you can no longer have sync updates interrupt so ideally we would have already blocked the commit from happening in the first place. The reason to have two points where we block is that ideally we leave the UI responsive while blocking, which blocking the commit does. In the simple case of all images or a single image being within the viewport, that's favorable. By combining the techniques we only end up freezing the screen in the special case that we had a lot of images added outside the viewport and started an animation with some image inside the viewport (which presumably is about to finish anyway). DiffTrain build for [348a4e2d44fed940313d0657ee180083d12ffc04](https://github.com/facebook/react/commit/348a4e2d44fed940313d0657ee180083d12ffc04) --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../react/react-dom/cjs/ReactDOM-dev.js | 4 +- .../react/react-dom/cjs/ReactDOM-prod.js | 4 +- .../react/react-dom/cjs/ReactDOM-profiling.js | 4 +- .../react/react-dom/cjs/ReactDOMClient-dev.js | 94 ++++++++----- .../react-dom/cjs/ReactDOMClient-prod.js | 126 ++++++++++++------ .../react-dom/cjs/ReactDOMClient-profiling.js | 87 ++++++++---- .../react-dom/cjs/ReactDOMProfiling-dev.js | 94 ++++++++----- .../react-dom/cjs/ReactDOMProfiling-prod.js | 126 ++++++++++++------ .../cjs/ReactDOMProfiling-profiling.js | 87 ++++++++---- .../cjs/ReactTestRenderer-dev.js | 12 +- .../cjs/ReactTestRenderer-prod.js | 22 +-- .../cjs/ReactTestRenderer-profiling.js | 22 +-- .../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 | 13 +- .../implementations/ReactFabric-prod.fb.js | 22 +-- .../ReactFabric-profiling.fb.js | 32 +++-- .../ReactNativeRenderer-dev.fb.js | 17 ++- .../ReactNativeRenderer-prod.fb.js | 26 ++-- .../ReactNativeRenderer-profiling.fb.js | 36 ++--- .../eslint-plugin-react-hooks/package.json | 2 +- 24 files changed, 541 insertions(+), 305 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index ebec43d935..daa9c8b6c0 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.2.0-native-fb-ae22247d-20250915 \ No newline at end of file +19.2.0-native-fb-348a4e2d-20250915 \ No newline at end of file diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js index ab23b6f528..a0095ef436 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<23cc05fee84e9c81ab6a7406c14940e4>> + * @generated SignedSource<<85edb701d437b9e38e5582f59019adfc>> */ "use strict"; @@ -404,5 +404,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-ae22247d-20250915"; + exports.version = "19.2.0-native-fb-348a4e2d-20250915"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js index f062e5e363..a13b9f5763 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js index f062e5e363..a13b9f5763 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js index 6e82db71b9..a469543af6 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -16858,26 +16858,47 @@ __DEV__ && } alreadyWarnedForDeepEquality = prevDeepEquality; } - function recursivelyAccumulateSuspenseyCommit(parentFiber) { + function recursivelyAccumulateSuspenseyCommit( + parentFiber, + committedLanes, + suspendedState + ) { if (parentFiber.subtreeFlags & suspenseyCommitFlag) for (parentFiber = parentFiber.child; null !== parentFiber; ) - accumulateSuspenseyCommitOnFiber(parentFiber), + accumulateSuspenseyCommitOnFiber( + parentFiber, + committedLanes, + suspendedState + ), (parentFiber = parentFiber.sibling); } - function accumulateSuspenseyCommitOnFiber(fiber) { + function accumulateSuspenseyCommitOnFiber( + fiber, + committedLanes, + suspendedState + ) { switch (fiber.tag) { case 26: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); fiber.flags & suspenseyCommitFlag && null !== fiber.memoizedState && suspendResource( + suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps ); break; case 5: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); break; case 3: case 4: @@ -16885,7 +16906,11 @@ __DEV__ && currentHoistableRoot = getHoistableRoot( fiber.stateNode.containerInfo ); - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); currentHoistableRoot = previousHoistableRoot; break; case 22: @@ -16895,12 +16920,24 @@ __DEV__ && null !== previousHoistableRoot.memoizedState ? ((previousHoistableRoot = suspenseyCommitFlag), (suspenseyCommitFlag = 16777216), - recursivelyAccumulateSuspenseyCommit(fiber), + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ), (suspenseyCommitFlag = previousHoistableRoot)) - : recursivelyAccumulateSuspenseyCommit(fiber)); + : recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + )); break; default: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); } } function detachAlternateSiblings(parentFiber) { @@ -17586,6 +17623,7 @@ __DEV__ && workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, startTime, + null, IMMEDIATE_COMMIT, renderStartTime, forceSync @@ -17669,7 +17707,8 @@ __DEV__ && completedRenderEndTime ) { root.timeoutHandle = noTimeout; - var subtreeFlags = finishedWork.subtreeFlags; + var subtreeFlags = finishedWork.subtreeFlags, + suspendedState = null; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) if ( ((suspendedState = { @@ -17677,17 +17716,18 @@ __DEV__ && count: 0, imgCount: 0, imgBytes: 0, + suspenseyImages: [], waitingForImages: !0, unsuspend: noop$1 }), - accumulateSuspenseyCommitOnFiber(finishedWork), + accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), (subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0), - (subtreeFlags = waitForCommitToBeReady(subtreeFlags)), + (subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags)), null !== subtreeFlags) ) { root.cancelPendingCommit = subtreeFlags( @@ -17703,6 +17743,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, SUSPENDED_COMMIT, completedRenderStartTime, completedRenderEndTime @@ -17727,6 +17768,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -18764,6 +18806,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -24639,12 +24682,7 @@ __DEV__ && ? !1 : !0; } - function suspendResource(hoistableRoot, resource, props) { - if (null === suspendedState) - throw Error( - "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug." - ); - var state = suspendedState; + function suspendResource(state, hoistableRoot, resource, props) { if ( "stylesheet" === resource.type && ("string" !== typeof props.media || @@ -24693,12 +24731,7 @@ __DEV__ && hoistableRoot.addEventListener("error", resource)); } } - function waitForCommitToBeReady(timeoutOffset) { - if (null === suspendedState) - throw Error( - "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug." - ); - var state = suspendedState; + function waitForCommitToBeReady(state, timeoutOffset) { state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); @@ -29561,7 +29594,6 @@ __DEV__ && }; var globalDocument = "undefined" === typeof document ? null : document, tagCaches = null, - suspendedState = null, SUSPENSEY_STYLESHEET_TIMEOUT = 6e4, SUSPENSEY_IMAGE_TIMEOUT = 800, SUSPENSEY_IMAGE_TIME_ESTIMATE = 500, @@ -29731,11 +29763,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-ae22247d-20250915" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-348a4e2d-20250915" !== 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.2.0-native-fb-ae22247d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-348a4e2d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29772,10 +29804,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29924,5 +29956,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-native-fb-ae22247d-20250915"; + exports.version = "19.2.0-native-fb-348a4e2d-20250915"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js index 717006b26b..e491fb7c92 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<5612290c13f4ab16126fa19519c127ae>> + * @generated SignedSource<<0b74a2932d671a484012327eaa045d91>> */ /* @@ -11211,32 +11211,57 @@ function recursivelyTraverseAtomicPassiveEffects( } } var suspenseyCommitFlag = 8192; -function recursivelyAccumulateSuspenseyCommit(parentFiber) { +function recursivelyAccumulateSuspenseyCommit( + parentFiber, + committedLanes, + suspendedState +) { if (parentFiber.subtreeFlags & suspenseyCommitFlag) for (parentFiber = parentFiber.child; null !== parentFiber; ) - accumulateSuspenseyCommitOnFiber(parentFiber), + accumulateSuspenseyCommitOnFiber( + parentFiber, + committedLanes, + suspendedState + ), (parentFiber = parentFiber.sibling); } -function accumulateSuspenseyCommitOnFiber(fiber) { +function accumulateSuspenseyCommitOnFiber( + fiber, + committedLanes, + suspendedState +) { switch (fiber.tag) { case 26: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); fiber.flags & suspenseyCommitFlag && null !== fiber.memoizedState && suspendResource( + suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps ); break; case 5: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); break; case 3: case 4: var previousHoistableRoot = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo); - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); currentHoistableRoot = previousHoistableRoot; break; case 22: @@ -11246,12 +11271,24 @@ function accumulateSuspenseyCommitOnFiber(fiber) { null !== previousHoistableRoot.memoizedState ? ((previousHoistableRoot = suspenseyCommitFlag), (suspenseyCommitFlag = 16777216), - recursivelyAccumulateSuspenseyCommit(fiber), + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ), (suspenseyCommitFlag = previousHoistableRoot)) - : recursivelyAccumulateSuspenseyCommit(fiber)); + : recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + )); break; default: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); } } function detachAlternateSiblings(parentFiber) { @@ -11686,27 +11723,33 @@ function commitRootWhenReady( if ( suspendedCommitReason & 8192 || 16785408 === (suspendedCommitReason & 16785408) - ) - if ( - ((suspendedState = { - stylesheets: null, - count: 0, - imgCount: 0, - imgBytes: 0, - waitingForImages: !0, - unsuspend: noop$1 - }), - accumulateSuspenseyCommitOnFiber(finishedWork), - (suspendedCommitReason = - (lanes & 62914560) === lanes - ? globalMostRecentFallbackTime - now() - : (lanes & 4194048) === lanes - ? globalMostRecentTransitionTime - now() - : 0), - (suspendedCommitReason = waitForCommitToBeReady(suspendedCommitReason)), - null !== suspendedCommitReason) - ) { - root.cancelPendingCommit = suspendedCommitReason( + ) { + suspendedCommitReason = { + stylesheets: null, + count: 0, + imgCount: 0, + imgBytes: 0, + suspenseyImages: [], + waitingForImages: !0, + unsuspend: noop$1 + }; + accumulateSuspenseyCommitOnFiber( + finishedWork, + lanes, + suspendedCommitReason + ); + var timeoutOffset = + (lanes & 62914560) === lanes + ? globalMostRecentFallbackTime - now() + : (lanes & 4194048) === lanes + ? globalMostRecentTransitionTime - now() + : 0; + timeoutOffset = waitForCommitToBeReady( + suspendedCommitReason, + timeoutOffset + ); + if (null !== timeoutOffset) { + root.cancelPendingCommit = timeoutOffset( commitRoot.bind( null, root, @@ -11719,6 +11762,7 @@ function commitRootWhenReady( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedCommitReason, 1, completedRenderStartTime, completedRenderEndTime @@ -11727,6 +11771,7 @@ function commitRootWhenReady( markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); return; } + } commitRoot( root, finishedWork, @@ -16505,10 +16550,7 @@ function preloadResource(resource) { ? !1 : !0; } -var suspendedState = null; -function suspendResource(hoistableRoot, resource, props) { - if (null === suspendedState) throw Error(formatProdErrorMessage(475)); - var state = suspendedState; +function suspendResource(state, hoistableRoot, resource, props) { if ( "stylesheet" === resource.type && ("string" !== typeof props.media || @@ -16558,9 +16600,7 @@ function suspendResource(hoistableRoot, resource, props) { } } var estimatedBytesWithinLimit = 0; -function waitForCommitToBeReady(timeoutOffset) { - if (null === suspendedState) throw Error(formatProdErrorMessage(475)); - var state = suspendedState; +function waitForCommitToBeReady(state, timeoutOffset) { state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); @@ -17485,14 +17525,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version; if ( - "19.2.0-native-fb-ae22247d-20250915" !== + "19.2.0-native-fb-348a4e2d-20250915" !== isomorphicReactPackageVersion$jscomp$inline_2073 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2073, - "19.2.0-native-fb-ae22247d-20250915" + "19.2.0-native-fb-348a4e2d-20250915" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17514,10 +17554,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2646 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2647 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17624,4 +17664,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js index 999453d403..7b38c96d11 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<6339ceff9ac385fad681171f8e6f6e68>> + * @generated SignedSource<<2eb180da974e85401f6d85f77daccb5c>> */ /* @@ -12521,32 +12521,57 @@ function commitAtomicPassiveEffects( } } var suspenseyCommitFlag = 8192; -function recursivelyAccumulateSuspenseyCommit(parentFiber) { +function recursivelyAccumulateSuspenseyCommit( + parentFiber, + committedLanes, + suspendedState +) { if (parentFiber.subtreeFlags & suspenseyCommitFlag) for (parentFiber = parentFiber.child; null !== parentFiber; ) - accumulateSuspenseyCommitOnFiber(parentFiber), + accumulateSuspenseyCommitOnFiber( + parentFiber, + committedLanes, + suspendedState + ), (parentFiber = parentFiber.sibling); } -function accumulateSuspenseyCommitOnFiber(fiber) { +function accumulateSuspenseyCommitOnFiber( + fiber, + committedLanes, + suspendedState +) { switch (fiber.tag) { case 26: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); fiber.flags & suspenseyCommitFlag && null !== fiber.memoizedState && suspendResource( + suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps ); break; case 5: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); break; case 3: case 4: var previousHoistableRoot = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo); - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); currentHoistableRoot = previousHoistableRoot; break; case 22: @@ -12556,12 +12581,24 @@ function accumulateSuspenseyCommitOnFiber(fiber) { null !== previousHoistableRoot.memoizedState ? ((previousHoistableRoot = suspenseyCommitFlag), (suspenseyCommitFlag = 16777216), - recursivelyAccumulateSuspenseyCommit(fiber), + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ), (suspenseyCommitFlag = previousHoistableRoot)) - : recursivelyAccumulateSuspenseyCommit(fiber)); + : recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + )); break; default: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); } } function detachAlternateSiblings(parentFiber) { @@ -13180,7 +13217,8 @@ function commitRootWhenReady( completedRenderEndTime ) { root.timeoutHandle = -1; - var subtreeFlags = finishedWork.subtreeFlags; + var subtreeFlags = finishedWork.subtreeFlags, + suspendedState = null; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) if ( ((suspendedState = { @@ -13188,17 +13226,18 @@ function commitRootWhenReady( count: 0, imgCount: 0, imgBytes: 0, + suspenseyImages: [], waitingForImages: !0, unsuspend: noop$1 }), - accumulateSuspenseyCommitOnFiber(finishedWork), + accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), (subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0), - (subtreeFlags = waitForCommitToBeReady(subtreeFlags)), + (subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags)), null !== subtreeFlags) ) { root.cancelPendingCommit = subtreeFlags( @@ -13214,6 +13253,7 @@ function commitRootWhenReady( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, 1, completedRenderStartTime, completedRenderEndTime @@ -13233,6 +13273,7 @@ function commitRootWhenReady( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -14069,6 +14110,7 @@ function commitRoot( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -18506,10 +18548,7 @@ function preloadResource(resource) { ? !1 : !0; } -var suspendedState = null; -function suspendResource(hoistableRoot, resource, props) { - if (null === suspendedState) throw Error(formatProdErrorMessage(475)); - var state = suspendedState; +function suspendResource(state, hoistableRoot, resource, props) { if ( "stylesheet" === resource.type && ("string" !== typeof props.media || @@ -18559,9 +18598,7 @@ function suspendResource(hoistableRoot, resource, props) { } } var estimatedBytesWithinLimit = 0; -function waitForCommitToBeReady(timeoutOffset) { - if (null === suspendedState) throw Error(formatProdErrorMessage(475)); - var state = suspendedState; +function waitForCommitToBeReady(state, timeoutOffset) { state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); @@ -19495,14 +19532,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2330 = React.version; if ( - "19.2.0-native-fb-ae22247d-20250915" !== + "19.2.0-native-fb-348a4e2d-20250915" !== isomorphicReactPackageVersion$jscomp$inline_2330 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2330, - "19.2.0-native-fb-ae22247d-20250915" + "19.2.0-native-fb-348a4e2d-20250915" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19524,10 +19561,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2337 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915", + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$324 = 0; @@ -19650,4 +19687,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js index 5e5d03d053..b3fba98a35 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<376bbb39a3082c15f872a2099e783811>> */ /* @@ -16866,26 +16866,47 @@ __DEV__ && } alreadyWarnedForDeepEquality = prevDeepEquality; } - function recursivelyAccumulateSuspenseyCommit(parentFiber) { + function recursivelyAccumulateSuspenseyCommit( + parentFiber, + committedLanes, + suspendedState + ) { if (parentFiber.subtreeFlags & suspenseyCommitFlag) for (parentFiber = parentFiber.child; null !== parentFiber; ) - accumulateSuspenseyCommitOnFiber(parentFiber), + accumulateSuspenseyCommitOnFiber( + parentFiber, + committedLanes, + suspendedState + ), (parentFiber = parentFiber.sibling); } - function accumulateSuspenseyCommitOnFiber(fiber) { + function accumulateSuspenseyCommitOnFiber( + fiber, + committedLanes, + suspendedState + ) { switch (fiber.tag) { case 26: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); fiber.flags & suspenseyCommitFlag && null !== fiber.memoizedState && suspendResource( + suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps ); break; case 5: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); break; case 3: case 4: @@ -16893,7 +16914,11 @@ __DEV__ && currentHoistableRoot = getHoistableRoot( fiber.stateNode.containerInfo ); - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); currentHoistableRoot = previousHoistableRoot; break; case 22: @@ -16903,12 +16928,24 @@ __DEV__ && null !== previousHoistableRoot.memoizedState ? ((previousHoistableRoot = suspenseyCommitFlag), (suspenseyCommitFlag = 16777216), - recursivelyAccumulateSuspenseyCommit(fiber), + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ), (suspenseyCommitFlag = previousHoistableRoot)) - : recursivelyAccumulateSuspenseyCommit(fiber)); + : recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + )); break; default: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); } } function detachAlternateSiblings(parentFiber) { @@ -17594,6 +17631,7 @@ __DEV__ && workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, startTime, + null, IMMEDIATE_COMMIT, renderStartTime, forceSync @@ -17677,7 +17715,8 @@ __DEV__ && completedRenderEndTime ) { root.timeoutHandle = noTimeout; - var subtreeFlags = finishedWork.subtreeFlags; + var subtreeFlags = finishedWork.subtreeFlags, + suspendedState = null; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) if ( ((suspendedState = { @@ -17685,17 +17724,18 @@ __DEV__ && count: 0, imgCount: 0, imgBytes: 0, + suspenseyImages: [], waitingForImages: !0, unsuspend: noop$1 }), - accumulateSuspenseyCommitOnFiber(finishedWork), + accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), (subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0), - (subtreeFlags = waitForCommitToBeReady(subtreeFlags)), + (subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags)), null !== subtreeFlags) ) { root.cancelPendingCommit = subtreeFlags( @@ -17711,6 +17751,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, SUSPENDED_COMMIT, completedRenderStartTime, completedRenderEndTime @@ -17735,6 +17776,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -18772,6 +18814,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -24647,12 +24690,7 @@ __DEV__ && ? !1 : !0; } - function suspendResource(hoistableRoot, resource, props) { - if (null === suspendedState) - throw Error( - "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug." - ); - var state = suspendedState; + function suspendResource(state, hoistableRoot, resource, props) { if ( "stylesheet" === resource.type && ("string" !== typeof props.media || @@ -24701,12 +24739,7 @@ __DEV__ && hoistableRoot.addEventListener("error", resource)); } } - function waitForCommitToBeReady(timeoutOffset) { - if (null === suspendedState) - throw Error( - "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug." - ); - var state = suspendedState; + function waitForCommitToBeReady(state, timeoutOffset) { state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); @@ -29617,7 +29650,6 @@ __DEV__ && }; var globalDocument = "undefined" === typeof document ? null : document, tagCaches = null, - suspendedState = null, SUSPENSEY_STYLESHEET_TIMEOUT = 6e4, SUSPENSEY_IMAGE_TIMEOUT = 800, SUSPENSEY_IMAGE_TIME_ESTIMATE = 500, @@ -29787,11 +29819,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-ae22247d-20250915" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-348a4e2d-20250915" !== 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.2.0-native-fb-ae22247d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-348a4e2d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29828,10 +29860,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30296,7 +30328,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-ae22247d-20250915"; + exports.version = "19.2.0-native-fb-348a4e2d-20250915"; "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-dom/cjs/ReactDOMProfiling-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js index d9b37e91f7..3b7e5403f8 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<2f3432ac1c0851bc4dd9651695437c85>> */ /* @@ -11211,32 +11211,57 @@ function recursivelyTraverseAtomicPassiveEffects( } } var suspenseyCommitFlag = 8192; -function recursivelyAccumulateSuspenseyCommit(parentFiber) { +function recursivelyAccumulateSuspenseyCommit( + parentFiber, + committedLanes, + suspendedState +) { if (parentFiber.subtreeFlags & suspenseyCommitFlag) for (parentFiber = parentFiber.child; null !== parentFiber; ) - accumulateSuspenseyCommitOnFiber(parentFiber), + accumulateSuspenseyCommitOnFiber( + parentFiber, + committedLanes, + suspendedState + ), (parentFiber = parentFiber.sibling); } -function accumulateSuspenseyCommitOnFiber(fiber) { +function accumulateSuspenseyCommitOnFiber( + fiber, + committedLanes, + suspendedState +) { switch (fiber.tag) { case 26: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); fiber.flags & suspenseyCommitFlag && null !== fiber.memoizedState && suspendResource( + suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps ); break; case 5: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); break; case 3: case 4: var previousHoistableRoot = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo); - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); currentHoistableRoot = previousHoistableRoot; break; case 22: @@ -11246,12 +11271,24 @@ function accumulateSuspenseyCommitOnFiber(fiber) { null !== previousHoistableRoot.memoizedState ? ((previousHoistableRoot = suspenseyCommitFlag), (suspenseyCommitFlag = 16777216), - recursivelyAccumulateSuspenseyCommit(fiber), + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ), (suspenseyCommitFlag = previousHoistableRoot)) - : recursivelyAccumulateSuspenseyCommit(fiber)); + : recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + )); break; default: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); } } function detachAlternateSiblings(parentFiber) { @@ -11686,27 +11723,33 @@ function commitRootWhenReady( if ( suspendedCommitReason & 8192 || 16785408 === (suspendedCommitReason & 16785408) - ) - if ( - ((suspendedState = { - stylesheets: null, - count: 0, - imgCount: 0, - imgBytes: 0, - waitingForImages: !0, - unsuspend: noop$1 - }), - accumulateSuspenseyCommitOnFiber(finishedWork), - (suspendedCommitReason = - (lanes & 62914560) === lanes - ? globalMostRecentFallbackTime - now() - : (lanes & 4194048) === lanes - ? globalMostRecentTransitionTime - now() - : 0), - (suspendedCommitReason = waitForCommitToBeReady(suspendedCommitReason)), - null !== suspendedCommitReason) - ) { - root.cancelPendingCommit = suspendedCommitReason( + ) { + suspendedCommitReason = { + stylesheets: null, + count: 0, + imgCount: 0, + imgBytes: 0, + suspenseyImages: [], + waitingForImages: !0, + unsuspend: noop$1 + }; + accumulateSuspenseyCommitOnFiber( + finishedWork, + lanes, + suspendedCommitReason + ); + var timeoutOffset = + (lanes & 62914560) === lanes + ? globalMostRecentFallbackTime - now() + : (lanes & 4194048) === lanes + ? globalMostRecentTransitionTime - now() + : 0; + timeoutOffset = waitForCommitToBeReady( + suspendedCommitReason, + timeoutOffset + ); + if (null !== timeoutOffset) { + root.cancelPendingCommit = timeoutOffset( commitRoot.bind( null, root, @@ -11719,6 +11762,7 @@ function commitRootWhenReady( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedCommitReason, 1, completedRenderStartTime, completedRenderEndTime @@ -11727,6 +11771,7 @@ function commitRootWhenReady( markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); return; } + } commitRoot( root, finishedWork, @@ -16505,10 +16550,7 @@ function preloadResource(resource) { ? !1 : !0; } -var suspendedState = null; -function suspendResource(hoistableRoot, resource, props) { - if (null === suspendedState) throw Error(formatProdErrorMessage(475)); - var state = suspendedState; +function suspendResource(state, hoistableRoot, resource, props) { if ( "stylesheet" === resource.type && ("string" !== typeof props.media || @@ -16558,9 +16600,7 @@ function suspendResource(hoistableRoot, resource, props) { } } var estimatedBytesWithinLimit = 0; -function waitForCommitToBeReady(timeoutOffset) { - if (null === suspendedState) throw Error(formatProdErrorMessage(475)); - var state = suspendedState; +function waitForCommitToBeReady(state, timeoutOffset) { state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); @@ -17496,14 +17536,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2074 = React.version; if ( - "19.2.0-native-fb-ae22247d-20250915" !== + "19.2.0-native-fb-348a4e2d-20250915" !== isomorphicReactPackageVersion$jscomp$inline_2074 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2074, - "19.2.0-native-fb-ae22247d-20250915" + "19.2.0-native-fb-348a4e2d-20250915" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17525,10 +17565,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2649 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2650 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17788,4 +17828,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js index 5972023df3..2ef7afe1b0 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<545191caa1428f447ea38838c1393e23>> */ /* @@ -12525,32 +12525,57 @@ function commitAtomicPassiveEffects( } } var suspenseyCommitFlag = 8192; -function recursivelyAccumulateSuspenseyCommit(parentFiber) { +function recursivelyAccumulateSuspenseyCommit( + parentFiber, + committedLanes, + suspendedState +) { if (parentFiber.subtreeFlags & suspenseyCommitFlag) for (parentFiber = parentFiber.child; null !== parentFiber; ) - accumulateSuspenseyCommitOnFiber(parentFiber), + accumulateSuspenseyCommitOnFiber( + parentFiber, + committedLanes, + suspendedState + ), (parentFiber = parentFiber.sibling); } -function accumulateSuspenseyCommitOnFiber(fiber) { +function accumulateSuspenseyCommitOnFiber( + fiber, + committedLanes, + suspendedState +) { switch (fiber.tag) { case 26: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); fiber.flags & suspenseyCommitFlag && null !== fiber.memoizedState && suspendResource( + suspendedState, currentHoistableRoot, fiber.memoizedState, fiber.memoizedProps ); break; case 5: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); break; case 3: case 4: var previousHoistableRoot = currentHoistableRoot; currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo); - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); currentHoistableRoot = previousHoistableRoot; break; case 22: @@ -12560,12 +12585,24 @@ function accumulateSuspenseyCommitOnFiber(fiber) { null !== previousHoistableRoot.memoizedState ? ((previousHoistableRoot = suspenseyCommitFlag), (suspenseyCommitFlag = 16777216), - recursivelyAccumulateSuspenseyCommit(fiber), + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ), (suspenseyCommitFlag = previousHoistableRoot)) - : recursivelyAccumulateSuspenseyCommit(fiber)); + : recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + )); break; default: - recursivelyAccumulateSuspenseyCommit(fiber); + recursivelyAccumulateSuspenseyCommit( + fiber, + committedLanes, + suspendedState + ); } } function detachAlternateSiblings(parentFiber) { @@ -13184,7 +13221,8 @@ function commitRootWhenReady( completedRenderEndTime ) { root.timeoutHandle = -1; - var subtreeFlags = finishedWork.subtreeFlags; + var subtreeFlags = finishedWork.subtreeFlags, + suspendedState = null; if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) if ( ((suspendedState = { @@ -13192,17 +13230,18 @@ function commitRootWhenReady( count: 0, imgCount: 0, imgBytes: 0, + suspenseyImages: [], waitingForImages: !0, unsuspend: noop$1 }), - accumulateSuspenseyCommitOnFiber(finishedWork), + accumulateSuspenseyCommitOnFiber(finishedWork, lanes, suspendedState), (subtreeFlags = (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes ? globalMostRecentTransitionTime - now$1() : 0), - (subtreeFlags = waitForCommitToBeReady(subtreeFlags)), + (subtreeFlags = waitForCommitToBeReady(suspendedState, subtreeFlags)), null !== subtreeFlags) ) { root.cancelPendingCommit = subtreeFlags( @@ -13218,6 +13257,7 @@ function commitRootWhenReady( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, 1, completedRenderStartTime, completedRenderEndTime @@ -13237,6 +13277,7 @@ function commitRootWhenReady( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -14073,6 +14114,7 @@ function commitRoot( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -18510,10 +18552,7 @@ function preloadResource(resource) { ? !1 : !0; } -var suspendedState = null; -function suspendResource(hoistableRoot, resource, props) { - if (null === suspendedState) throw Error(formatProdErrorMessage(475)); - var state = suspendedState; +function suspendResource(state, hoistableRoot, resource, props) { if ( "stylesheet" === resource.type && ("string" !== typeof props.media || @@ -18563,9 +18602,7 @@ function suspendResource(hoistableRoot, resource, props) { } } var estimatedBytesWithinLimit = 0; -function waitForCommitToBeReady(timeoutOffset) { - if (null === suspendedState) throw Error(formatProdErrorMessage(475)); - var state = suspendedState; +function waitForCommitToBeReady(state, timeoutOffset) { state.stylesheets && 0 === state.count && insertSuspendedStylesheets(state, state.stylesheets); @@ -19510,14 +19547,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2331 = React.version; if ( - "19.2.0-native-fb-ae22247d-20250915" !== + "19.2.0-native-fb-348a4e2d-20250915" !== isomorphicReactPackageVersion$jscomp$inline_2331 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2331, - "19.2.0-native-fb-ae22247d-20250915" + "19.2.0-native-fb-348a4e2d-20250915" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19539,10 +19576,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2338 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915", + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$324 = 0; @@ -19818,7 +19855,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; "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-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js index 7085cd1058..a24df123e7 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<<1ea0ef7b0de8057d1f1001506c606ce2>> + * @generated SignedSource<<8e9819391185dc8c48d161b5d62d0871>> */ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1177() { + function JSCompiler_object_inline_createNodeMock_1178() { return null; } function findHook(fiber, id) { @@ -15920,10 +15920,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15945,7 +15945,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1177, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1178, isConcurrent = !1, isStrictMode = !1; "object" === typeof options && @@ -16068,5 +16068,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.2.0-native-fb-ae22247d-20250915"; + exports.version = "19.2.0-native-fb-348a4e2d-20250915"; })(); 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 222c4cc001..899bc14295 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<> + * @generated SignedSource<> */ "use strict"; @@ -10050,24 +10050,24 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var internals$jscomp$inline_1482 = { +var internals$jscomp$inline_1483 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1483 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1484 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1483.isDisabled && - hook$jscomp$inline_1483.supportsFiber + !hook$jscomp$inline_1484.isDisabled && + hook$jscomp$inline_1484.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1483.inject( - internals$jscomp$inline_1482 + (rendererID = hook$jscomp$inline_1484.inject( + internals$jscomp$inline_1483 )), - (injectedHook = hook$jscomp$inline_1483); + (injectedHook = hook$jscomp$inline_1484); } catch (err) {} } exports._Scheduler = Scheduler; @@ -10191,4 +10191,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; 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 b004d78c21..6cc28e8228 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<<4e40f314cdd7214fac62a77793ae9149>> + * @generated SignedSource<<573f94b20a6009364c4be4d85b6a8d98>> */ "use strict"; @@ -10671,12 +10671,12 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var internals$jscomp$inline_1273 = { +var internals$jscomp$inline_1274 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915", + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$145 = 0; @@ -10694,16 +10694,16 @@ var internals$jscomp$inline_1273 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1548 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1549 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1548.isDisabled && - hook$jscomp$inline_1548.supportsFiber + !hook$jscomp$inline_1549.isDisabled && + hook$jscomp$inline_1549.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1548.inject( - internals$jscomp$inline_1273 + (rendererID = hook$jscomp$inline_1549.inject( + internals$jscomp$inline_1274 )), - (injectedHook = hook$jscomp$inline_1548); + (injectedHook = hook$jscomp$inline_1549); } catch (err) {} } exports._Scheduler = Scheduler; @@ -10827,4 +10827,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; 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 3a3ebb2171..56461b54d6 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<<5ccf81bdf7151d9b20f6abdd8596b285>> + * @generated SignedSource<> */ "use strict"; @@ -1398,7 +1398,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-native-fb-ae22247d-20250915"; + exports.version = "19.2.0-native-fb-348a4e2d-20250915"; "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 a997ee389d..af7bc3092b 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<> + * @generated SignedSource<> */ "use strict"; @@ -581,4 +581,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; 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 ed6fb04fb2..3626a60a63 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<<2be87a0d6d8cedb62c70152034c77b5b>> + * @generated SignedSource<<2b5c3009daad9747f49ad1214bf00ba0>> */ "use strict"; @@ -585,7 +585,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-ae22247d-20250915"; +exports.version = "19.2.0-native-fb-348a4e2d-20250915"; "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 2717239fbd..16b558fd45 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 @@ -ae22247dce1449574cd324cae0d8aa0d4824a937 +348a4e2d44fed940313d0657ee180083d12ffc04 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 94e530ef6e..fa34aff8b5 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<<736d87b1a32c592528681932dbaa3bf1>> + * @generated SignedSource<<38d43e8a1cd791565efe28e70d1f2eaa>> */ "use strict"; @@ -13903,6 +13903,7 @@ __DEV__ && workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, startTime, + null, IMMEDIATE_COMMIT, renderStartTime, forceSync @@ -13987,11 +13988,13 @@ __DEV__ && ) { root.timeoutHandle = noTimeout; didSkipSuspendedSiblings = finishedWork.subtreeFlags; + var suspendedState = null; if ( didSkipSuspendedSiblings & 8192 || 16785408 === (didSkipSuspendedSiblings & 16785408) ) - accumulateSuspenseyCommitOnFiber(finishedWork), + (suspendedState = null), + accumulateSuspenseyCommitOnFiber(finishedWork), (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes @@ -14008,6 +14011,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -15026,6 +15030,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -19762,10 +19767,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); 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 2a58fa688e..fe2c314b49 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<<500541f76d8d8249f88211289807e0c8>> + * @generated SignedSource<<2d37ec3d870c61aadc6b8d0da2440bf0>> */ "use strict"; @@ -11216,26 +11216,26 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1294 = { + internals$jscomp$inline_1295 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1294.rendererConfig = extraDevToolsConfig); + (internals$jscomp$inline_1295.rendererConfig = extraDevToolsConfig); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1624 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1625 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1624.isDisabled && - hook$jscomp$inline_1624.supportsFiber + !hook$jscomp$inline_1625.isDisabled && + hook$jscomp$inline_1625.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1624.inject( - internals$jscomp$inline_1294 + (rendererID = hook$jscomp$inline_1625.inject( + internals$jscomp$inline_1295 )), - (injectedHook = hook$jscomp$inline_1624); + (injectedHook = hook$jscomp$inline_1625); } catch (err) {} } exports.createPortal = function (children, containerTag) { 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 3b935c5eca..e5b3ace572 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<<041d6990efe2c9f558dcaea4a2c8d61b>> */ "use strict"; @@ -11058,11 +11058,13 @@ function commitRootWhenReady( ) { root.timeoutHandle = -1; didSkipSuspendedSiblings = finishedWork.subtreeFlags; + var suspendedState = null; if ( didSkipSuspendedSiblings & 8192 || 16785408 === (didSkipSuspendedSiblings & 16785408) ) - accumulateSuspenseyCommitOnFiber(finishedWork), + (suspendedState = null), + accumulateSuspenseyCommitOnFiber(finishedWork), (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes @@ -11079,6 +11081,7 @@ function commitRootWhenReady( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -11891,6 +11894,7 @@ function commitRoot( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -13169,16 +13173,16 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1544 = { + internals$jscomp$inline_1545 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1544.rendererConfig = extraDevToolsConfig); -internals$jscomp$inline_1544.getLaneLabelMap = function () { + (internals$jscomp$inline_1545.rendererConfig = extraDevToolsConfig); +internals$jscomp$inline_1545.getLaneLabelMap = function () { for ( var map = new Map(), lane = 1, index$167 = 0; 31 > index$167; @@ -13190,20 +13194,20 @@ internals$jscomp$inline_1544.getLaneLabelMap = function () { } return map; }; -internals$jscomp$inline_1544.injectProfilingHooks = function (profilingHooks) { +internals$jscomp$inline_1545.injectProfilingHooks = function (profilingHooks) { injectedProfilingHooks = profilingHooks; }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1876 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1877 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1876.isDisabled && - hook$jscomp$inline_1876.supportsFiber + !hook$jscomp$inline_1877.isDisabled && + hook$jscomp$inline_1877.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1876.inject( - internals$jscomp$inline_1544 + (rendererID = hook$jscomp$inline_1877.inject( + internals$jscomp$inline_1545 )), - (injectedHook = hook$jscomp$inline_1876); + (injectedHook = hook$jscomp$inline_1877); } catch (err) {} } exports.createPortal = function (children, containerTag) { 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 92ba16ab43..3bb50b63ad 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<<40b25681d9cf71cc8b4af8d5bf21f648>> + * @generated SignedSource<> */ "use strict"; @@ -14374,6 +14374,7 @@ __DEV__ && workInProgressRootInterleavedUpdatedLanes, workInProgressSuspendedRetryLanes, startTime, + null, IMMEDIATE_COMMIT, renderStartTime, forceSync @@ -14458,11 +14459,13 @@ __DEV__ && ) { root.timeoutHandle = -1; didSkipSuspendedSiblings = finishedWork.subtreeFlags; + var suspendedState = null; if ( didSkipSuspendedSiblings & 8192 || 16785408 === (didSkipSuspendedSiblings & 16785408) ) - accumulateSuspenseyCommitOnFiber(finishedWork), + (suspendedState = null), + accumulateSuspenseyCommitOnFiber(finishedWork), (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes @@ -14479,6 +14482,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -15496,6 +15500,7 @@ __DEV__ && updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -20042,11 +20047,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-ae22247d-20250915" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-348a4e2d-20250915" !== 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.2.0-native-fb-ae22247d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-348a4e2d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -20072,10 +20077,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); 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 b4bf0f1844..3cf1b7e1be 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<<63b762360310c197c6aff5da5b8167f9>> + * @generated SignedSource<<315fc3d1abe8092be7696710c69feca3>> */ "use strict"; @@ -11377,11 +11377,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-ae22247d-20250915" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-348a4e2d-20250915" !== 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.2.0-native-fb-ae22247d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-348a4e2d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11429,26 +11429,26 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1325 = { + internals$jscomp$inline_1326 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1325.rendererConfig = extraDevToolsConfig); + (internals$jscomp$inline_1326.rendererConfig = extraDevToolsConfig); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1688 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1689 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1688.isDisabled && - hook$jscomp$inline_1688.supportsFiber + !hook$jscomp$inline_1689.isDisabled && + hook$jscomp$inline_1689.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1688.inject( - internals$jscomp$inline_1325 + (rendererID = hook$jscomp$inline_1689.inject( + internals$jscomp$inline_1326 )), - (injectedHook = hook$jscomp$inline_1688); + (injectedHook = hook$jscomp$inline_1689); } catch (err) {} } exports.createPortal = function (children, containerTag) { 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 67fd9e2003..f2d6f2eaaf 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<<1b2029058da383893d4d2272a68879b0>> + * @generated SignedSource<> */ "use strict"; @@ -11543,11 +11543,13 @@ function commitRootWhenReady( ) { root.timeoutHandle = -1; didSkipSuspendedSiblings = finishedWork.subtreeFlags; + var suspendedState = null; if ( didSkipSuspendedSiblings & 8192 || 16785408 === (didSkipSuspendedSiblings & 16785408) ) - accumulateSuspenseyCommitOnFiber(finishedWork), + (suspendedState = null), + accumulateSuspenseyCommitOnFiber(finishedWork), (lanes & 62914560) === lanes ? globalMostRecentFallbackTime - now$1() : (lanes & 4194048) === lanes @@ -11564,6 +11566,7 @@ function commitRootWhenReady( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -12376,6 +12379,7 @@ function commitRoot( updatedLanes, suspendedRetryLanes, exitStatus, + suspendedState, suspendedCommitReason, completedRenderStartTime, completedRenderEndTime @@ -13320,11 +13324,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-ae22247d-20250915" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-348a4e2d-20250915" !== 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.2.0-native-fb-ae22247d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-348a4e2d-20250915\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -13372,16 +13376,16 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1575 = { + internals$jscomp$inline_1576 = { bundleType: 0, - version: "19.2.0-native-fb-ae22247d-20250915", + version: "19.2.0-native-fb-348a4e2d-20250915", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-ae22247d-20250915" + reconcilerVersion: "19.2.0-native-fb-348a4e2d-20250915" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1575.rendererConfig = extraDevToolsConfig); -internals$jscomp$inline_1575.getLaneLabelMap = function () { + (internals$jscomp$inline_1576.rendererConfig = extraDevToolsConfig); +internals$jscomp$inline_1576.getLaneLabelMap = function () { for ( var map = new Map(), lane = 1, index$174 = 0; 31 > index$174; @@ -13393,20 +13397,20 @@ internals$jscomp$inline_1575.getLaneLabelMap = function () { } return map; }; -internals$jscomp$inline_1575.injectProfilingHooks = function (profilingHooks) { +internals$jscomp$inline_1576.injectProfilingHooks = function (profilingHooks) { injectedProfilingHooks = profilingHooks; }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1940 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1941 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1940.isDisabled && - hook$jscomp$inline_1940.supportsFiber + !hook$jscomp$inline_1941.isDisabled && + hook$jscomp$inline_1941.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1940.inject( - internals$jscomp$inline_1575 + (rendererID = hook$jscomp$inline_1941.inject( + internals$jscomp$inline_1576 )), - (injectedHook = hook$jscomp$inline_1940); + (injectedHook = hook$jscomp$inline_1941); } catch (err) {} } exports.createPortal = function (children, containerTag) { diff --git a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json index a36a5fc418..c211e6bf49 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json +++ b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json @@ -1,7 +1,7 @@ { "name": "eslint-plugin-react-hooks", "description": "ESLint rules for React Hooks", - "version": "0.0.0-experimental-ae22247d-20250915", + "version": "0.0.0-experimental-348a4e2d-20250915", "repository": { "type": "git", "url": "https://github.com/facebook/react.git",