From 3aee0d9b2a9eef03db7c6d2953e7ca405e3ea578 Mon Sep 17 00:00:00 2001 From: rubennorte Date: Thu, 10 Apr 2025 09:40:48 -0700 Subject: [PATCH] [RN] Map Fabric priorities to reconciler priorities correctly (#32847) ## Summary This fixes how we map priorities between Fabric and the React reconciler. At the moment, we're only considering default and discrete priorities, when there's a larger range of priorities available. In Fabric, we'll test supporting additional priorities soon. For that test to do something useful, we need the new priorities to be mapped to reconciler priorities correctly, which is what this change is done. > [!IMPORTANT] > At the moment, this is a no-op because Fabric is only reporting default and discrete event priorities. ## How did you test this change? Will test e2e on React Native on top of https://github.com/facebook/react-native/pull/50627 The changes are gated in React Native, so we'll use that feature flag to test this. DiffTrain build for [5e9b48778c83dd8b2c63966db3e23abefebe910c](https://github.com/facebook/react/commit/5e9b48778c83dd8b2c63966db3e23abefebe910c) --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../vendor/react/react-dom/cjs/ReactDOM-dev.js | 4 ++-- .../vendor/react/react-dom/cjs/ReactDOM-prod.js | 4 ++-- .../react/react-dom/cjs/ReactDOM-profiling.js | 4 ++-- .../react/react-dom/cjs/ReactDOMClient-dev.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMClient-prod.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMClient-profiling.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMProfiling-dev.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMProfiling-prod.js | 12 ++++++------ .../react-dom/cjs/ReactDOMProfiling-profiling.js | 12 ++++++------ .../cjs/ReactTestRenderer-dev.js | 8 ++++---- .../cjs/ReactTestRenderer-prod.js | 8 ++++---- .../cjs/ReactTestRenderer-profiling.js | 8 ++++---- .../RKJSModules/vendor/react/react/cjs/React-dev.js | 4 ++-- .../vendor/react/react/cjs/React-prod.js | 4 ++-- .../vendor/react/react/cjs/React-profiling.js | 4 ++-- .../react-native-github/Libraries/Renderer/REVISION | 2 +- .../Renderer/implementations/ReactFabric-dev.fb.js | 13 ++++++++++--- .../Renderer/implementations/ReactFabric-prod.fb.js | 13 ++++++++++--- .../implementations/ReactFabric-profiling.fb.js | 13 ++++++++++--- .../implementations/ReactNativeRenderer-dev.fb.js | 10 +++++----- .../implementations/ReactNativeRenderer-prod.fb.js | 10 +++++----- .../ReactNativeRenderer-profiling.fb.js | 10 +++++----- 23 files changed, 107 insertions(+), 86 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 7f68483b27..c4a53df514 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.2.0-native-fb-c44e4a25-20250409 \ No newline at end of file +19.2.0-native-fb-5e9b4877-20250410 \ 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 ec293845a7..1db52daf24 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<<24d2e3a10521a6b736b866d43024dc04>> */ "use strict"; @@ -404,5 +404,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-c44e4a25-20250409"; + exports.version = "19.2.0-native-fb-5e9b4877-20250410"; })(); 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 3d561e32f5..58eb5412ac 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<<9d23259108ebbfa83e840a93b77e8ccc>> + * @generated SignedSource<> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; 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 3d561e32f5..58eb5412ac 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<<9d23259108ebbfa83e840a93b77e8ccc>> + * @generated SignedSource<> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; 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 0b06c5b880..e426edda0f 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<2009d83aad952311d8de558bbc00bf12>> */ /* @@ -25830,11 +25830,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-c44e4a25-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-5e9b4877-20250410" !== 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-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-5e9b4877-20250410\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25871,10 +25871,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26018,5 +26018,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-native-fb-c44e4a25-20250409"; + exports.version = "19.2.0-native-fb-5e9b4877-20250410"; })(); 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 98b843c580..a99b0a766b 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<<607147cd9d68c886f9ee789bfc6155b7>> */ /* @@ -16062,14 +16062,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1801 = React.version; if ( - "19.2.0-native-fb-c44e4a25-20250409" !== + "19.2.0-native-fb-5e9b4877-20250410" !== isomorphicReactPackageVersion$jscomp$inline_1801 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1801, - "19.2.0-native-fb-c44e4a25-20250409" + "19.2.0-native-fb-5e9b4877-20250410" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16091,10 +16091,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2257 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2258 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16198,4 +16198,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; 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 dc249259a4..8ee12b2ce9 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<<9430ef2766cf983ecfcd4bffb37ca527>> + * @generated SignedSource<<53c06aefe642f0ebc3827f26aa53524d>> */ /* @@ -16749,14 +16749,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1898 = React.version; if ( - "19.2.0-native-fb-c44e4a25-20250409" !== + "19.2.0-native-fb-5e9b4877-20250410" !== isomorphicReactPackageVersion$jscomp$inline_1898 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1898, - "19.2.0-native-fb-c44e4a25-20250409" + "19.2.0-native-fb-5e9b4877-20250410" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16778,10 +16778,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1905 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409", + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$295 = 0; @@ -16900,4 +16900,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; 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 a7e09e300f..fa8b6098f0 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<<2cdc8604947f91281be9f56bb26c9bde>> + * @generated SignedSource<<84bdd75ea850b02d0287ace49802530d>> */ /* @@ -25891,11 +25891,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-c44e4a25-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-5e9b4877-20250410" !== 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-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-5e9b4877-20250410\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25932,10 +25932,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26395,7 +26395,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-c44e4a25-20250409"; + exports.version = "19.2.0-native-fb-5e9b4877-20250410"; "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 8cda55972c..0edea56b3b 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -16073,14 +16073,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1802 = React.version; if ( - "19.2.0-native-fb-c44e4a25-20250409" !== + "19.2.0-native-fb-5e9b4877-20250410" !== isomorphicReactPackageVersion$jscomp$inline_1802 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1802, - "19.2.0-native-fb-c44e4a25-20250409" + "19.2.0-native-fb-5e9b4877-20250410" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16102,10 +16102,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2260 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2261 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16363,4 +16363,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; 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 9a46409ebd..42e64da414 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -16764,14 +16764,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1899 = React.version; if ( - "19.2.0-native-fb-c44e4a25-20250409" !== + "19.2.0-native-fb-5e9b4877-20250410" !== isomorphicReactPackageVersion$jscomp$inline_1899 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1899, - "19.2.0-native-fb-c44e4a25-20250409" + "19.2.0-native-fb-5e9b4877-20250410" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16793,10 +16793,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1906 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409", + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$295 = 0; @@ -17069,7 +17069,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; "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 b59070cfb8..76e0c98594 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<<9b57e89a2560536b44726a014843e5ff>> + * @generated SignedSource<> */ "use strict"; @@ -15410,10 +15410,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15558,5 +15558,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.2.0-native-fb-c44e4a25-20250409"; + exports.version = "19.2.0-native-fb-5e9b4877-20250410"; })(); 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 6defedcb1e..eced97fed8 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -9717,10 +9717,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1416 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1417 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -9856,4 +9856,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; 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 060a4d911e..a94cce818b 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<<38a73c3ac6ceb967a013bb202c377cd6>> + * @generated SignedSource<<13bbfec753e292c30f2cbe98af15914f>> */ "use strict"; @@ -10325,10 +10325,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1229 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409", + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$148 = 0; @@ -10479,4 +10479,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; 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 020ab3ff65..4f85b2b9c8 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<<484a52b35092beb7b5f91b7b55150d83>> + * @generated SignedSource<<7d4e137d2f737426dcb3d46a4c9054d6>> */ "use strict"; @@ -1412,7 +1412,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-native-fb-c44e4a25-20250409"; + exports.version = "19.2.0-native-fb-5e9b4877-20250410"; "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 615c86db06..ea67d53cc4 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<903627a28d9ed815ac2ebea7197db3e9>> */ "use strict"; @@ -587,4 +587,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; 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 1677ed7e11..103ee34327 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<<24bbf4b3387a9fb9e895b9598f896676>> + * @generated SignedSource<<9013ed0bf31e0b5a158cdd7ee6b44b48>> */ "use strict"; @@ -591,7 +591,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-c44e4a25-20250409"; +exports.version = "19.2.0-native-fb-5e9b4877-20250410"; "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 b1b2ac9b96..82ff90dd7d 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 @@ -c44e4a250557e53b120e40db8b01fb5fd93f1e35 +5e9b48778c83dd8b2c63966db3e23abefebe910c 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 4838d48707..5636c8f019 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<<56c81c91495ec7068ba33ee26755e7e7>> + * @generated SignedSource<<94452e0de2850cca1886b8f0f46b7421>> */ "use strict"; @@ -14289,6 +14289,10 @@ __DEV__ && switch (currentEventPriority) { case FabricDiscretePriority: return DiscreteEventPriority; + case FabricContinuousPriority: + return ContinuousEventPriority; + case FabricIdlePriority: + return IdleEventPriority; } return DefaultEventPriority; } @@ -16948,6 +16952,9 @@ __DEV__ && registerEventHandler = _nativeFabricUIManage.registerEventHandler, FabricDiscretePriority = _nativeFabricUIManage.unstable_DiscreteEventPriority, + FabricContinuousPriority = + _nativeFabricUIManage.unstable_ContinuousEventPriority, + FabricIdlePriority = _nativeFabricUIManage.unstable_IdleEventPriority, fabricGetCurrentEventPriority = _nativeFabricUIManage.unstable_getCurrentEventPriority, extraDevToolsConfig = { @@ -17142,10 +17149,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; 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 03e396af2f..e83c246919 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<<50ce8b2d63f0a8ac1125738bc6f69a8e>> + * @generated SignedSource<<35e6a1d3fd7910d01912f0f3a79aa2a4>> */ "use strict"; @@ -10764,6 +10764,9 @@ var _nativeFabricUIManage = nativeFabricUIManager, completeRoot = _nativeFabricUIManage.completeRoot, registerEventHandler = _nativeFabricUIManage.registerEventHandler, FabricDiscretePriority = _nativeFabricUIManage.unstable_DiscreteEventPriority, + FabricContinuousPriority = + _nativeFabricUIManage.unstable_ContinuousEventPriority, + FabricIdlePriority = _nativeFabricUIManage.unstable_IdleEventPriority, fabricGetCurrentEventPriority = _nativeFabricUIManage.unstable_getCurrentEventPriority, extraDevToolsConfig = { @@ -10831,6 +10834,10 @@ function resolveUpdatePriority() { switch (currentEventPriority) { case FabricDiscretePriority: return 2; + case FabricContinuousPriority: + return 8; + case FabricIdlePriority: + return 268435456; } return 32; } @@ -10932,10 +10939,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1223 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1223.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 29537446e6..9c5dc1c92e 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<343029d91a519de499d6fd490de63843>> */ "use strict"; @@ -11456,6 +11456,9 @@ var _nativeFabricUIManage = nativeFabricUIManager, completeRoot = _nativeFabricUIManage.completeRoot, registerEventHandler = _nativeFabricUIManage.registerEventHandler, FabricDiscretePriority = _nativeFabricUIManage.unstable_DiscreteEventPriority, + FabricContinuousPriority = + _nativeFabricUIManage.unstable_ContinuousEventPriority, + FabricIdlePriority = _nativeFabricUIManage.unstable_IdleEventPriority, fabricGetCurrentEventPriority = _nativeFabricUIManage.unstable_getCurrentEventPriority, extraDevToolsConfig = { @@ -11523,6 +11526,10 @@ function resolveUpdatePriority() { switch (currentEventPriority) { case FabricDiscretePriority: return 2; + case FabricContinuousPriority: + return 8; + case FabricIdlePriority: + return 268435456; } return 32; } @@ -11624,10 +11631,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1318 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1318.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 4fcda434d9..4a62303f99 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<<766c9af0276dba8003b5a2a7c1883d60>> + * @generated SignedSource<> */ "use strict"; @@ -17320,11 +17320,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-c44e4a25-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-5e9b4877-20250410" !== 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-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-5e9b4877-20250410\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17350,10 +17350,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; 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 b12bff0aef..dc6652c6f5 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -11029,11 +11029,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-c44e4a25-20250409" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-5e9b4877-20250410" !== 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-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-5e9b4877-20250410\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11082,10 +11082,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1286 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1286.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 26e1080b6f..444ee90256 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<<10580a2c1e19ce74a32dfd0013c1a915>> + * @generated SignedSource<> */ "use strict"; @@ -11719,11 +11719,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-c44e4a25-20250409" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-5e9b4877-20250410" !== 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-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-5e9b4877-20250410\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11772,10 +11772,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1381 = { bundleType: 0, - version: "19.2.0-native-fb-c44e4a25-20250409", + version: "19.2.0-native-fb-5e9b4877-20250410", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-c44e4a25-20250409" + reconcilerVersion: "19.2.0-native-fb-5e9b4877-20250410" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1381.rendererConfig = extraDevToolsConfig);