From 0cf3a7f68190f5c21346bee1f1bf80d760b8d483 Mon Sep 17 00:00:00 2001 From: SamChou19815 <4290500+SamChou19815@users.noreply.github.com> Date: Thu, 20 Feb 2025 09:48:32 -0800 Subject: [PATCH] [flow] Eliminate usage of global React types in ReactNativeTypes.js (#32330) DiffTrain build for [70f1d766e8ae7ca3701193abb8c8a9f2fdbdaa9d](https://github.com/facebook/react/commit/70f1d766e8ae7ca3701193abb8c8a9f2fdbdaa9d) --- 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-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 ++++---- .../vendor/react/react/cjs/React-dev.js | 4 ++-- .../vendor/react/react/cjs/React-prod.js | 4 ++-- .../vendor/react/react/cjs/React-profiling.js | 4 ++-- .../Libraries/Renderer/REVISION | 2 +- .../implementations/ReactFabric-dev.fb.js | 6 +++--- .../implementations/ReactFabric-prod.fb.js | 6 +++--- .../implementations/ReactFabric-profiling.fb.js | 6 +++--- .../implementations/ReactNativeRenderer-dev.fb.js | 10 +++++----- .../ReactNativeRenderer-prod.fb.js | 10 +++++----- .../ReactNativeRenderer-profiling.fb.js | 10 +++++----- .../Libraries/Renderer/shims/ReactNativeTypes.js | 15 +++++++++++---- 24 files changed, 97 insertions(+), 90 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index a774808e9a..c192660b29 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.1.0-native-fb-885532c1-20250220 \ No newline at end of file +19.1.0-native-fb-70f1d766-20250220 \ 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 e11680980c..ea62dbe3c3 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<> */ "use strict"; @@ -428,5 +428,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-885532c1-20250220"; + exports.version = "19.1.0-native-fb-70f1d766-20250220"; })(); 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 d96578fa55..490a89cdd9 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<<8f58b5cef27de4fe110420b1d1d80bdc>> + * @generated SignedSource<<72d3f704544d715864166ac4b1c75da0>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; 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 d96578fa55..490a89cdd9 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<<8f58b5cef27de4fe110420b1d1d80bdc>> + * @generated SignedSource<<72d3f704544d715864166ac4b1c75da0>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; 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 2aa994ecb5..f7b707e7f1 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<<48efca5064ee325a05be1b5fbdf0be7a>> */ /* @@ -25966,11 +25966,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-885532c1-20250220" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-70f1d766-20250220" !== 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.1.0-native-fb-885532c1-20250220\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-70f1d766-20250220\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26007,10 +26007,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26154,5 +26154,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.1.0-native-fb-885532c1-20250220"; + exports.version = "19.1.0-native-fb-70f1d766-20250220"; })(); 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 1daacca7a9..d504e07564 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<<304d7b84d25f1eba164527bb1a656eb1>> + * @generated SignedSource<> */ /* @@ -16001,14 +16001,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1785 = React.version; if ( - "19.1.0-native-fb-885532c1-20250220" !== + "19.1.0-native-fb-70f1d766-20250220" !== isomorphicReactPackageVersion$jscomp$inline_1785 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1785, - "19.1.0-native-fb-885532c1-20250220" + "19.1.0-native-fb-70f1d766-20250220" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16030,10 +16030,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2245 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2246 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16137,4 +16137,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; 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 4d51606afc..0f43f7a86c 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<<75d7e446facc9bcce7166eca750b1f32>> + * @generated SignedSource<<1e6e9e4ccb7333f635f86d3a0b383ed1>> */ /* @@ -16651,14 +16651,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1880 = React.version; if ( - "19.1.0-native-fb-885532c1-20250220" !== + "19.1.0-native-fb-70f1d766-20250220" !== isomorphicReactPackageVersion$jscomp$inline_1880 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1880, - "19.1.0-native-fb-885532c1-20250220" + "19.1.0-native-fb-70f1d766-20250220" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16680,10 +16680,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1887 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220", + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$294 = 0; @@ -16802,4 +16802,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; 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 ff5bd9d703..601e6dbdba 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<471066554e17e344ada305ba7169bac5>> */ /* @@ -26027,11 +26027,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-885532c1-20250220" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-70f1d766-20250220" !== 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.1.0-native-fb-885532c1-20250220\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-70f1d766-20250220\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26068,10 +26068,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26531,7 +26531,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-885532c1-20250220"; + exports.version = "19.1.0-native-fb-70f1d766-20250220"; "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 0a2b79e47e..eeccee06b9 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<<4ec0cb2dfc90d4eab0b99b3cc93f17f2>> + * @generated SignedSource<> */ /* @@ -16012,14 +16012,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1786 = React.version; if ( - "19.1.0-native-fb-885532c1-20250220" !== + "19.1.0-native-fb-70f1d766-20250220" !== isomorphicReactPackageVersion$jscomp$inline_1786 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1786, - "19.1.0-native-fb-885532c1-20250220" + "19.1.0-native-fb-70f1d766-20250220" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16041,10 +16041,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2248 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2249 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16302,4 +16302,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; 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 c640e66abe..0ca3276da4 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<<88bcbe1b0f05e24227e16594aa800b95>> + * @generated SignedSource<> */ /* @@ -16666,14 +16666,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1881 = React.version; if ( - "19.1.0-native-fb-885532c1-20250220" !== + "19.1.0-native-fb-70f1d766-20250220" !== isomorphicReactPackageVersion$jscomp$inline_1881 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1881, - "19.1.0-native-fb-885532c1-20250220" + "19.1.0-native-fb-70f1d766-20250220" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16695,10 +16695,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1888 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220", + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$294 = 0; @@ -16971,7 +16971,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; "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 5bd88d7630..1a0c31796e 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<<2c031d6875582379d6b56b2e73f68725>> */ "use strict"; @@ -15645,10 +15645,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15793,5 +15793,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.1.0-native-fb-885532c1-20250220"; + exports.version = "19.1.0-native-fb-70f1d766-20250220"; })(); 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 526647d37f..e743bc9e44 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<<08bad2d60c623a0b2e1fdb0d629ba922>> + * @generated SignedSource<<427b86bfb208a4f8cb7fbb90bb97fdb7>> */ "use strict"; @@ -9784,10 +9784,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1389 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1390 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -9923,4 +9923,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; 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 e7b1d8700c..afbbb271a9 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<<8d4660193da0b919181831589269d39e>> + * @generated SignedSource<> */ "use strict"; @@ -10355,10 +10355,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1207 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220", + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$147 = 0; @@ -10509,4 +10509,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; 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 c7720b9d10..61a9c02106 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<> + * @generated SignedSource<<43232d56833b2208547bc7b9c6a6aed8>> */ "use strict"; @@ -1455,7 +1455,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-native-fb-885532c1-20250220"; + exports.version = "19.1.0-native-fb-70f1d766-20250220"; "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 226b704f30..e7f2260d90 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<<45eba8e4cf73704db7fd12ad634d8a07>> + * @generated SignedSource<<26eac86d9cb9a16d74d0dae759175ae1>> */ "use strict"; @@ -603,4 +603,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; 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 1b2c029420..aad1732772 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<<6781e122aae76e0602647628a8c0b68f>> */ "use strict"; @@ -607,7 +607,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-885532c1-20250220"; +exports.version = "19.1.0-native-fb-70f1d766-20250220"; "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 1257c09513..d147964b52 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 @@ -885532c124f32436723cd51627d06de6e8c13fdd +70f1d766e8ae7ca3701193abb8c8a9f2fdbdaa9d 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 ed73802f8d..29c448a1bb 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<<93328912739c4db429ae4096f88738f8>> */ "use strict"; @@ -17460,10 +17460,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; 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 2d52b0b209..fbd8b8d1c2 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<<104dd5838c87bb8ea4f5bd004d9d1c41>> + * @generated SignedSource<<16b700536160d0bb55e623abe6a25b85>> */ "use strict"; @@ -11038,10 +11038,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1221 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1221.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 9f4384130b..714582b63b 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<<2c576e56000dfe1e595b472e244ad188>> + * @generated SignedSource<<22633bfa9dee00b667461592310fc753>> */ "use strict"; @@ -11691,10 +11691,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1314 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1314.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 694fd38163..68f6d899ad 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"; @@ -17638,11 +17638,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-885532c1-20250220" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-70f1d766-20250220" !== 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.1.0-native-fb-885532c1-20250220\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-70f1d766-20250220\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17668,10 +17668,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; 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 edbbed9b48..c5a8f6bcab 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<<3c268901b25ab28d5d40997ab373e972>> */ "use strict"; @@ -11139,11 +11139,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-885532c1-20250220" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-70f1d766-20250220" !== 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.1.0-native-fb-885532c1-20250220\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-70f1d766-20250220\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11192,10 +11192,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1272 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1272.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 6d92c11501..c0053e16de 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<<7278e3bf1d983621696e9c9dc769b0ce>> + * @generated SignedSource<<207aaddc01f6f0e2d89b4ac74f5f5d54>> */ "use strict"; @@ -11792,11 +11792,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-885532c1-20250220" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-70f1d766-20250220" !== 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.1.0-native-fb-885532c1-20250220\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-70f1d766-20250220\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11845,10 +11845,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1365 = { bundleType: 0, - version: "19.1.0-native-fb-885532c1-20250220", + version: "19.1.0-native-fb-70f1d766-20250220", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-885532c1-20250220" + reconcilerVersion: "19.1.0-native-fb-70f1d766-20250220" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1365.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js index a21b64c767..b038e75823 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/shims/ReactNativeTypes.js @@ -7,10 +7,16 @@ * @noformat * @nolint * @flow strict - * @generated SignedSource<> + * @generated SignedSource<> */ -import type {ElementRef, ElementType, MixedElement} from 'react'; +import type { + Component as ReactComponent, + ElementRef, + ElementType, + MixedElement, + RefSetter, +} from 'react'; // $FlowFixMe[nonstrict-import] TODO(@rubennorte) import {type PublicRootInstance} from 'react-native/Libraries/ReactPrivate/ReactNativePrivateInterface'; @@ -136,7 +142,7 @@ declare const ensureNativeMethodsAreSynced: NativeMethods; export type HostInstance = NativeMethods; export type HostComponent = component( - ref: React$RefSetter, + ref: RefSetter, ...Config ); @@ -189,7 +195,8 @@ export type RenderRootOptions = { errorInfo: { +componentStack?: ?string, // $FlowFixMe[unclear-type] unknown props and state. - +errorBoundary?: ?React$Component, + // $FlowFixMe[value-as-type] Component in react repo is any-typed, but it will be well typed externally. + +errorBoundary?: ?ReactComponent, }, ) => void, onRecoverableError?: (