From 7e80855357fe1a2e36d00aec9896d2cc7e9fe82e Mon Sep 17 00:00:00 2001 From: dmytrorykun Date: Mon, 15 Jul 2024 09:38:05 -0700 Subject: [PATCH] Fix fastAddProperties to properly nullify style props (#30334) ## Summary This PR fixes the `fastAddProperties` function. Now it nullifies a prop if it was defined in one of the items of a style array, but then set to `undefined` or `null` in one of the subsequent items. E.g. `style: [{top: 0}, {top: undefined}]` should evaluate to `{top: null}`. Also added a test case for that. ## How did you test this change? ``` yarn test packages/react-native-renderer -r=xplat --variant=false yarn test packages/react-native-renderer -r=xplat --variant=true yarn flow native ``` DiffTrain build for commit https://github.com/facebook/react/commit/f510ece86d4621d3b0faf9fe59d850f7807dbb16. --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../cjs/ReactTestRenderer-dev.js | 6 ++--- .../cjs/ReactTestRenderer-prod.js | 6 ++--- .../cjs/ReactTestRenderer-profiling.js | 6 ++--- .../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 | 26 ++++++++++--------- .../implementations/ReactFabric-prod.fb.js | 26 ++++++++++--------- .../ReactFabric-profiling.fb.js | 26 ++++++++++--------- .../ReactNativeRenderer-dev.fb.js | 10 +++---- .../ReactNativeRenderer-prod.fb.js | 10 +++---- .../ReactNativeRenderer-profiling.fb.js | 10 +++---- 14 files changed, 74 insertions(+), 68 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 05c83ae4b0..9248b6ec93 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.0.0-native-fb-fc1371f6-20240715 \ No newline at end of file +19.0.0-native-fb-f510ece8-20240715 \ No newline at end of file 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 15c05064a0..9d798ddf5d 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<<807d7defa7798acbd559251923830aa0>> + * @generated SignedSource<<76bb9ad89a4d88877387c71561477406>> */ "use strict"; @@ -15187,14 +15187,14 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }); })({ findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 1, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-test-renderer" }); exports._Scheduler = Scheduler; 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 3f8695c488..5f685345e8 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<<41bfc6c5964719c61efcaacbfd9ccbe1>> + * @generated SignedSource<<55912220a6d317097bfdce7a18f89b5a>> */ "use strict"; @@ -9406,7 +9406,7 @@ var devToolsConfig$jscomp$inline_1034 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1223 = { @@ -9437,7 +9437,7 @@ var internals$jscomp$inline_1223 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1224 = __REACT_DEVTOOLS_GLOBAL_HOOK__; 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 9bf2ff0329..954d9999c2 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<<50896144af79bc0d06cc1efa52989bd2>> + * @generated SignedSource<<6da80fcc0b995a2ab635400377d3a276>> */ "use strict"; @@ -10026,7 +10026,7 @@ var devToolsConfig$jscomp$inline_1117 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-test-renderer" }; (function (internals) { @@ -10070,7 +10070,7 @@ var devToolsConfig$jscomp$inline_1117 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }); exports._Scheduler = Scheduler; exports.act = act; 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 64f106b2dc..aaa2e4e1e5 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<<9e43796dad26b65aef2351c647691b29>> + * @generated SignedSource<<774ee23c4580a270ea6ffd6e54c906bb>> */ "use strict"; @@ -1748,7 +1748,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-native-fb-fc1371f6-20240715"; + exports.version = "19.0.0-native-fb-f510ece8-20240715"; "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 4fa1b15caf..2437529180 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<<46ebc18bdae76b802420ba85977104d3>> + * @generated SignedSource<<6d4d7fcf84be677792e205532a36c190>> */ "use strict"; @@ -604,4 +604,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-fc1371f6-20240715"; +exports.version = "19.0.0-native-fb-f510ece8-20240715"; 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 e5273d80a5..07aee40d70 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<<5faabf73666ec4dc0d2fa62bc5fd9940>> */ "use strict"; @@ -608,7 +608,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-fc1371f6-20240715"; +exports.version = "19.0.0-native-fb-f510ece8-20240715"; "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 728bf2437e..c480932863 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 @@ -fc1371f6bf656821e92c3c41bf65f58686504001 +f510ece86d4621d3b0faf9fe59d850f7807dbb16 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 e574c7b942..9d092f9762 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<<33b19db231c19a7465cf06a85e551523>> */ "use strict"; @@ -1336,11 +1336,14 @@ __DEV__ && return payload; } for (i in props) { - var prop = props[i]; - if (void 0 !== prop) { - var attributeConfig = validAttributes[i]; - if (null != attributeConfig) { - var newValue = void 0; + var prop = props[i], + attributeConfig = validAttributes[i]; + if (null != attributeConfig) { + var newValue = void 0; + if (void 0 === prop) + if (payload && void 0 !== payload[i]) newValue = null; + else continue; + else "function" === typeof prop ? (newValue = !0) : "object" !== typeof attributeConfig @@ -1348,10 +1351,9 @@ __DEV__ && : "function" === typeof attributeConfig.process ? (newValue = attributeConfig.process(prop)) : "function" === typeof attributeConfig.diff && (newValue = prop); - void 0 !== newValue - ? (payload || (payload = {}), (payload[i] = newValue)) - : (payload = fastAddProperties(payload, prop, attributeConfig)); - } + void 0 !== newValue + ? (payload || (payload = {}), (payload[i] = newValue)) + : (payload = fastAddProperties(payload, prop, attributeConfig)); } } return payload; @@ -16811,12 +16813,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }); })({ findFiberByHostInstance: getInstanceFromNode, bundleType: 1, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, 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 2a7a45a73c..a949d02e08 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"; @@ -1529,11 +1529,14 @@ function fastAddProperties(payload, props, validAttributes) { return payload; } for (i in props) { - var prop = props[i]; - if (void 0 !== prop) { - var attributeConfig = validAttributes[i]; - if (null != attributeConfig) { - var newValue = void 0; + var prop = props[i], + attributeConfig = validAttributes[i]; + if (null != attributeConfig) { + var newValue = void 0; + if (void 0 === prop) + if (payload && void 0 !== payload[i]) newValue = null; + else continue; + else "function" === typeof prop ? (newValue = !0) : "object" !== typeof attributeConfig @@ -1541,10 +1544,9 @@ function fastAddProperties(payload, props, validAttributes) { : "function" === typeof attributeConfig.process ? (newValue = attributeConfig.process(prop)) : "function" === typeof attributeConfig.diff && (newValue = prop); - void 0 !== newValue - ? (payload || (payload = {}), (payload[i] = newValue)) - : (payload = fastAddProperties(payload, prop, attributeConfig)); - } + void 0 !== newValue + ? (payload || (payload = {}), (payload[i] = newValue)) + : (payload = fastAddProperties(payload, prop, attributeConfig)); } } return payload; @@ -10626,7 +10628,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1136 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10669,7 +10671,7 @@ var internals$jscomp$inline_1362 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1363 = __REACT_DEVTOOLS_GLOBAL_HOOK__; 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 6cb4cededb..087dd94915 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<> */ "use strict"; @@ -1533,11 +1533,14 @@ function fastAddProperties(payload, props, validAttributes) { return payload; } for (i in props) { - var prop = props[i]; - if (void 0 !== prop) { - var attributeConfig = validAttributes[i]; - if (null != attributeConfig) { - var newValue = void 0; + var prop = props[i], + attributeConfig = validAttributes[i]; + if (null != attributeConfig) { + var newValue = void 0; + if (void 0 === prop) + if (payload && void 0 !== payload[i]) newValue = null; + else continue; + else "function" === typeof prop ? (newValue = !0) : "object" !== typeof attributeConfig @@ -1545,10 +1548,9 @@ function fastAddProperties(payload, props, validAttributes) { : "function" === typeof attributeConfig.process ? (newValue = attributeConfig.process(prop)) : "function" === typeof attributeConfig.diff && (newValue = prop); - void 0 !== newValue - ? (payload || (payload = {}), (payload[i] = newValue)) - : (payload = fastAddProperties(payload, prop, attributeConfig)); - } + void 0 !== newValue + ? (payload || (payload = {}), (payload[i] = newValue)) + : (payload = fastAddProperties(payload, prop, attributeConfig)); } } return payload; @@ -11336,7 +11338,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1217 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11392,7 +11394,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }); exports.createPortal = function (children, containerTag) { return createPortal$1( 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 fd7eb62c91..7309b9828e 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"; @@ -16999,11 +16999,11 @@ __DEV__ && var emptyObject = {}; Object.freeze(emptyObject); var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-fc1371f6-20240715" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-f510ece8-20240715" !== 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-fc1371f6-20240715\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-f510ece8-20240715\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17051,12 +17051,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }); })({ findFiberByHostInstance: getInstanceFromTag, bundleType: 1, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, 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 7df3e97876..57a15e4e16 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<<4b2464da555845662b7117ab2c659d6f>> + * @generated SignedSource<> */ "use strict"; @@ -10780,11 +10780,11 @@ function traverseOwnerTreeUp(hierarchy, instance) { traverseOwnerTreeUp(hierarchy, instance); } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-fc1371f6-20240715" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-f510ece8-20240715" !== 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-fc1371f6-20240715\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-f510ece8-20240715\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -10834,7 +10834,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1210 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10877,7 +10877,7 @@ var internals$jscomp$inline_1457 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1458 = __REACT_DEVTOOLS_GLOBAL_HOOK__; 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 d912056781..b07e4c41d1 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -11491,11 +11491,11 @@ function traverseOwnerTreeUp(hierarchy, instance) { traverseOwnerTreeUp(hierarchy, instance); } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-fc1371f6-20240715" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-f510ece8-20240715" !== 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-fc1371f6-20240715\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-f510ece8-20240715\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11545,7 +11545,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1291 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-native-fb-fc1371f6-20240715", + version: "19.0.0-native-fb-f510ece8-20240715", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11601,7 +11601,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-fc1371f6-20240715" + reconcilerVersion: "19.0.0-native-fb-f510ece8-20240715" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) {