From 2baa9b403a004347b0e0811cb36efd318ef2fe7d Mon Sep 17 00:00:00 2001 From: eps1lon Date: Wed, 25 Sep 2024 15:28:46 -0700 Subject: [PATCH] [Fiber] Fix missing render times when we cancel a pending commit (#31065) DiffTrain build for commit https://github.com/facebook/react/commit/778e1ed2e5ec22d4bac48e14167d3b4a6b28e8b8. --- 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 | 17 +-- .../react-dom/cjs/ReactDOMClient-prod.js | 17 +-- .../react-dom/cjs/ReactDOMClient-profiling.js | 17 +-- .../react-dom/cjs/ReactDOMProfiling-dev.js | 17 +-- .../react-dom/cjs/ReactDOMProfiling-prod.js | 17 +-- .../cjs/ReactDOMProfiling-profiling.js | 17 +-- .../cjs/ReactTestRenderer-dev.js | 124 ++++++++--------- .../cjs/ReactTestRenderer-prod.js | 8 +- .../cjs/ReactTestRenderer-profiling.js | 8 +- .../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 | 123 ++++++++--------- .../implementations/ReactFabric-prod.fb.js | 6 +- .../ReactFabric-profiling.fb.js | 6 +- .../ReactNativeRenderer-dev.fb.js | 126 ++++++++---------- .../ReactNativeRenderer-prod.fb.js | 10 +- .../ReactNativeRenderer-profiling.fb.js | 10 +- 23 files changed, 267 insertions(+), 284 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index b63e3811ce4d4..cc4161e15ff0c 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.0.0-native-fb-0f1856c4-20240925 \ No newline at end of file +19.0.0-native-fb-778e1ed2-20240926 \ 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 abf103af8365b..903d76c2d372c 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<<1d391b897b28e0a40b463f0cd330ecb9>> */ "use strict"; @@ -420,5 +420,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-native-fb-0f1856c4-20240925"; + exports.version = "19.0.0-native-fb-778e1ed2-20240926"; })(); 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 495ecbd6f3f62..5f8b242a07758 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<<80a716efe68d232a2259f9d368a23144>> + * @generated SignedSource<<8f65f0b5da0551267ae8d9135836943a>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; 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 495ecbd6f3f62..5f8b242a07758 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<<80a716efe68d232a2259f9d368a23144>> + * @generated SignedSource<<8f65f0b5da0551267ae8d9135836943a>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; 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 1cd7376d63c51..8dab3c112ad4c 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<<2741b53e4737f118fb569f1df2d8ce24>> + * @generated SignedSource<> */ /* @@ -15333,7 +15333,9 @@ __DEV__ && spawnedLane, updatedLanes, suspendedRetryLanes, - SUSPENDED_COMMIT + SUSPENDED_COMMIT, + completedRenderStartTime, + completedRenderEndTime ) ); markRootSuspended( @@ -16089,7 +16091,6 @@ __DEV__ && (ReactSharedInternals.T = prevTransition), (ReactDOMSharedInternals.p = previousUpdateLanePriority); } - return null; } function commitRootImpl( root, @@ -25471,11 +25472,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-0f1856c4-20240925" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-778e1ed2-20240926" !== 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.0.0-native-fb-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-native-fb-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25512,11 +25513,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25660,5 +25661,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-native-fb-0f1856c4-20240925"; + exports.version = "19.0.0-native-fb-778e1ed2-20240926"; })(); 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 326ffbb7f3b6b..36eb57d5c3088 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<> + * @generated SignedSource<<4015a32f0a281b58a4049cc13ffda2fe>> */ /* @@ -11099,7 +11099,9 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - 1 + 1, + completedRenderStartTime, + completedRenderEndTime ) ); markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); @@ -11698,7 +11700,6 @@ function commitRoot( (ReactSharedInternals.T = prevTransition), (ReactDOMSharedInternals.p = previousUpdateLanePriority); } - return null; } function commitRootImpl( root, @@ -15752,14 +15753,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1708 = React.version; if ( - "19.0.0-native-fb-0f1856c4-20240925" !== + "19.0.0-native-fb-778e1ed2-20240926" !== isomorphicReactPackageVersion$jscomp$inline_1708 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1708, - "19.0.0-native-fb-0f1856c4-20240925" + "19.0.0-native-fb-778e1ed2-20240926" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15781,11 +15782,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2151 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2152 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15889,4 +15890,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; 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 f6e5b15e7919e..c95c346bf790b 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<> + * @generated SignedSource<> */ /* @@ -11637,7 +11637,9 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - 1 + 1, + completedRenderStartTime, + completedRenderEndTime ) ); markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); @@ -12308,7 +12310,6 @@ function commitRoot( (ReactSharedInternals.T = prevTransition), (ReactDOMSharedInternals.p = previousUpdateLanePriority); } - return null; } function commitRootImpl( root, @@ -16404,14 +16405,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1798 = React.version; if ( - "19.0.0-native-fb-0f1856c4-20240925" !== + "19.0.0-native-fb-778e1ed2-20240926" !== isomorphicReactPackageVersion$jscomp$inline_1798 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1798, - "19.0.0-native-fb-0f1856c4-20240925" + "19.0.0-native-fb-778e1ed2-20240926" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16433,11 +16434,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1805 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925", + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$292 = 0; @@ -16556,4 +16557,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; 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 2af7be366198c..35d0aef75b0b6 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<<273b9b0979bdda8333444bb84fedf515>> + * @generated SignedSource<<7461bb5e8388b2ab269e15f33f1e8d01>> */ /* @@ -15345,7 +15345,9 @@ __DEV__ && spawnedLane, updatedLanes, suspendedRetryLanes, - SUSPENDED_COMMIT + SUSPENDED_COMMIT, + completedRenderStartTime, + completedRenderEndTime ) ); markRootSuspended( @@ -16101,7 +16103,6 @@ __DEV__ && (ReactSharedInternals.T = prevTransition), (ReactDOMSharedInternals.p = previousUpdateLanePriority); } - return null; } function commitRootImpl( root, @@ -25532,11 +25533,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-0f1856c4-20240925" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-778e1ed2-20240926" !== 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.0.0-native-fb-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-native-fb-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25573,11 +25574,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26037,7 +26038,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-native-fb-0f1856c4-20240925"; + exports.version = "19.0.0-native-fb-778e1ed2-20240926"; "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 fc558e6848662..eedc38333fb3c 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<<12d0f35a67264fce7b09d1463c9fab19>> + * @generated SignedSource<<74da68ece113c9837fd5a5f7ffa9656d>> */ /* @@ -11099,7 +11099,9 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - 1 + 1, + completedRenderStartTime, + completedRenderEndTime ) ); markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); @@ -11698,7 +11700,6 @@ function commitRoot( (ReactSharedInternals.T = prevTransition), (ReactDOMSharedInternals.p = previousUpdateLanePriority); } - return null; } function commitRootImpl( root, @@ -15763,14 +15764,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1709 = React.version; if ( - "19.0.0-native-fb-0f1856c4-20240925" !== + "19.0.0-native-fb-778e1ed2-20240926" !== isomorphicReactPackageVersion$jscomp$inline_1709 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1709, - "19.0.0-native-fb-0f1856c4-20240925" + "19.0.0-native-fb-778e1ed2-20240926" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15792,11 +15793,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2154 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2155 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16054,4 +16055,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; 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 90305fcc4cc29..c37ad06e51d91 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<<01ecad18cf4ae8ac305813bc6fafd341>> + * @generated SignedSource<> */ /* @@ -11641,7 +11641,9 @@ function commitRootWhenReady( spawnedLane, updatedLanes, suspendedRetryLanes, - 1 + 1, + completedRenderStartTime, + completedRenderEndTime ) ); markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings); @@ -12312,7 +12314,6 @@ function commitRoot( (ReactSharedInternals.T = prevTransition), (ReactDOMSharedInternals.p = previousUpdateLanePriority); } - return null; } function commitRootImpl( root, @@ -16419,14 +16420,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1799 = React.version; if ( - "19.0.0-native-fb-0f1856c4-20240925" !== + "19.0.0-native-fb-778e1ed2-20240926" !== isomorphicReactPackageVersion$jscomp$inline_1799 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1799, - "19.0.0-native-fb-0f1856c4-20240925" + "19.0.0-native-fb-778e1ed2-20240926" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16448,11 +16449,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1806 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925", + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$292 = 0; @@ -16725,7 +16726,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; "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 eb0daaff9c865..d18cbf87708bb 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<<2dcc2374e5a95b71150f597abbb146f3>> + * @generated SignedSource<<796ce350fdb7fd6030dd8fa89b0acc85>> */ "use strict"; @@ -10804,20 +10804,38 @@ __DEV__ && } shouldTimeSlice.finishedWork = forceSync; shouldTimeSlice.finishedLanes = lanes; - if (null !== ReactSharedInternals.actQueue) - commitRoot( - shouldTimeSlice, - workInProgressRootRecoverableErrors, - workInProgressTransitions, - workInProgressRootDidIncludeRecursiveRenderUpdate, - workInProgressDeferredLane, - workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes, - IMMEDIATE_COMMIT, - -0, - 0 - ); - else { + if (null !== ReactSharedInternals.actQueue) { + lanes = shouldTimeSlice; + forceSync = workInProgressRootRecoverableErrors; + shouldTimeSlice = workInProgressTransitions; + exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate; + renderWasConcurrent = workInProgressDeferredLane; + lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes; + originallyAttemptedLanes = workInProgressSuspendedRetryLanes; + var suspendedCommitReason = IMMEDIATE_COMMIT, + prevTransition = ReactSharedInternals.T, + previousUpdateLanePriority = currentUpdatePriority; + try { + (currentUpdatePriority = DiscreteEventPriority), + (ReactSharedInternals.T = null), + commitRootImpl( + lanes, + forceSync, + shouldTimeSlice, + exitStatus, + previousUpdateLanePriority, + renderWasConcurrent, + lanesThatJustErrored, + originallyAttemptedLanes, + suspendedCommitReason, + -0, + 0 + ); + } finally { + (ReactSharedInternals.T = prevTransition), + (currentUpdatePriority = previousUpdateLanePriority); + } + } else { if ( (lanes & 62914560) === lanes && exitStatus === RootSuspended && @@ -10902,18 +10920,28 @@ __DEV__ && lanes = finishedWork.subtreeFlags; (lanes & 8192 || 16785408 === (lanes & 16785408)) && accumulateSuspenseyCommitOnFiber(finishedWork); - commitRoot( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ); + finishedWork = ReactSharedInternals.T; + lanes = currentUpdatePriority; + try { + (currentUpdatePriority = DiscreteEventPriority), + (ReactSharedInternals.T = null), + commitRootImpl( + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate, + lanes, + spawnedLane, + updatedLanes, + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime + ); + } finally { + (ReactSharedInternals.T = finishedWork), + (currentUpdatePriority = lanes); + } } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { @@ -11562,42 +11590,6 @@ __DEV__ && workInProgressRootExitStatus = RootDidNotComplete; workInProgress = null; } - function commitRoot( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ) { - var prevTransition = ReactSharedInternals.T, - previousUpdateLanePriority = currentUpdatePriority; - try { - (currentUpdatePriority = DiscreteEventPriority), - (ReactSharedInternals.T = null), - commitRootImpl( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - previousUpdateLanePriority, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ); - } finally { - (ReactSharedInternals.T = prevTransition), - (currentUpdatePriority = previousUpdateLanePriority); - } - return null; - } function commitRootImpl( root, recoverableErrors, @@ -15030,11 +15022,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15179,5 +15171,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.0.0-native-fb-0f1856c4-20240925"; + exports.version = "19.0.0-native-fb-778e1ed2-20240926"; })(); 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 af8b705d1381a..2cb024e3b7020 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<<9064d42607cf1d875841949ec6f38022>> + * @generated SignedSource<<891d3744f557d4ef24e57c34b41282a0>> */ "use strict"; @@ -9397,14 +9397,14 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1320 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function (mockNode) { mockNode = nodeToInstanceMap.get(mockNode); return void 0 !== mockNode ? mockNode.internalInstanceHandle : null; }, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1321 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -9540,4 +9540,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; 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 bffcc032421eb..eeb862bef321f 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<> + * @generated SignedSource<<5c0585396864324de55243c16df8e77c>> */ "use strict"; @@ -9963,14 +9963,14 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1168 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function (mockNode) { mockNode = nodeToInstanceMap.get(mockNode); return void 0 !== mockNode ? mockNode.internalInstanceHandle : null; }, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925", + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$141 = 0; @@ -10121,4 +10121,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; 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 b556134bbedc9..159bbce18e289 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<<716aa7a6a6d9a83b88006c766ae3e1c1>> + * @generated SignedSource<> */ "use strict"; @@ -1704,7 +1704,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-native-fb-0f1856c4-20240925"; + exports.version = "19.0.0-native-fb-778e1ed2-20240926"; "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 014a14939212d..7b3dba9687739 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<<27392443fa72017f18ddbcf20de9b20a>> + * @generated SignedSource<<2baeea6fbe5a299e389e202c7ffd89cb>> */ "use strict"; @@ -580,4 +580,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; 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 c59f344745484..999b3a25220f8 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<<6744c035f711a8ced38e49fe9b946a4d>> + * @generated SignedSource<> */ "use strict"; @@ -584,7 +584,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-0f1856c4-20240925"; +exports.version = "19.0.0-native-fb-778e1ed2-20240926"; "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 028fccbc2886b..1db50aaa78301 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 @@ -0f1856c49febe96923e469f98c0b123130ea015c +778e1ed2e5ec22d4bac48e14167d3b4a6b28e8b8 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 dcfce19c3313e..f05cc97698aeb 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<> + * @generated SignedSource<<6b3cd9d9c7d3cbb046df3c717c012861>> */ "use strict"; @@ -11963,20 +11963,39 @@ __DEV__ && } shouldTimeSlice.finishedWork = forceSync; shouldTimeSlice.finishedLanes = lanes; - if (null !== ReactSharedInternals.actQueue) - commitRoot( - shouldTimeSlice, - workInProgressRootRecoverableErrors, - workInProgressTransitions, - workInProgressRootDidIncludeRecursiveRenderUpdate, - workInProgressDeferredLane, - workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes, - IMMEDIATE_COMMIT, - -0, - 0 - ); - else { + if (null !== ReactSharedInternals.actQueue) { + lanes = shouldTimeSlice; + forceSync = workInProgressRootRecoverableErrors; + shouldTimeSlice = workInProgressTransitions; + renderWasConcurrent = + workInProgressRootDidIncludeRecursiveRenderUpdate; + exitStatus = workInProgressDeferredLane; + lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes; + originallyAttemptedLanes = workInProgressSuspendedRetryLanes; + wasRootDehydrated = IMMEDIATE_COMMIT; + var prevTransition = ReactSharedInternals.T, + previousUpdateLanePriority = currentUpdatePriority; + try { + (currentUpdatePriority = DiscreteEventPriority), + (ReactSharedInternals.T = null), + commitRootImpl( + lanes, + forceSync, + shouldTimeSlice, + renderWasConcurrent, + previousUpdateLanePriority, + exitStatus, + lanesThatJustErrored, + originallyAttemptedLanes, + wasRootDehydrated, + -0, + 0 + ); + } finally { + (ReactSharedInternals.T = prevTransition), + (currentUpdatePriority = previousUpdateLanePriority); + } + } else { if ( (lanes & 62914560) === lanes && (alwaysThrottleRetries || @@ -12063,18 +12082,28 @@ __DEV__ && lanes = finishedWork.subtreeFlags; (lanes & 8192 || 16785408 === (lanes & 16785408)) && accumulateSuspenseyCommitOnFiber(finishedWork); - commitRoot( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ); + finishedWork = ReactSharedInternals.T; + lanes = currentUpdatePriority; + try { + (currentUpdatePriority = DiscreteEventPriority), + (ReactSharedInternals.T = null), + commitRootImpl( + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate, + lanes, + spawnedLane, + updatedLanes, + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime + ); + } finally { + (ReactSharedInternals.T = finishedWork), + (currentUpdatePriority = lanes); + } } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { @@ -12775,42 +12804,6 @@ __DEV__ && workInProgressRootExitStatus = RootDidNotComplete; workInProgress = null; } - function commitRoot( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ) { - var prevTransition = ReactSharedInternals.T, - previousUpdateLanePriority = currentUpdatePriority; - try { - (currentUpdatePriority = DiscreteEventPriority), - (ReactSharedInternals.T = null), - commitRootImpl( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - previousUpdateLanePriority, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ); - } finally { - (ReactSharedInternals.T = prevTransition), - (currentUpdatePriority = previousUpdateLanePriority); - } - return null; - } function commitRootImpl( root, recoverableErrors, @@ -17096,11 +17089,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; 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 601b3a6c4c4c9..4edfac52f1a83 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -11025,11 +11025,11 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1190 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1190.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 e7f56db624c42..2b01805582dd3 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<<276896924578d64ade660e98c5ab7253>> + * @generated SignedSource<> */ "use strict"; @@ -11681,11 +11681,11 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1278 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1278.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 1a71c3b03e15d..b48ee8d93f30f 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"; @@ -12323,20 +12323,38 @@ __DEV__ && } shouldTimeSlice.finishedWork = forceSync; shouldTimeSlice.finishedLanes = lanes; - if (null !== ReactSharedInternals.actQueue) - commitRoot( - shouldTimeSlice, - workInProgressRootRecoverableErrors, - workInProgressTransitions, - workInProgressRootDidIncludeRecursiveRenderUpdate, - workInProgressDeferredLane, - workInProgressRootInterleavedUpdatedLanes, - workInProgressSuspendedRetryLanes, - IMMEDIATE_COMMIT, - -0, - 0 - ); - else { + if (null !== ReactSharedInternals.actQueue) { + lanes = shouldTimeSlice; + forceSync = workInProgressRootRecoverableErrors; + shouldTimeSlice = workInProgressTransitions; + exitStatus = workInProgressRootDidIncludeRecursiveRenderUpdate; + renderWasConcurrent = workInProgressDeferredLane; + lanesThatJustErrored = workInProgressRootInterleavedUpdatedLanes; + originallyAttemptedLanes = workInProgressSuspendedRetryLanes; + var suspendedCommitReason = IMMEDIATE_COMMIT, + prevTransition = ReactSharedInternals.T, + previousUpdateLanePriority = currentUpdatePriority; + try { + (currentUpdatePriority = DiscreteEventPriority), + (ReactSharedInternals.T = null), + commitRootImpl( + lanes, + forceSync, + shouldTimeSlice, + exitStatus, + previousUpdateLanePriority, + renderWasConcurrent, + lanesThatJustErrored, + originallyAttemptedLanes, + suspendedCommitReason, + -0, + 0 + ); + } finally { + (ReactSharedInternals.T = prevTransition), + (currentUpdatePriority = previousUpdateLanePriority); + } + } else { if ( (lanes & 62914560) === lanes && (alwaysThrottleRetries || exitStatus === RootSuspended) && @@ -12422,18 +12440,28 @@ __DEV__ && lanes = finishedWork.subtreeFlags; (lanes & 8192 || 16785408 === (lanes & 16785408)) && accumulateSuspenseyCommitOnFiber(finishedWork); - commitRoot( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ); + finishedWork = ReactSharedInternals.T; + lanes = currentUpdatePriority; + try { + (currentUpdatePriority = DiscreteEventPriority), + (ReactSharedInternals.T = null), + commitRootImpl( + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate, + lanes, + spawnedLane, + updatedLanes, + suspendedRetryLanes, + suspendedCommitReason, + completedRenderStartTime, + completedRenderEndTime + ); + } finally { + (ReactSharedInternals.T = finishedWork), + (currentUpdatePriority = lanes); + } } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { @@ -13134,42 +13162,6 @@ __DEV__ && workInProgressRootExitStatus = RootDidNotComplete; workInProgress = null; } - function commitRoot( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ) { - var prevTransition = ReactSharedInternals.T, - previousUpdateLanePriority = currentUpdatePriority; - try { - (currentUpdatePriority = DiscreteEventPriority), - (ReactSharedInternals.T = null), - commitRootImpl( - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate, - previousUpdateLanePriority, - spawnedLane, - updatedLanes, - suspendedRetryLanes, - suspendedCommitReason, - completedRenderStartTime, - completedRenderEndTime - ); - } finally { - (ReactSharedInternals.T = prevTransition), - (currentUpdatePriority = previousUpdateLanePriority); - } - return null; - } function commitRootImpl( root, recoverableErrors, @@ -17313,11 +17305,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-0f1856c4-20240925" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-778e1ed2-20240926" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17343,11 +17335,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; 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 a7722293dd3b4..e09de36bba9d3 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<<36316d61fd710ba9a17ae3b6f36e893b>> + * @generated SignedSource<<66c9ffbb2ffca13ebda2cfa3ec7aa5e0>> */ "use strict"; @@ -11155,11 +11155,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-0f1856c4-20240925" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-778e1ed2-20240926" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11208,11 +11208,11 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1256 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1256.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 a459ebfd44745..6b4b3942dda46 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<<8a6e6b8761366519e5c4bbca932728e8>> + * @generated SignedSource<> */ "use strict"; @@ -11810,11 +11810,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-0f1856c4-20240925" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-778e1ed2-20240926" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.0.0-native-fb-0f1856c4-20240925\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-778e1ed2-20240926\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11863,11 +11863,11 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1344 = { bundleType: 0, - version: "19.0.0-native-fb-0f1856c4-20240925", + version: "19.0.0-native-fb-778e1ed2-20240926", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-0f1856c4-20240925" + reconcilerVersion: "19.0.0-native-fb-778e1ed2-20240926" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1344.rendererConfig = extraDevToolsConfig);