[react-native] Pull up enableFastAddPropertiesInDiffing check (#33043)

## Summary

We don't need the isArray check for this experiment, as
`fastAddProperties` already does the same. Also renaming
slowAddProperties to make it clearer we can fully remove this codepath
once fastAddProperties is fully rolled out.

## How did you test this change?

```
yarn test packages/react-native-renderer -r=xplat --variant=true
```

DiffTrain build for [0038c501a3](https://github.com/facebook/react/commit/0038c501a307e5ddc0cb80027e55740ddda09520)
This commit is contained in:
javache
2025-04-29 03:16:29 -07:00
parent 520902d9c2
commit 63af232d46
23 changed files with 110 additions and 100 deletions
+1 -1
View File
@@ -1 +1 @@
19.2.0-native-fb-3ef31d19-20250422
19.2.0-native-fb-0038c501-20250429
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d4a49cc2733833ed94561a8032a6faad>>
* @generated SignedSource<<ad23a59b46a733dcb0df365ac961b559>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d2bab8536f4680d22758a6c9e6bf0ef5>>
* @generated SignedSource<<0174cc70e7e9694eec9f18abeb2f5b19>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d2bab8536f4680d22758a6c9e6bf0ef5>>
* @generated SignedSource<<0174cc70e7e9694eec9f18abeb2f5b19>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9d13782b98a9874b7d41d61be121c254>>
* @generated SignedSource<<1960f570368733d578b6de81a3a6772c>>
*/
/*
@@ -26236,11 +26236,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-3ef31d19-20250422" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-0038c501-20250429" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-native-fb-3ef31d19-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-0038c501-20250429\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26277,10 +26277,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26424,5 +26424,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cade4038c3833f45892d864627d327de>>
* @generated SignedSource<<638434daf1c86509eea1173db6df4fc2>>
*/
/*
@@ -16334,14 +16334,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1838 = React.version;
if (
"19.2.0-native-fb-3ef31d19-20250422" !==
"19.2.0-native-fb-0038c501-20250429" !==
isomorphicReactPackageVersion$jscomp$inline_1838
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1838,
"19.2.0-native-fb-3ef31d19-20250422"
"19.2.0-native-fb-0038c501-20250429"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16363,10 +16363,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2316 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2317 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16470,4 +16470,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9d7709d7f037e02c11b3263d8352d7a1>>
* @generated SignedSource<<692b0056c27fb8495e61537b77520b77>>
*/
/*
@@ -17043,14 +17043,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1941 = React.version;
if (
"19.2.0-native-fb-3ef31d19-20250422" !==
"19.2.0-native-fb-0038c501-20250429" !==
isomorphicReactPackageVersion$jscomp$inline_1941
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1941,
"19.2.0-native-fb-3ef31d19-20250422"
"19.2.0-native-fb-0038c501-20250429"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17072,10 +17072,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1948 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422",
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$304 = 0;
@@ -17194,4 +17194,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<df0856e30e200f776f17366652f15b1b>>
* @generated SignedSource<<c3937861fd3cfe1bbb79f461ca397859>>
*/
/*
@@ -26297,11 +26297,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-3ef31d19-20250422" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-0038c501-20250429" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-native-fb-3ef31d19-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-0038c501-20250429\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -26338,10 +26338,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26801,7 +26801,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f827b5a5d294f8e9379461106fec2436>>
* @generated SignedSource<<567daf56c9bec1598de3d0108311e62b>>
*/
/*
@@ -16345,14 +16345,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1839 = React.version;
if (
"19.2.0-native-fb-3ef31d19-20250422" !==
"19.2.0-native-fb-0038c501-20250429" !==
isomorphicReactPackageVersion$jscomp$inline_1839
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1839,
"19.2.0-native-fb-3ef31d19-20250422"
"19.2.0-native-fb-0038c501-20250429"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16374,10 +16374,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2319 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2320 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16635,4 +16635,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<1f40b96c85aae18f9df88e7417de3a95>>
* @generated SignedSource<<d35da6dbcc731e043d4e98913e9ecd39>>
*/
/*
@@ -17058,14 +17058,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1942 = React.version;
if (
"19.2.0-native-fb-3ef31d19-20250422" !==
"19.2.0-native-fb-0038c501-20250429" !==
isomorphicReactPackageVersion$jscomp$inline_1942
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1942,
"19.2.0-native-fb-3ef31d19-20250422"
"19.2.0-native-fb-0038c501-20250429"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17087,10 +17087,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1949 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422",
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$304 = 0;
@@ -17363,7 +17363,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<adf9f9293cfb107d0c8978df972ca943>>
* @generated SignedSource<<5f02fc0363cfa66d86c1043950528674>>
*/
"use strict";
@@ -15630,10 +15630,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15778,5 +15778,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<a7c8bb91b1a1b6a7b50a4d0da92f0e5f>>
* @generated SignedSource<<d723fe5a3b5ed96b681ac160113ea2cf>>
*/
"use strict";
@@ -9885,10 +9885,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1439 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1440 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10024,4 +10024,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<95833321888af4636e84de6c88293cb7>>
* @generated SignedSource<<6d75c623ae783ef6b1e52eab76a3a0cd>>
*/
"use strict";
@@ -10502,10 +10502,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1247 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422",
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$155 = 0;
@@ -10656,4 +10656,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<6f4909cfbb5b2f0a7671d23954235942>>
* @generated SignedSource<<abe63482f5bf918f307af12aaee922a3>>
*/
"use strict";
@@ -1412,7 +1412,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9544a908fcba7316c3c3e12020e06f64>>
* @generated SignedSource<<004769504d4fab92b91a65207cd2893e>>
*/
"use strict";
@@ -587,4 +587,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0dccd0c23701e93e1314106030bab224>>
* @generated SignedSource<<39481eab16495fb98a9793a2fbc2900f>>
*/
"use strict";
@@ -591,7 +591,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-3ef31d19-20250422";
exports.version = "19.2.0-native-fb-0038c501-20250429";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
3ef31d196a83e45d4c70b300a265a9c657c386b4
0038c501a307e5ddc0cb80027e55740ddda09520
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5754cca2d1255ac615656e4737b87dea>>
* @generated SignedSource<<01794f0b94bd85229e5725df24a38d9f>>
*/
"use strict";
@@ -1297,15 +1297,15 @@ __DEV__ &&
}
function addNestedProperty(updatePayload, nextProp, validAttributes) {
if (!nextProp) return updatePayload;
if (enableFastAddPropertiesInDiffing)
return fastAddProperties(updatePayload, nextProp, validAttributes);
if (!isArrayImpl(nextProp))
return enableFastAddPropertiesInDiffing
? fastAddProperties(updatePayload, nextProp, validAttributes)
: diffProperties(
updatePayload,
emptyObject$1,
nextProp,
validAttributes
);
return diffProperties(
updatePayload,
emptyObject$1,
nextProp,
validAttributes
);
for (var i = 0; i < nextProp.length; i++)
updatePayload = addNestedProperty(
updatePayload,
@@ -17347,10 +17347,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9fc1ce3cfcc10981145f460fa861c321>>
* @generated SignedSource<<04928b2865b2da85beb8ac11c426e1e1>>
*/
"use strict";
@@ -1424,10 +1424,15 @@ function diffNestedProperty(
}
function addNestedProperty(updatePayload, nextProp, validAttributes) {
if (!nextProp) return updatePayload;
if (enableFastAddPropertiesInDiffing)
return fastAddProperties(updatePayload, nextProp, validAttributes);
if (!isArrayImpl(nextProp))
return enableFastAddPropertiesInDiffing
? fastAddProperties(updatePayload, nextProp, validAttributes)
: diffProperties(updatePayload, emptyObject, nextProp, validAttributes);
return diffProperties(
updatePayload,
emptyObject,
nextProp,
validAttributes
);
for (var i = 0; i < nextProp.length; i++)
updatePayload = addNestedProperty(
updatePayload,
@@ -11095,10 +11100,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1235 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1235.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8e5d50cba591328e019d978d314ecedf>>
* @generated SignedSource<<2a7b9127773d76029217c990b6aa6745>>
*/
"use strict";
@@ -1428,10 +1428,15 @@ function diffNestedProperty(
}
function addNestedProperty(updatePayload, nextProp, validAttributes) {
if (!nextProp) return updatePayload;
if (enableFastAddPropertiesInDiffing)
return fastAddProperties(updatePayload, nextProp, validAttributes);
if (!isArrayImpl(nextProp))
return enableFastAddPropertiesInDiffing
? fastAddProperties(updatePayload, nextProp, validAttributes)
: diffProperties(updatePayload, emptyObject, nextProp, validAttributes);
return diffProperties(
updatePayload,
emptyObject,
nextProp,
validAttributes
);
for (var i = 0; i < nextProp.length; i++)
updatePayload = addNestedProperty(
updatePayload,
@@ -11796,10 +11801,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1336 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1336.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5766de66d75c0edf7da351d3a588c452>>
* @generated SignedSource<<da3ff0413234a7e77b27557e7096f738>>
*/
"use strict";
@@ -17564,11 +17564,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-3ef31d19-20250422" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-0038c501-20250429" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-3ef31d19-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-0038c501-20250429\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17594,10 +17594,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<60721fd4efdec1604e530302fb948b0a>>
* @generated SignedSource<<1e717bfc4181ef60d21a7ad0e5d15f44>>
*/
"use strict";
@@ -11197,11 +11197,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-3ef31d19-20250422" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-0038c501-20250429" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-3ef31d19-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-0038c501-20250429\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11250,10 +11250,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1298 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1298.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<881e881b2539a7fdf36025e8d9f53ba5>>
* @generated SignedSource<<6ed25eab1d576709a343fd08a6d0a6ec>>
*/
"use strict";
@@ -11896,11 +11896,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-3ef31d19-20250422" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-0038c501-20250429" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-native-renderer: 19.2.0-native-fb-3ef31d19-20250422\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-0038c501-20250429\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11949,10 +11949,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1399 = {
bundleType: 0,
version: "19.2.0-native-fb-3ef31d19-20250422",
version: "19.2.0-native-fb-0038c501-20250429",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-3ef31d19-20250422"
reconcilerVersion: "19.2.0-native-fb-0038c501-20250429"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1399.rendererConfig = extraDevToolsConfig);