[cleanup] remove flag enableAddPropertiesFastPath (#31062)

The experiment was tested internally and rolled out, replacing the flag
with `true`.

DiffTrain build for [de43d560a8](https://github.com/facebook/react/commit/de43d560a8622fa44ba4162424437125564e906e)
This commit is contained in:
kassens
2024-10-09 13:55:04 -07:00
parent b3b172a470
commit f1147578e3
23 changed files with 131 additions and 135 deletions
+1 -1
View File
@@ -1 +1 @@
19.0.0-native-fb-b78a7f2f-20241007
19.0.0-native-fb-de43d560-20241009
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d5faa91f4a5f8a6940d890f72a303b54>>
* @generated SignedSource<<550c10c16de0559e53cbd039c2e4f6d9>>
*/
"use strict";
@@ -420,5 +420,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<19418ee514eca4bcaf1ba0d649a720b4>>
* @generated SignedSource<<4ba3a2044ec1d4234e283594a2af1550>>
*/
"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-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<19418ee514eca4bcaf1ba0d649a720b4>>
* @generated SignedSource<<4ba3a2044ec1d4234e283594a2af1550>>
*/
"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-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<50538a711c0ffae7621f4907d19f5002>>
* @generated SignedSource<<8180b974f916c25525536140b7314c8a>>
*/
/*
@@ -25304,11 +25304,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-b78a7f2f-20241007" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-de43d560-20241009" !== 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-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25345,11 +25345,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25493,5 +25493,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<66c9a1a1221b0f25c3fc6b802381a71f>>
* @generated SignedSource<<86bcc49ed3494f6591ac576b591609e0>>
*/
/*
@@ -15598,14 +15598,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1691 = React.version;
if (
"19.0.0-native-fb-b78a7f2f-20241007" !==
"19.0.0-native-fb-de43d560-20241009" !==
isomorphicReactPackageVersion$jscomp$inline_1691
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1691,
"19.0.0-native-fb-b78a7f2f-20241007"
"19.0.0-native-fb-de43d560-20241009"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15627,11 +15627,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2144 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2145 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15735,4 +15735,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0a35ca8dced5c33f584e6582ef1df166>>
* @generated SignedSource<<4824b23c5f4ff96fb4802c9f8adf2471>>
*/
/*
@@ -16255,14 +16255,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1781 = React.version;
if (
"19.0.0-native-fb-b78a7f2f-20241007" !==
"19.0.0-native-fb-de43d560-20241009" !==
isomorphicReactPackageVersion$jscomp$inline_1781
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1781,
"19.0.0-native-fb-b78a7f2f-20241007"
"19.0.0-native-fb-de43d560-20241009"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16284,11 +16284,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1788 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007",
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$286 = 0;
@@ -16407,4 +16407,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8c1b7dae604278006c2ff6473ace83e0>>
* @generated SignedSource<<8298cf0750659483437f89081a56a506>>
*/
/*
@@ -25365,11 +25365,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-b78a7f2f-20241007" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-de43d560-20241009" !== 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-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25406,11 +25406,11 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25870,7 +25870,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<32a7570edfe1e2a0b4a6c63c9684eea8>>
* @generated SignedSource<<4a4e091eba4f9ae2d3fa9149ec89ca19>>
*/
/*
@@ -15609,14 +15609,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1692 = React.version;
if (
"19.0.0-native-fb-b78a7f2f-20241007" !==
"19.0.0-native-fb-de43d560-20241009" !==
isomorphicReactPackageVersion$jscomp$inline_1692
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1692,
"19.0.0-native-fb-b78a7f2f-20241007"
"19.0.0-native-fb-de43d560-20241009"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15638,11 +15638,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2147 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2148 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15900,4 +15900,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<15cc6efda2582697662984eedd53fbd5>>
* @generated SignedSource<<c0bb57cc30f7279c8660e4410e4ff499>>
*/
/*
@@ -16270,14 +16270,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1782 = React.version;
if (
"19.0.0-native-fb-b78a7f2f-20241007" !==
"19.0.0-native-fb-de43d560-20241009" !==
isomorphicReactPackageVersion$jscomp$inline_1782
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1782,
"19.0.0-native-fb-b78a7f2f-20241007"
"19.0.0-native-fb-de43d560-20241009"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16299,11 +16299,11 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1789 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007",
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$286 = 0;
@@ -16576,7 +16576,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<57eaa37e0992b9ff5709317b55eae2af>>
* @generated SignedSource<<5f44eb7450494976dbece99183d4ea18>>
*/
"use strict";
@@ -15136,11 +15136,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15285,5 +15285,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f6849f0e258dac90e87357636acbd312>>
* @generated SignedSource<<b845d5cbb2507d24e197ff3a0adda5ee>>
*/
"use strict";
@@ -9520,14 +9520,14 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1346 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
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-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1347 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9663,4 +9663,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<29be313a04ea229aaed8bb23bf52b452>>
* @generated SignedSource<<098680e059b035c0658861c8443052d5>>
*/
"use strict";
@@ -10088,14 +10088,14 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1161 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
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-b78a7f2f-20241007",
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$142 = 0;
@@ -10246,4 +10246,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<b74b3d8161584b12ef52e873b58a37c1>>
* @generated SignedSource<<abceb6f8a3bb25376bc2d6dab354f8dc>>
*/
"use strict";
@@ -1705,7 +1705,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<bc4d7b0764ceaf780489b0f9b2c702a2>>
* @generated SignedSource<<41bdc7523280c190d7ad20228681a2a1>>
*/
"use strict";
@@ -581,4 +581,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<3fb19140caf3af5af982f915d2775eb5>>
* @generated SignedSource<<cc7c7cf8460d32b424559f81d4bca5f8>>
*/
"use strict";
@@ -585,7 +585,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.0.0-native-fb-b78a7f2f-20241007";
exports.version = "19.0.0-native-fb-de43d560-20241009";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
b78a7f2f35e554a8647c3262d7f392e68d06febc
de43d560a8622fa44ba4162424437125564e906e
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5e2acd2f6d2103d57d72bced227b5ea6>>
* @generated SignedSource<<0fe6afcc02f97c62359b2f284d84bb0e>>
*/
"use strict";
@@ -1328,11 +1328,6 @@ __DEV__ &&
}
return payload;
}
function create(props, validAttributes) {
return enableAddPropertiesFastPath
? fastAddProperties(null, props, validAttributes)
: diffProperties(null, emptyObject$1, props, validAttributes);
}
function batchedUpdates$1(fn, bookkeeping) {
if (isInsideEventHandler) return fn(bookkeeping);
isInsideEventHandler = !0;
@@ -9310,7 +9305,11 @@ __DEV__ &&
ReactNativePrivateInterface.deepFreezeAndThrowOnMutationInDev(
newProps[keepChildren]
);
keepChildren = create(newProps, renderLanes.validAttributes);
keepChildren = fastAddProperties(
null,
newProps,
renderLanes.validAttributes
);
keepChildren = createNode(
current,
renderLanes.uiViewClassName,
@@ -14131,11 +14130,12 @@ __DEV__ &&
return DefaultEventPriority;
}
function cloneHiddenInstance(instance) {
var node = instance.node,
updatePayload = create(
{ style: { display: "none" } },
instance.canonical.viewConfig.validAttributes
);
var node = instance.node;
var updatePayload = fastAddProperties(
null,
{ style: { display: "none" } },
instance.canonical.viewConfig.validAttributes
);
return {
node: cloneNodeWithNewProps(node, updatePayload),
canonical: instance.canonical
@@ -14183,8 +14183,6 @@ __DEV__ &&
suppressWarning = !1,
isArrayImpl = Array.isArray,
alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
enableAddPropertiesFastPath =
dynamicFlagsUntyped.enableAddPropertiesFastPath,
enableFabricCompleteRootInCommitPhase =
dynamicFlagsUntyped.enableFabricCompleteRootInCommitPhase,
enableHiddenSubtreeInsertionEffectCleanup =
@@ -16930,11 +16928,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5866319f5f9dd044b120ab1dd08d9952>>
* @generated SignedSource<<8fc05c9796a486233780f4e08ff11478>>
*/
"use strict";
@@ -18,7 +18,6 @@ var ReactNativePrivateInterface = require("react-native/Libraries/ReactPrivate/R
Scheduler = require("scheduler"),
isArrayImpl = Array.isArray,
alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
enableAddPropertiesFastPath = dynamicFlagsUntyped.enableAddPropertiesFastPath,
enableFabricCompleteRootInCommitPhase =
dynamicFlagsUntyped.enableFabricCompleteRootInCommitPhase,
enableHiddenSubtreeInsertionEffectCleanup =
@@ -1556,11 +1555,6 @@ function fastAddProperties(payload, props, validAttributes) {
}
return payload;
}
function create(props, validAttributes) {
return enableAddPropertiesFastPath
? fastAddProperties(null, props, validAttributes)
: diffProperties(null, emptyObject$1, props, validAttributes);
}
function batchedUpdatesImpl(fn, bookkeeping) {
return fn(bookkeeping);
}
@@ -7385,7 +7379,11 @@ function completeWork(current, workInProgress, renderLanes) {
current = nextReactTag;
nextReactTag += 2;
renderLanes = getViewConfigForType(renderLanes);
newChildSet = create(newProps, renderLanes.validAttributes);
newChildSet = fastAddProperties(
null,
newProps,
renderLanes.validAttributes
);
oldProps = createNode(
current,
renderLanes.uiViewClassName,
@@ -10774,13 +10772,14 @@ function resolveUpdatePriority() {
var scheduleTimeout = setTimeout,
cancelTimeout = clearTimeout;
function cloneHiddenInstance(instance) {
var node = instance.node,
updatePayload = create(
{ style: { display: "none" } },
instance.canonical.viewConfig.validAttributes
);
var node = instance.node;
var JSCompiler_inline_result = fastAddProperties(
null,
{ style: { display: "none" } },
instance.canonical.viewConfig.validAttributes
);
return {
node: cloneNodeWithNewProps(node, updatePayload),
node: cloneNodeWithNewProps(node, JSCompiler_inline_result),
canonical: instance.canonical
};
}
@@ -10869,25 +10868,25 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1170 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1170.rendererConfig = extraDevToolsConfig);
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1477 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1481 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1477.isDisabled &&
hook$jscomp$inline_1477.supportsFiber
!hook$jscomp$inline_1481.isDisabled &&
hook$jscomp$inline_1481.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1477.inject(
(rendererID = hook$jscomp$inline_1481.inject(
internals$jscomp$inline_1170
)),
(injectedHook = hook$jscomp$inline_1477);
(injectedHook = hook$jscomp$inline_1481);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e3aedb4e2c36480398466a64e2d2362f>>
* @generated SignedSource<<4a78b6ea09bf2b7f86be9dca417cfa6b>>
*/
"use strict";
@@ -22,7 +22,6 @@ var ReactNativePrivateInterface = require("react-native/Libraries/ReactPrivate/R
React = require("react"),
isArrayImpl = Array.isArray,
alwaysThrottleRetries = dynamicFlagsUntyped.alwaysThrottleRetries,
enableAddPropertiesFastPath = dynamicFlagsUntyped.enableAddPropertiesFastPath,
enableFabricCompleteRootInCommitPhase =
dynamicFlagsUntyped.enableFabricCompleteRootInCommitPhase,
enableHiddenSubtreeInsertionEffectCleanup =
@@ -1560,11 +1559,6 @@ function fastAddProperties(payload, props, validAttributes) {
}
return payload;
}
function create(props, validAttributes) {
return enableAddPropertiesFastPath
? fastAddProperties(null, props, validAttributes)
: diffProperties(null, emptyObject$1, props, validAttributes);
}
function batchedUpdatesImpl(fn, bookkeeping) {
return fn(bookkeeping);
}
@@ -7625,7 +7619,11 @@ function completeWork(current, workInProgress, renderLanes) {
current = nextReactTag;
nextReactTag += 2;
renderLanes = getViewConfigForType(renderLanes);
newChildSet = create(newProps, renderLanes.validAttributes);
newChildSet = fastAddProperties(
null,
newProps,
renderLanes.validAttributes
);
oldProps = createNode(
current,
renderLanes.uiViewClassName,
@@ -11435,13 +11433,14 @@ function resolveUpdatePriority() {
var scheduleTimeout = setTimeout,
cancelTimeout = clearTimeout;
function cloneHiddenInstance(instance) {
var node = instance.node,
updatePayload = create(
{ style: { display: "none" } },
instance.canonical.viewConfig.validAttributes
);
var node = instance.node;
var JSCompiler_inline_result = fastAddProperties(
null,
{ style: { display: "none" } },
instance.canonical.viewConfig.validAttributes
);
return {
node: cloneNodeWithNewProps(node, updatePayload),
node: cloneNodeWithNewProps(node, JSCompiler_inline_result),
canonical: instance.canonical
};
}
@@ -11530,11 +11529,11 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1258 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromNode,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1258.rendererConfig = extraDevToolsConfig);
@@ -11554,16 +11553,16 @@ internals$jscomp$inline_1258.injectProfilingHooks = function (profilingHooks) {
injectedProfilingHooks = profilingHooks;
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1528 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1532 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1528.isDisabled &&
hook$jscomp$inline_1528.supportsFiber
!hook$jscomp$inline_1532.isDisabled &&
hook$jscomp$inline_1532.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1528.inject(
(rendererID = hook$jscomp$inline_1532.inject(
internals$jscomp$inline_1258
)),
(injectedHook = hook$jscomp$inline_1528);
(injectedHook = hook$jscomp$inline_1532);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5ec07d5b78df7c28f842c849052ad0a8>>
* @generated SignedSource<<72710cfc1a334507c73289cd75a075fb>>
*/
"use strict";
@@ -17149,11 +17149,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-b78a7f2f-20241007" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-de43d560-20241009" !== 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-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17179,11 +17179,11 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromTag,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9fc124433872243a536d688cc70f7b05>>
* @generated SignedSource<<d57e82aee366b4ff9a07902e8b4c7777>>
*/
"use strict";
@@ -10999,11 +10999,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-b78a7f2f-20241007" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-de43d560-20241009" !== 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-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11052,11 +11052,11 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1236 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromTag,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1236.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<6e6dab71302e3b4c83dba8a538f7a125>>
* @generated SignedSource<<2cae2d5bed62bc779e2ef621b0707f25>>
*/
"use strict";
@@ -11659,11 +11659,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.0.0-native-fb-b78a7f2f-20241007" !== isomorphicReactPackageVersion)
if ("19.0.0-native-fb-de43d560-20241009" !== 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-b78a7f2f-20241007\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.0.0-native-fb-de43d560-20241009\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11712,11 +11712,11 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1324 = {
bundleType: 0,
version: "19.0.0-native-fb-b78a7f2f-20241007",
version: "19.0.0-native-fb-de43d560-20241009",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getInstanceFromTag,
reconcilerVersion: "19.0.0-native-fb-b78a7f2f-20241007"
reconcilerVersion: "19.0.0-native-fb-de43d560-20241009"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1324.rendererConfig = extraDevToolsConfig);