From 863c41cd67a030dc930b1ff4243f54f98ba3932a Mon Sep 17 00:00:00 2001 From: sebmarkbage Date: Tue, 13 May 2025 12:52:35 -0700 Subject: [PATCH] [Fiber] Trigger default transition indicator if needed (#33160) Stacked on #33159. This implements `onDefaultTransitionIndicator`. The sequence is: 1) In `markRootUpdated` we schedule Transition updates as needing `indicatorLanes` on the root. This tracks the lanes that currently need an indicator to either start or remain going until this lane commits. 2) Track mutations during any commit. We use the same hook that view transitions use here but instead of tracking it just per view transition scope, we also track a global boolean for the whole root. 3) If a sync/default commit had any mutations, then we clear the indicator lane for the `currentEventTransitionLane`. This requires that the lane is still active while we do these commits. See #33159. In other words, a sync update gets associated with the current transition and it is assumed to be rendering the loading state for that corresponding transition so we don't need a default indicator for this lane. 4) At the end of `processRootScheduleInMicrotask`, right before we're about to enter a new "event transition lane" scope, it is no longer possible to render any more loading states for the current transition lane. That's when we invoke `onDefaultTransitionIndicator` for any roots that have new indicator lanes. 5) When we commit, we remove the finished lanes from `indicatorLanes` and once that reaches zero again, then we can clean up the default indicator. This approach means that you can start multiple different transitions while an indicator is still going but it won't stop/restart each time. Instead, it'll wait until all are done before stopping. Follow ups: - [x] Default updates are currently not enough to cancel because those aren't flush in the same microtask. That's unfortunate. #33186 - [x] Handle async actions before the setState. Since these don't necessarily have a root this is tricky. #33190 - [x] Disable for `useDeferredValue`. ~Since it also goes through `markRootUpdated` and schedules a Transition lane it'll get a default indicator even though it probably shouldn't have one.~ EDIT: Turns out this just works because it doesn't go through `markRootUpdated` when work is left behind. - [x] Implement built-in DOM version by default. #33162 DiffTrain build for [62d3f36ea79fc0a10b514d4bbcc4ba3f21b3206e](https://github.com/facebook/react/commit/62d3f36ea79fc0a10b514d4bbcc4ba3f21b3206e) --- 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 | 92 +++++++++--------- .../react-dom/cjs/ReactDOMClient-prod.js | 84 +++++++++-------- .../react-dom/cjs/ReactDOMClient-profiling.js | 84 +++++++++-------- .../react-dom/cjs/ReactDOMProfiling-dev.js | 92 +++++++++--------- .../react-dom/cjs/ReactDOMProfiling-prod.js | 84 +++++++++-------- .../cjs/ReactDOMProfiling-profiling.js | 84 +++++++++-------- .../cjs/ReactTestRenderer-dev.js | 93 ++++++++++--------- .../cjs/ReactTestRenderer-prod.js | 83 ++++++++--------- .../cjs/ReactTestRenderer-profiling.js | 83 ++++++++--------- .../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 | 86 ++++++++--------- .../implementations/ReactFabric-prod.fb.js | 78 ++++++++-------- .../ReactFabric-profiling.fb.js | 78 ++++++++-------- .../ReactNativeRenderer-dev.fb.js | 90 +++++++++--------- .../ReactNativeRenderer-prod.fb.js | 85 +++++++++-------- .../ReactNativeRenderer-profiling.fb.js | 85 +++++++++-------- .../eslint-plugin-react-hooks/package.json | 2 +- 24 files changed, 664 insertions(+), 647 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index ebbfa5e7f2..53e76ff6b0 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.2.0-native-fb-676f0879-20250513 \ No newline at end of file +19.2.0-native-fb-62d3f36e-20250513 \ 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 7df0014675..27157dc4d9 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<> + * @generated SignedSource<<0f588882dab9ef4ea9124a97131c2c34>> */ "use strict"; @@ -404,5 +404,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-676f0879-20250513"; + exports.version = "19.2.0-native-fb-62d3f36e-20250513"; })(); 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 76af93d0bf..9d2e64343e 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<<65b24823e3ee1fda0b4a43de8b27ad03>> */ "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-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; 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 76af93d0bf..9d2e64343e 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<<65b24823e3ee1fda0b4a43de8b27ad03>> */ "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-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; 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 3e079e4ec3..60a52e5ca7 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<<6a9d7c3fdeb5555be8f862a75413cc56>> + * @generated SignedSource<<267c7a1855e539eb2c7e5474aaf1c266>> */ /* @@ -15616,8 +15616,7 @@ __DEV__ && return null !== transition ? (transition._updatedFibers || (transition._updatedFibers = new Set()), transition._updatedFibers.add(fiber), - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + requestTransitionLane()) : resolveUpdatePriority(); } function requestDeferredLane() { @@ -16868,9 +16867,9 @@ __DEV__ && if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) { rootHasLayoutEffect = ReactSharedInternals.T; ReactSharedInternals.T = null; - var previousPriority = ReactDOMSharedInternals.p; + var _previousPriority = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = DiscreteEventPriority; - var prevExecutionContext = executionContext; + var _prevExecutionContext = executionContext; executionContext |= CommitContext; try { null !== injectedProfilingHooks && @@ -16891,8 +16890,8 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStopped && injectedProfilingHooks.markLayoutEffectsStopped(); } finally { - (executionContext = prevExecutionContext), - (ReactDOMSharedInternals.p = previousPriority), + (executionContext = _prevExecutionContext), + (ReactDOMSharedInternals.p = _previousPriority), (ReactSharedInternals.T = rootHasLayoutEffect); } } @@ -17530,7 +17529,7 @@ __DEV__ && (pendingEffectsStatus !== NO_PENDING_EFFECTS && pendingEffectsStatus !== PENDING_PASSIVE_PHASE) || flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -17668,8 +17667,11 @@ __DEV__ && }); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function coerceFormActionProp(actionProp) { @@ -24410,7 +24412,36 @@ __DEV__ && return localDate.now(); }; } - var OffscreenVisible = 1, + var reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, + OffscreenVisible = 1, OffscreenPassiveEffectsConnected = 2, concurrentQueues = [], concurrentQueuesIndex = 0, @@ -26021,35 +26052,6 @@ __DEV__ && injectedProfilingHooks.markForceUpdateScheduled(inst, lane); } }, - reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error( @@ -26958,11 +26960,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-676f0879-20250513" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-62d3f36e-20250513" !== 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-676f0879-20250513\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-62d3f36e-20250513\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26999,10 +27001,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27140,5 +27142,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-native-fb-676f0879-20250513"; + exports.version = "19.2.0-native-fb-62d3f36e-20250513"; })(); 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 332900be61..150f5d6877 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<<4efb453f059d3cbb66eb1cbe4cb4da09>> + * @generated SignedSource<<18a0bd07d835883bced56cd97e57332c>> */ /* @@ -2428,7 +2428,36 @@ function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } -var concurrentQueues = [], +var reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, + concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0; function finishQueueingConcurrentUpdates() { @@ -6101,35 +6130,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnUncaughtError(error) { reportGlobalError(error); } @@ -11350,8 +11350,7 @@ function requestUpdateLane(fiber) { : 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes : null !== ReactSharedInternals.T - ? ((fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + ? requestTransitionLane() : resolveUpdatePriority(); } function requestDeferredLane() { @@ -12721,7 +12720,7 @@ function processRootScheduleInMicrotask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -12829,8 +12828,11 @@ function scheduleImmediateRootScheduleTask() { }); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function coerceFormActionProp(actionProp) { @@ -17049,14 +17051,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2015 = React.version; if ( - "19.2.0-native-fb-676f0879-20250513" !== + "19.2.0-native-fb-62d3f36e-20250513" !== isomorphicReactPackageVersion$jscomp$inline_2015 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2015, - "19.2.0-native-fb-676f0879-20250513" + "19.2.0-native-fb-62d3f36e-20250513" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17078,10 +17080,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2534 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2535 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17179,4 +17181,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; 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 9ab55408b5..c531c6d653 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<<50c918ff0114ae898defc619c4abb021>> + * @generated SignedSource<> */ /* @@ -2506,7 +2506,36 @@ function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } -var concurrentQueues = [], +var reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, + concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0; function finishQueueingConcurrentUpdates() { @@ -6268,35 +6297,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnUncaughtError(error) { reportGlobalError(error); } @@ -11911,8 +11911,7 @@ function requestUpdateLane(fiber) { : 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes : null !== ReactSharedInternals.T - ? ((fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + ? requestTransitionLane() : resolveUpdatePriority(); } function requestDeferredLane() { @@ -13420,7 +13419,7 @@ function processRootScheduleInMicrotask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -13531,8 +13530,11 @@ function scheduleImmediateRootScheduleTask() { }); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function coerceFormActionProp(actionProp) { @@ -17759,14 +17761,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2118 = React.version; if ( - "19.2.0-native-fb-676f0879-20250513" !== + "19.2.0-native-fb-62d3f36e-20250513" !== isomorphicReactPackageVersion$jscomp$inline_2118 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2118, - "19.2.0-native-fb-676f0879-20250513" + "19.2.0-native-fb-62d3f36e-20250513" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17788,10 +17790,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2125 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513", + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$313 = 0; @@ -17904,4 +17906,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; 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 a6f0fc74d5..43f0c5ff8c 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<<6d58a90c69b73baba51fdd7d85267ec2>> + * @generated SignedSource<<404915df5e4ddb49ce4af2f9d6458bcb>> */ /* @@ -15624,8 +15624,7 @@ __DEV__ && return null !== transition ? (transition._updatedFibers || (transition._updatedFibers = new Set()), transition._updatedFibers.add(fiber), - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + requestTransitionLane()) : resolveUpdatePriority(); } function requestDeferredLane() { @@ -16876,9 +16875,9 @@ __DEV__ && if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) { rootHasLayoutEffect = ReactSharedInternals.T; ReactSharedInternals.T = null; - var previousPriority = ReactDOMSharedInternals.p; + var _previousPriority = ReactDOMSharedInternals.p; ReactDOMSharedInternals.p = DiscreteEventPriority; - var prevExecutionContext = executionContext; + var _prevExecutionContext = executionContext; executionContext |= CommitContext; try { null !== injectedProfilingHooks && @@ -16899,8 +16898,8 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStopped && injectedProfilingHooks.markLayoutEffectsStopped(); } finally { - (executionContext = prevExecutionContext), - (ReactDOMSharedInternals.p = previousPriority), + (executionContext = _prevExecutionContext), + (ReactDOMSharedInternals.p = _previousPriority), (ReactSharedInternals.T = rootHasLayoutEffect); } } @@ -17538,7 +17537,7 @@ __DEV__ && (pendingEffectsStatus !== NO_PENDING_EFFECTS && pendingEffectsStatus !== PENDING_PASSIVE_PHASE) || flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -17676,8 +17675,11 @@ __DEV__ && }); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function coerceFormActionProp(actionProp) { @@ -24466,7 +24468,36 @@ __DEV__ && return localDate.now(); }; } - var OffscreenVisible = 1, + var reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, + OffscreenVisible = 1, OffscreenPassiveEffectsConnected = 2, concurrentQueues = [], concurrentQueuesIndex = 0, @@ -26077,35 +26108,6 @@ __DEV__ && injectedProfilingHooks.markForceUpdateScheduled(inst, lane); } }, - reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error( @@ -27014,11 +27016,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-676f0879-20250513" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-62d3f36e-20250513" !== 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-676f0879-20250513\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-62d3f36e-20250513\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27055,10 +27057,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27512,7 +27514,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-676f0879-20250513"; + exports.version = "19.2.0-native-fb-62d3f36e-20250513"; "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 4f23788a90..22fca77041 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<<5ab53ddb6c8c7189be61c547417dbddb>> + * @generated SignedSource<<65dea35d9b44a187cd9412d8c812e069>> */ /* @@ -2428,7 +2428,36 @@ function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } -var concurrentQueues = [], +var reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, + concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0; function finishQueueingConcurrentUpdates() { @@ -6101,35 +6130,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnUncaughtError(error) { reportGlobalError(error); } @@ -11350,8 +11350,7 @@ function requestUpdateLane(fiber) { : 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes : null !== ReactSharedInternals.T - ? ((fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + ? requestTransitionLane() : resolveUpdatePriority(); } function requestDeferredLane() { @@ -12721,7 +12720,7 @@ function processRootScheduleInMicrotask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -12829,8 +12828,11 @@ function scheduleImmediateRootScheduleTask() { }); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function coerceFormActionProp(actionProp) { @@ -17060,14 +17062,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2016 = React.version; if ( - "19.2.0-native-fb-676f0879-20250513" !== + "19.2.0-native-fb-62d3f36e-20250513" !== isomorphicReactPackageVersion$jscomp$inline_2016 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2016, - "19.2.0-native-fb-676f0879-20250513" + "19.2.0-native-fb-62d3f36e-20250513" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17089,10 +17091,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2537 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2538 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17343,4 +17345,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; 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 e06391e200..2cadd06125 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<<451e085e8f8046c1e852a5f4c7b45497>> + * @generated SignedSource<<2c8cac8f4c4fce469bfb6abe75513945>> */ /* @@ -2510,7 +2510,36 @@ function registerSimpleEvent(domEventName, reactName) { topLevelEventsToReactNames.set(domEventName, reactName); registerTwoPhaseEvent(reactName, [domEventName]); } -var concurrentQueues = [], +var reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, + concurrentQueues = [], concurrentQueuesIndex = 0, concurrentlyUpdatedLanes = 0; function finishQueueingConcurrentUpdates() { @@ -6272,35 +6301,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnUncaughtError(error) { reportGlobalError(error); } @@ -11915,8 +11915,7 @@ function requestUpdateLane(fiber) { : 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes : null !== ReactSharedInternals.T - ? ((fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + ? requestTransitionLane() : resolveUpdatePriority(); } function requestDeferredLane() { @@ -13424,7 +13423,7 @@ function processRootScheduleInMicrotask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -13535,8 +13534,11 @@ function scheduleImmediateRootScheduleTask() { }); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function coerceFormActionProp(actionProp) { @@ -17774,14 +17776,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2119 = React.version; if ( - "19.2.0-native-fb-676f0879-20250513" !== + "19.2.0-native-fb-62d3f36e-20250513" !== isomorphicReactPackageVersion$jscomp$inline_2119 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2119, - "19.2.0-native-fb-676f0879-20250513" + "19.2.0-native-fb-62d3f36e-20250513" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17803,10 +17805,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2126 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513", + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$313 = 0; @@ -18072,7 +18074,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; "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 58ae53f098..0f92ec9f70 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,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -2155,6 +2155,7 @@ __DEV__ && for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } + function noop() {} function ensureRootIsScheduled(root) { root !== lastScheduledRoot && null === root.next && @@ -2241,7 +2242,7 @@ __DEV__ && (pendingEffectsStatus !== NO_PENDING_EFFECTS && pendingEffectsStatus !== PENDING_PASSIVE_PHASE) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -2372,8 +2373,11 @@ __DEV__ && scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function entangleAsyncAction(transition, thenable) { @@ -2471,7 +2475,6 @@ __DEV__ && } return !0; } - function noop() {} function createThenableState() { return { didWarnAboutUncachedPromise: !1, thenables: [] }; } @@ -11225,8 +11228,7 @@ __DEV__ && return ( transition._updatedFibers || (transition._updatedFibers = new Set()), transition._updatedFibers.add(fiber), - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane() + requestTransitionLane() ); fiber = 0 !== currentUpdatePriority @@ -12307,9 +12309,9 @@ __DEV__ && if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) { rootHasLayoutEffect = ReactSharedInternals.T; ReactSharedInternals.T = null; - var previousPriority = currentUpdatePriority; + var _previousPriority = currentUpdatePriority; currentUpdatePriority = DiscreteEventPriority; - var prevExecutionContext = executionContext; + var _prevExecutionContext = executionContext; executionContext |= CommitContext; try { null !== injectedProfilingHooks && @@ -12327,8 +12329,8 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStopped && injectedProfilingHooks.markLayoutEffectsStopped(); } finally { - (executionContext = prevExecutionContext), - (currentUpdatePriority = previousPriority), + (executionContext = _prevExecutionContext), + (currentUpdatePriority = _previousPriority), (ReactSharedInternals.T = rootHasLayoutEffect); } } @@ -13753,6 +13755,35 @@ __DEV__ && }; } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, disabledDepth = 0, prevLog, prevInfo, @@ -15291,35 +15322,6 @@ __DEV__ && injectedProfilingHooks.markForceUpdateScheduled(inst, lane); } }, - reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error( @@ -15526,8 +15528,7 @@ __DEV__ && setSuspenseHandler = function (newShouldSuspendImpl) { shouldSuspendImpl = newShouldSuspendImpl; }; - var defaultOnDefaultTransitionIndicator = noop, - act = React.act, + var act = React.act, validWrapperTypes = new Set([0, 1, 5, 11, 14, 15, 3]), ReactTestInstance = (function () { function ReactTestInstance(fiber) { @@ -15657,10 +15658,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15706,7 +15707,7 @@ __DEV__ && defaultOnUncaughtError, defaultOnCaughtError, defaultOnRecoverableError, - defaultOnDefaultTransitionIndicator + noop ); if (null == root) throw Error("something went wrong"); updateContainer(element, root, null, null); @@ -15805,5 +15806,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.2.0-native-fb-676f0879-20250513"; + exports.version = "19.2.0-native-fb-62d3f36e-20250513"; })(); 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 3609d29b83..1b556e1d6a 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<<8ab12bcab470093daf58e670285914c7>> */ "use strict"; @@ -749,6 +749,35 @@ function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, prefix, suffix; function describeBuiltInComponentFrame(name) { @@ -1216,6 +1245,7 @@ function releaseCache(cache) { cache.controller.abort(); }); } +function noop() {} var firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, @@ -1296,7 +1326,7 @@ function processRootScheduleInImmediateTask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -1397,8 +1427,11 @@ function performSyncWorkOnRoot(root, lanes) { performWorkOnRoot(root, lanes, !0); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } var currentEntangledListeners = null, @@ -1511,7 +1544,6 @@ function shallowEqual(objA, objB) { } return !0; } -function noop() {} var SuspenseException = Error( "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`." ), @@ -4181,35 +4213,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnUncaughtError(error) { reportGlobalError(error); } @@ -8147,11 +8150,7 @@ function requestUpdateLane(fiber) { if (0 === (fiber.mode & 1)) return 2; if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes) return workInProgressRootRenderLanes & -workInProgressRootRenderLanes; - if (null !== ReactSharedInternals.T) - return ( - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane() - ); + if (null !== ReactSharedInternals.T) return requestTransitionLane(); fiber = 0 !== currentUpdatePriority ? currentUpdatePriority : 32; return fiber; } @@ -9896,10 +9895,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1446 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1447 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10035,4 +10034,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; 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 8e630c87dd..d735df48ae 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<<50844385e94ce187ec528ce618232721>> + * @generated SignedSource<> */ "use strict"; @@ -797,6 +797,35 @@ function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, prefix, suffix; function describeBuiltInComponentFrame(name) { @@ -1329,6 +1358,7 @@ function transferActualDuration(fiber) { for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } +function noop() {} var firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, @@ -1409,7 +1439,7 @@ function processRootScheduleInImmediateTask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -1513,8 +1543,11 @@ function performSyncWorkOnRoot(root, lanes) { performWorkOnRoot(root, lanes, !0); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } var currentEntangledListeners = null, @@ -1627,7 +1660,6 @@ function shallowEqual(objA, objB) { } return !0; } -function noop() {} var SuspenseException = Error( "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`." ), @@ -4305,35 +4337,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnUncaughtError(error) { reportGlobalError(error); } @@ -8643,11 +8646,7 @@ function requestUpdateLane(fiber) { if (0 === (fiber.mode & 1)) return 2; if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes) return workInProgressRootRenderLanes & -workInProgressRootRenderLanes; - if (null !== ReactSharedInternals.T) - return ( - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane() - ); + if (null !== ReactSharedInternals.T) return requestTransitionLane(); fiber = 0 !== currentUpdatePriority ? currentUpdatePriority : 32; return fiber; } @@ -10516,10 +10515,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1254 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513", + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$155 = 0; @@ -10670,4 +10669,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; 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 52b2cfcfec..a101512e08 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<<1ac8916ee5fa6d1b9e6ac4fc77836881>> + * @generated SignedSource<> */ "use strict"; @@ -1411,7 +1411,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-native-fb-676f0879-20250513"; + exports.version = "19.2.0-native-fb-62d3f36e-20250513"; "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 d68128b5e1..20c1c4b578 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<<7dfad29494f6839832aa090110b26b78>> + * @generated SignedSource<<1b4a637ee536c8b331a25285b95bc17c>> */ "use strict"; @@ -586,4 +586,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; 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 630e449331..0f49182dff 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<> */ "use strict"; @@ -590,7 +590,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-676f0879-20250513"; +exports.version = "19.2.0-native-fb-62d3f36e-20250513"; "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 966ffb44d1..fcaffecb21 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 @@ -676f0879f315130309262ff3532707029f0288bb +62d3f36ea79fc0a10b514d4bbcc4ba3f21b3206e 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 2300955247..185e3ae947 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<<427b849d8f576562d4090c4cf0b65de4>> + * @generated SignedSource<<9ee9d74ca72cae2678bd026a8f85ec04>> */ "use strict"; @@ -3071,6 +3071,7 @@ __DEV__ && for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } + function noop() {} function ensureRootIsScheduled(root) { root !== lastScheduledRoot && null === root.next && @@ -3157,7 +3158,7 @@ __DEV__ && (pendingEffectsStatus !== NO_PENDING_EFFECTS && pendingEffectsStatus !== PENDING_PASSIVE_PHASE) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -3300,8 +3301,11 @@ __DEV__ && ); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function entangleAsyncAction(transition, thenable) { @@ -3399,7 +3403,6 @@ __DEV__ && } return !0; } - function noop() {} function createThenableState() { return { didWarnAboutUncachedPromise: !1, thenables: [] }; } @@ -12141,8 +12144,7 @@ __DEV__ && return null !== transition ? (transition._updatedFibers || (transition._updatedFibers = new Set()), transition._updatedFibers.add(fiber), - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + requestTransitionLane()) : resolveUpdatePriority(); } function requestDeferredLane() { @@ -13226,9 +13228,9 @@ __DEV__ && if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) { rootHasLayoutEffect = ReactSharedInternals.T; ReactSharedInternals.T = null; - var previousPriority = currentUpdatePriority; + var _previousPriority = currentUpdatePriority; currentUpdatePriority = DiscreteEventPriority; - var prevExecutionContext = executionContext; + var _prevExecutionContext = executionContext; executionContext |= CommitContext; try { null !== injectedProfilingHooks && @@ -13249,8 +13251,8 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStopped && injectedProfilingHooks.markLayoutEffectsStopped(); } finally { - (executionContext = prevExecutionContext), - (currentUpdatePriority = previousPriority), + (executionContext = _prevExecutionContext), + (currentUpdatePriority = _previousPriority), (ReactSharedInternals.T = rootHasLayoutEffect); } } @@ -15437,6 +15439,35 @@ __DEV__ && }; } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, CapturedStacks = new WeakMap(), contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), @@ -16958,35 +16989,6 @@ __DEV__ && injectedProfilingHooks.markForceUpdateScheduled(inst, lane); } }, - reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error( @@ -17484,10 +17486,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; 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 5b96a452c9..08a77d4fac 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<<11b5b8eb47180e8a0ffbe0f7ffffc942>> */ "use strict"; @@ -2197,6 +2197,35 @@ function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, CapturedStacks = new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { @@ -2476,6 +2505,7 @@ function releaseCache(cache) { cache.controller.abort(); }); } +function noop() {} var firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, @@ -2558,7 +2588,7 @@ function processRootScheduleInMicrotask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -2668,8 +2698,11 @@ function scheduleImmediateRootScheduleTask() { : scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } var currentEntangledListeners = null, @@ -2782,7 +2815,6 @@ function shallowEqual(objA, objB) { } return !0; } -function noop() {} var SuspenseException = Error( "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`." ), @@ -5459,35 +5491,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnRecoverableError(error) { reportGlobalError(error); } @@ -9498,8 +9501,7 @@ function requestUpdateLane(fiber) { : 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes : null !== ReactSharedInternals.T - ? ((fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + ? requestTransitionLane() : resolveUpdatePriority(); } function requestDeferredLane() { @@ -11200,10 +11202,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1255 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1255.rendererConfig = extraDevToolsConfig); 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 092cdb0d43..d92eb8a90c 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<<09f960192ac27382f10d9609dabc3ef0>> + * @generated SignedSource<<1710e341b283c6a781914b31991b9778>> */ "use strict"; @@ -2279,6 +2279,35 @@ function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, CapturedStacks = new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { @@ -2623,6 +2652,7 @@ function transferActualDuration(fiber) { for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } +function noop() {} var firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, @@ -2705,7 +2735,7 @@ function processRootScheduleInMicrotask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -2818,8 +2848,11 @@ function scheduleImmediateRootScheduleTask() { : scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } var currentEntangledListeners = null, @@ -2932,7 +2965,6 @@ function shallowEqual(objA, objB) { } return !0; } -function noop() {} var SuspenseException = Error( "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`." ), @@ -5617,35 +5649,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnRecoverableError(error) { reportGlobalError(error); } @@ -10041,8 +10044,7 @@ function requestUpdateLane(fiber) { : 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes : null !== ReactSharedInternals.T - ? ((fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) + ? requestTransitionLane() : resolveUpdatePriority(); } function requestDeferredLane() { @@ -11904,10 +11906,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1356 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1356.rendererConfig = extraDevToolsConfig); 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 9ad20c5136..f23fbdc75e 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<> */ "use strict"; @@ -3170,6 +3170,7 @@ __DEV__ && for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } + function noop() {} function ensureRootIsScheduled(root) { root !== lastScheduledRoot && null === root.next && @@ -3256,7 +3257,7 @@ __DEV__ && (pendingEffectsStatus !== NO_PENDING_EFFECTS && pendingEffectsStatus !== PENDING_PASSIVE_PHASE) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -3387,8 +3388,11 @@ __DEV__ && scheduleCallback$3(ImmediatePriority, processRootScheduleInImmediateTask); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } function entangleAsyncAction(transition, thenable) { @@ -3486,7 +3490,6 @@ __DEV__ && } return !0; } - function noop() {} function createThenableState() { return { didWarnAboutUncachedPromise: !1, thenables: [] }; } @@ -12381,8 +12384,7 @@ __DEV__ && return ( transition._updatedFibers || (transition._updatedFibers = new Set()), transition._updatedFibers.add(fiber), - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane() + requestTransitionLane() ); fiber = 0 !== currentUpdatePriority @@ -13465,9 +13467,9 @@ __DEV__ && if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) { rootHasLayoutEffect = ReactSharedInternals.T; ReactSharedInternals.T = null; - var previousPriority = currentUpdatePriority; + var _previousPriority = currentUpdatePriority; currentUpdatePriority = DiscreteEventPriority; - var prevExecutionContext = executionContext; + var _prevExecutionContext = executionContext; executionContext |= CommitContext; try { null !== injectedProfilingHooks && @@ -13488,8 +13490,8 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStopped && injectedProfilingHooks.markLayoutEffectsStopped(); } finally { - (executionContext = prevExecutionContext), - (currentUpdatePriority = previousPriority), + (executionContext = _prevExecutionContext), + (currentUpdatePriority = _previousPriority), (ReactSharedInternals.T = rootHasLayoutEffect); } } @@ -15842,6 +15844,35 @@ __DEV__ && }; } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, CapturedStacks = new WeakMap(), contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), @@ -17365,35 +17396,6 @@ __DEV__ && injectedProfilingHooks.markForceUpdateScheduled(inst, lane); } }, - reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }, componentName = null, errorBoundaryName = null, SelectiveHydrationException = Error( @@ -17607,11 +17609,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-676f0879-20250513" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-62d3f36e-20250513" !== 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-676f0879-20250513\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-62d3f36e-20250513\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17637,10 +17639,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; 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 1031f64ffd..be374d1c7b 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<<7cabe8f1bd34fe3310dc8740a2775b1b>> + * @generated SignedSource<<46ba30c821470e5233ee815d61c8b721>> */ "use strict"; @@ -2329,6 +2329,35 @@ function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, CapturedStacks = new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { @@ -2619,6 +2648,7 @@ function releaseCache(cache) { cache.controller.abort(); }); } +function noop() {} var firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, @@ -2699,7 +2729,7 @@ function processRootScheduleInImmediateTask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -2800,8 +2830,11 @@ function performSyncWorkOnRoot(root, lanes) { performWorkOnRoot(root, lanes, !0); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } var currentEntangledListeners = null, @@ -2914,7 +2947,6 @@ function shallowEqual(objA, objB) { } return !0; } -function noop() {} var SuspenseException = Error( "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`." ), @@ -5591,35 +5623,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnRecoverableError(error) { reportGlobalError(error); } @@ -9754,11 +9757,7 @@ function requestUpdateLane(fiber) { if (0 === (fiber.mode & 1)) return 2; if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes) return workInProgressRootRenderLanes & -workInProgressRootRenderLanes; - if (null !== ReactSharedInternals.T) - return ( - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane() - ); + if (null !== ReactSharedInternals.T) return requestTransitionLane(); fiber = 0 !== currentUpdatePriority ? currentUpdatePriority : 32; return fiber; } @@ -11212,11 +11211,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-676f0879-20250513" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-62d3f36e-20250513" !== 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-676f0879-20250513\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-62d3f36e-20250513\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11266,10 +11265,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1306 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1306.rendererConfig = extraDevToolsConfig); 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 c95352e433..6df6ebd7c9 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -2411,6 +2411,35 @@ function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } var objectIs = "function" === typeof Object.is ? Object.is : is, + reportGlobalError = + "function" === typeof reportError + ? reportError + : function (error) { + if ( + "object" === typeof window && + "function" === typeof window.ErrorEvent + ) { + var event = new window.ErrorEvent("error", { + bubbles: !0, + cancelable: !0, + message: + "object" === typeof error && + null !== error && + "string" === typeof error.message + ? String(error.message) + : String(error), + error: error + }); + if (!window.dispatchEvent(event)) return; + } else if ( + "object" === typeof process && + "function" === typeof process.emit + ) { + process.emit("uncaughtException", error); + return; + } + console.error(error); + }, CapturedStacks = new WeakMap(); function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { @@ -2766,6 +2795,7 @@ function transferActualDuration(fiber) { for (var child = fiber.child; child; ) (fiber.actualDuration += child.actualDuration), (child = child.sibling); } +function noop() {} var firstScheduledRoot = null, lastScheduledRoot = null, didScheduleMicrotask = !1, @@ -2846,7 +2876,7 @@ function processRootScheduleInImmediateTask() { } (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) || flushSyncWorkAcrossRoots_impl(0, !1); - currentEventTransitionLane = 0; + 0 !== currentEventTransitionLane && (currentEventTransitionLane = 0); } function scheduleTaskForRootDuringMicrotask(root, currentTime) { for ( @@ -2950,8 +2980,11 @@ function performSyncWorkOnRoot(root, lanes) { performWorkOnRoot(root, lanes, !0); } function requestTransitionLane() { - 0 === currentEventTransitionLane && - (currentEventTransitionLane = claimNextTransitionLane()); + if (0 === currentEventTransitionLane) { + var actionScopeLane = currentEntangledLane; + currentEventTransitionLane = + 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + } return currentEventTransitionLane; } var currentEntangledListeners = null, @@ -3064,7 +3097,6 @@ function shallowEqual(objA, objB) { } return !0; } -function noop() {} var SuspenseException = Error( "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`." ), @@ -5749,35 +5781,6 @@ function resolveClassComponentProps(Component, baseProps) { } return newProps; } -var reportGlobalError = - "function" === typeof reportError - ? reportError - : function (error) { - if ( - "object" === typeof window && - "function" === typeof window.ErrorEvent - ) { - var event = new window.ErrorEvent("error", { - bubbles: !0, - cancelable: !0, - message: - "object" === typeof error && - null !== error && - "string" === typeof error.message - ? String(error.message) - : String(error), - error: error - }); - if (!window.dispatchEvent(event)) return; - } else if ( - "object" === typeof process && - "function" === typeof process.emit - ) { - process.emit("uncaughtException", error); - return; - } - console.error(error); - }; function defaultOnRecoverableError(error) { reportGlobalError(error); } @@ -10295,11 +10298,7 @@ function requestUpdateLane(fiber) { if (0 === (fiber.mode & 1)) return 2; if (0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes) return workInProgressRootRenderLanes & -workInProgressRootRenderLanes; - if (null !== ReactSharedInternals.T) - return ( - (fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane() - ); + if (null !== ReactSharedInternals.T) return requestTransitionLane(); fiber = 0 !== currentUpdatePriority ? currentUpdatePriority : 32; return fiber; } @@ -11914,11 +11913,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-676f0879-20250513" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-62d3f36e-20250513" !== 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-676f0879-20250513\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-62d3f36e-20250513\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11968,10 +11967,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1407 = { bundleType: 0, - version: "19.2.0-native-fb-676f0879-20250513", + version: "19.2.0-native-fb-62d3f36e-20250513", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-676f0879-20250513" + reconcilerVersion: "19.2.0-native-fb-62d3f36e-20250513" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1407.rendererConfig = extraDevToolsConfig); 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 27db4b6870..5dd1fbe275 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-676f0879-20250513", + "version": "0.0.0-experimental-62d3f36e-20250513", "repository": { "type": "git", "url": "https://github.com/facebook/react.git",