From 2564c8f5679a7651724176476236649437e78027 Mon Sep 17 00:00:00 2001 From: sebmarkbage Date: Tue, 10 Dec 2024 08:41:33 -0800 Subject: [PATCH] Clean up findFiberByHostInstance from DevTools Hook (#31711) The need for this was removed in https://github.com/facebook/react/pull/30831 Since the new DevTools version has been released for a while and we expect people to more or less auto-update. Future versions of React don't need this. Once we remove the remaining uses of `getInstanceFromNode` e.g. in the deprecated internal `findDOMNode`/`findNodeHandle` and the event system, we can completely remove the tagging of DOM nodes. DiffTrain build for [3b597c0576977773910c77e075cc6d6308decb04](https://github.com/facebook/react/commit/3b597c0576977773910c77e075cc6d6308decb04) --- 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 | 13 ++++++------ .../react-dom/cjs/ReactDOMClient-prod.js | 13 ++++++------ .../react-dom/cjs/ReactDOMClient-profiling.js | 13 ++++++------ .../react-dom/cjs/ReactDOMProfiling-dev.js | 13 ++++++------ .../react-dom/cjs/ReactDOMProfiling-prod.js | 13 ++++++------ .../cjs/ReactDOMProfiling-profiling.js | 13 ++++++------ .../cjs/ReactTestRenderer-dev.js | 13 ++++-------- .../cjs/ReactTestRenderer-prod.js | 12 ++++------- .../cjs/ReactTestRenderer-profiling.js | 12 ++++------- .../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 | 20 +++++++++---------- .../implementations/ReactFabric-prod.fb.js | 16 +++++++-------- .../ReactFabric-profiling.fb.js | 16 +++++++-------- .../ReactNativeRenderer-dev.fb.js | 11 +++++----- .../ReactNativeRenderer-prod.fb.js | 11 +++++----- .../ReactNativeRenderer-profiling.fb.js | 11 +++++----- 23 files changed, 100 insertions(+), 128 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 1ee00b3068a74..2f512b5ce82b6 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.0.0-native-fb-de68d2f4-20241204 \ No newline at end of file +19.0.0-native-fb-3b597c05-20241210 \ 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 ba05706cb45a3..96270e66b5627 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<<160a11128267704309b6ab8a4178e177>> + * @generated SignedSource<> */ "use strict"; @@ -420,5 +420,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-native-fb-de68d2f4-20241204"; + exports.version = "19.0.0-native-fb-3b597c05-20241210"; })(); 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 35f64e906cd3b..a06b3e8bead32 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<<4ab67f1597a97138a25ba4aa51a83988>> + * @generated SignedSource<<8c27205b2f8cbb91fa759e037620c374>> */ "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-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; 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 35f64e906cd3b..a06b3e8bead32 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<<4ab67f1597a97138a25ba4aa51a83988>> + * @generated SignedSource<<8c27205b2f8cbb91fa759e037620c374>> */ "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-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; 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 e9ac5533469bd..422e303136a48 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<> */ /* @@ -25794,11 +25794,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-de68d2f4-20241204" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-3b597c05-20241210" !== 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-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-native-fb-3b597c05-20241210\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25835,11 +25835,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25983,5 +25982,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-native-fb-de68d2f4-20241204"; + exports.version = "19.0.0-native-fb-3b597c05-20241210"; })(); 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 a56f00f082644..1f85aa4a7b149 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<<49d657c95238fa14271d1926827f8c5c>> */ /* @@ -15864,14 +15864,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1731 = React.version; if ( - "19.0.0-native-fb-de68d2f4-20241204" !== + "19.0.0-native-fb-3b597c05-20241210" !== isomorphicReactPackageVersion$jscomp$inline_1731 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1731, - "19.0.0-native-fb-de68d2f4-20241204" + "19.0.0-native-fb-3b597c05-20241210" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15893,11 +15893,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2186 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2187 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16001,4 +16000,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-native-fb-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; 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 b869fec9c9091..6d7845be048cc 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<<3245d2c989e6aff0aef50cbd12023f91>> */ /* @@ -16517,14 +16517,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1821 = React.version; if ( - "19.0.0-native-fb-de68d2f4-20241204" !== + "19.0.0-native-fb-3b597c05-20241210" !== isomorphicReactPackageVersion$jscomp$inline_1821 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1821, - "19.0.0-native-fb-de68d2f4-20241204" + "19.0.0-native-fb-3b597c05-20241210" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16546,11 +16546,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1828 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204", + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$292 = 0; @@ -16669,4 +16668,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-native-fb-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; 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 71dc381b6d434..727e4e2877d9a 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<<8090e4e1a96875999b0b1e929689f54a>> + * @generated SignedSource<<903e2cbe35e2d1e94df0b6acce1d1b8d>> */ /* @@ -25855,11 +25855,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-de68d2f4-20241204" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-3b597c05-20241210" !== 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-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-native-fb-3b597c05-20241210\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25896,11 +25896,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26360,7 +26359,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-native-fb-de68d2f4-20241204"; + exports.version = "19.0.0-native-fb-3b597c05-20241210"; "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 42b360fd2533d..eac88889cd8bb 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<<046ea9b9730f6e8d6a381272708c7682>> + * @generated SignedSource<<49e7a1ac287e040371502ca905a4a9b3>> */ /* @@ -15875,14 +15875,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1732 = React.version; if ( - "19.0.0-native-fb-de68d2f4-20241204" !== + "19.0.0-native-fb-3b597c05-20241210" !== isomorphicReactPackageVersion$jscomp$inline_1732 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1732, - "19.0.0-native-fb-de68d2f4-20241204" + "19.0.0-native-fb-3b597c05-20241210" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15904,11 +15904,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2189 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2190 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16166,4 +16165,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-native-fb-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; 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 33e39abc8de5c..8dfefaed2f0a1 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<<20d4f0ac43edf7059230122ab79fd535>> + * @generated SignedSource<<53a1870db84718cd9b45e718d1beccde>> */ /* @@ -16532,14 +16532,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1822 = React.version; if ( - "19.0.0-native-fb-de68d2f4-20241204" !== + "19.0.0-native-fb-3b597c05-20241210" !== isomorphicReactPackageVersion$jscomp$inline_1822 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1822, - "19.0.0-native-fb-de68d2f4-20241204" + "19.0.0-native-fb-3b597c05-20241210" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16561,11 +16561,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1829 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204", + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$292 = 0; @@ -16838,7 +16837,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-native-fb-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; "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 b12fbe2c330ab..9d8910daabb6f 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<<4719b0b3fc7a219845f10de753a4dfa6>> */ "use strict"; @@ -1103,10 +1103,6 @@ __DEV__ && function unhideTextInstance(textInstance) { textInstance.isHidden = !1; } - function getInstanceFromNode(mockNode) { - mockNode = nodeToInstanceMap.get(mockNode); - return void 0 !== mockNode ? mockNode.internalInstanceHandle : null; - } function bindToConsole(methodName, args, badgeName) { var offset = 0; switch (methodName) { @@ -15556,11 +15552,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15705,5 +15700,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.0.0-native-fb-de68d2f4-20241204"; + exports.version = "19.0.0-native-fb-3b597c05-20241210"; })(); 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 805c3b3810cce..84615a7d32fd6 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<<7202be0d09e095bfc1b43b2bc88f6c17>> + * @generated SignedSource<<6d892c7b504a1466a14e91d7a628cbe1>> */ "use strict"; @@ -9718,14 +9718,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1390 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", 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-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1391 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -9861,4 +9857,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.0.0-native-fb-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; 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 f48bedad75c91..311b71bf4a911 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<<98d65610f536b799a2ff73999f575fb3>> + * @generated SignedSource<> */ "use strict"; @@ -10287,14 +10287,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1203 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", 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-de68d2f4-20241204", + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$146 = 0; @@ -10445,4 +10441,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.0.0-native-fb-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; 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 017f382d4f942..3a30392b06c49 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<<8e916b6f077788df4764751b2cc4b2e8>> */ "use strict"; @@ -1716,7 +1716,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-native-fb-de68d2f4-20241204"; + exports.version = "19.0.0-native-fb-3b597c05-20241210"; "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 6e273e40c04e8..ef66796a5beeb 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<<0069ae6778686ec8c6410766891b86d2>> + * @generated SignedSource<<98a07be6b4426cd25cd465e1bd361d5b>> */ "use strict"; @@ -596,4 +596,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; 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 ef0f25742b579..f6a15523c9d71 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<<7e2ebf09ba9be863bd2484afc5e6c7eb>> + * @generated SignedSource<<1289f20414f9caf3ee32153a7a40a243>> */ "use strict"; @@ -600,7 +600,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-de68d2f4-20241204"; +exports.version = "19.0.0-native-fb-3b597c05-20241210"; "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 03f9a5144b3b3..8dd7ac394a94e 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 @@ -de68d2f4a2403ad1ef46a3036ddc1f9080640588 +3b597c0576977773910c77e075cc6d6308decb04 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 0fe35e35cb8ed..11dd22d8d4ddf 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<<797a9030262014443dae5b782164aed3>> + * @generated SignedSource<> */ "use strict"; @@ -14420,12 +14420,6 @@ __DEV__ && enableFabricCompleteRootInCommitPhase && completeRoot(container, newChildren); } - function getInstanceFromNode(node) { - return null != node.canonical && - null != node.canonical.internalInstanceHandle - ? node.canonical.internalInstanceHandle - : node; - } function nativeOnUncaughtError(error, errorInfo) { !1 !== ReactNativePrivateInterface.ReactFiberErrorDialog.showErrorDialog({ @@ -17330,7 +17324,12 @@ __DEV__ && function (instance) { return instance.canonical.currentProps; }, - getInstanceFromNode, + function (node) { + return null != node.canonical && + null != node.canonical.internalInstanceHandle + ? node.canonical.internalInstanceHandle + : node; + }, function (fiber) { fiber = getPublicInstance(fiber.stateNode); if (null == fiber) @@ -17380,11 +17379,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; 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 715e825b99525..401603ed33d2c 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"; @@ -11030,15 +11030,14 @@ var HostTransitionContext = { !!RN$enableMicrotasksInReact, scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : scheduleTimeout; -function getInstanceFromNode(node) { +getFiberCurrentPropsFromNode$1 = function (instance) { + return instance.canonical.currentProps; +}; +getInstanceFromNode$1 = function (node) { return null != node.canonical && null != node.canonical.internalInstanceHandle ? node.canonical.internalInstanceHandle : node; -} -getFiberCurrentPropsFromNode$1 = function (instance) { - return instance.canonical.currentProps; }; -getInstanceFromNode$1 = getInstanceFromNode; getNodeFromInstance$1 = function (fiber) { fiber = getPublicInstance(fiber.stateNode); if (null == fiber) throw Error("Could not find host instance from fiber"); @@ -11102,11 +11101,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1219 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1219.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 4f2e1a1202630..7191a4f701a6a 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<<2b87d10675c5b55655878fb9cf4202ff>> + * @generated SignedSource<<3673bfc868df5a3cae13846442ce224d>> */ "use strict"; @@ -11687,15 +11687,14 @@ var HostTransitionContext = { !!RN$enableMicrotasksInReact, scheduleMicrotask = "function" === typeof queueMicrotask ? queueMicrotask : scheduleTimeout; -function getInstanceFromNode(node) { +getFiberCurrentPropsFromNode$1 = function (instance) { + return instance.canonical.currentProps; +}; +getInstanceFromNode$1 = function (node) { return null != node.canonical && null != node.canonical.internalInstanceHandle ? node.canonical.internalInstanceHandle : node; -} -getFiberCurrentPropsFromNode$1 = function (instance) { - return instance.canonical.currentProps; }; -getInstanceFromNode$1 = getInstanceFromNode; getNodeFromInstance$1 = function (fiber) { fiber = getPublicInstance(fiber.stateNode); if (null == fiber) throw Error("Could not find host instance from fiber"); @@ -11759,11 +11758,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1307 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1307.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 b3dd799d52f9e..7f949ca90773b 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<<7dd317eeb89825bc3837bbbdf7dcb323>> */ "use strict"; @@ -17602,11 +17602,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-de68d2f4-20241204" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-3b597c05-20241210" !== 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-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-3b597c05-20241210\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17632,11 +17632,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; 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 759beb006ea31..db187b1603aca 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<<9837cb97f2e42f5c5a3f39f4d94f1283>> + * @generated SignedSource<> */ "use strict"; @@ -11233,11 +11233,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-de68d2f4-20241204" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-3b597c05-20241210" !== 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-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-3b597c05-20241210\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11286,11 +11286,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1285 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1285.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 0c17cb1a7f844..699c6248d08b9 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<17d41ebcfa3e687a2b4c559bd5e5061e>> */ "use strict"; @@ -11889,11 +11889,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-de68d2f4-20241204" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-3b597c05-20241210" !== 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-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-3b597c05-20241210\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11942,11 +11942,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1373 = { bundleType: 0, - version: "19.0.0-native-fb-de68d2f4-20241204", + version: "19.0.0-native-fb-3b597c05-20241210", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - findFiberByHostInstance: getInstanceFromTag, - reconcilerVersion: "19.0.0-native-fb-de68d2f4-20241204" + reconcilerVersion: "19.0.0-native-fb-3b597c05-20241210" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1373.rendererConfig = extraDevToolsConfig);