Clean up feature flag to use lazy public instances in Fabric (#33943)

## Summary

We have thoroughly tested this flag in production and proved stability
and performance, so we can clean it up and "ship it".

DiffTrain build for [e9638c33d7](https://github.com/facebook/react/commit/e9638c33d7e79162516b89da31549af4090997a5)
This commit is contained in:
sammy-SC
2025-07-21 02:33:51 -07:00
parent e55cc20718
commit c8dd9b6eb2
24 changed files with 572 additions and 581 deletions
+1 -1
View File
@@ -1 +1 @@
19.2.0-native-fb-dffacc7b-20250717
19.2.0-native-fb-e9638c33-20250721
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f8204c31bcedae1cea04cdcf945a4d1e>>
* @generated SignedSource<<3a9e9d178f83ec61aa7e42b011f9935c>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<aea41ee2ea916683d334879e61f7c280>>
* @generated SignedSource<<d68390ad0b8b39ee2d7978274230b7b1>>
*/
"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-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<aea41ee2ea916683d334879e61f7c280>>
* @generated SignedSource<<d68390ad0b8b39ee2d7978274230b7b1>>
*/
"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-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<3d6aeb1de3ec6bfe6bc18c706eb53417>>
* @generated SignedSource<<165144841ff0e075c81838b915a2a7fb>>
*/
/*
@@ -29007,11 +29007,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-dffacc7b-20250717" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-e9638c33-20250721" !== 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-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29048,10 +29048,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29189,5 +29189,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<47a34f1602046196722e99f891c9b2c1>>
* @generated SignedSource<<8ced9afe514df31667cc3f3dd79cb4da>>
*/
/*
@@ -17123,14 +17123,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2004 = React.version;
if (
"19.2.0-native-fb-dffacc7b-20250717" !==
"19.2.0-native-fb-e9638c33-20250721" !==
isomorphicReactPackageVersion$jscomp$inline_2004
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2004,
"19.2.0-native-fb-dffacc7b-20250717"
"19.2.0-native-fb-e9638c33-20250721"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17152,10 +17152,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2523 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2524 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17253,4 +17253,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ea9d57afbf61860d4ab40fc2eec7e85d>>
* @generated SignedSource<<f5351d439548f2a7dad8c6fb287ec2a7>>
*/
/*
@@ -19081,14 +19081,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2244 = React.version;
if (
"19.2.0-native-fb-dffacc7b-20250717" !==
"19.2.0-native-fb-e9638c33-20250721" !==
isomorphicReactPackageVersion$jscomp$inline_2244
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2244,
"19.2.0-native-fb-dffacc7b-20250717"
"19.2.0-native-fb-e9638c33-20250721"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19110,10 +19110,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2251 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717",
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$319 = 0;
@@ -19226,4 +19226,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<66a3cb8771a4689b94275c3c03d6f964>>
* @generated SignedSource<<f412d82c0543b5f173aa40839b400117>>
*/
/*
@@ -29063,11 +29063,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-dffacc7b-20250717" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-e9638c33-20250721" !== 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-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -29104,10 +29104,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29561,7 +29561,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<de577feaa854feffac228bd4b848d2e1>>
* @generated SignedSource<<dd9204fe190aafba77dcb946d7fb88ad>>
*/
/*
@@ -17134,14 +17134,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2005 = React.version;
if (
"19.2.0-native-fb-dffacc7b-20250717" !==
"19.2.0-native-fb-e9638c33-20250721" !==
isomorphicReactPackageVersion$jscomp$inline_2005
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2005,
"19.2.0-native-fb-dffacc7b-20250717"
"19.2.0-native-fb-e9638c33-20250721"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -17163,10 +17163,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2526 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2527 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17417,4 +17417,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<0c03d24e957e18ece292d34682246f80>>
* @generated SignedSource<<adb5cb40591396ba9056c2013d745b73>>
*/
/*
@@ -19096,14 +19096,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_2245 = React.version;
if (
"19.2.0-native-fb-dffacc7b-20250717" !==
"19.2.0-native-fb-e9638c33-20250721" !==
isomorphicReactPackageVersion$jscomp$inline_2245
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2245,
"19.2.0-native-fb-dffacc7b-20250717"
"19.2.0-native-fb-e9638c33-20250721"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19125,10 +19125,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2252 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717",
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$319 = 0;
@@ -19394,7 +19394,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<608e90d9d7377526f12aea9c0d9af47a>>
* @generated SignedSource<<1bb7c673da75aad5e02323c5c65fcfcd>>
*/
"use strict";
@@ -15727,10 +15727,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15875,5 +15875,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cd606cfa8b4ad6700bc3364e80f1c155>>
* @generated SignedSource<<db2a974ce2dd5589cee977be69642c24>>
*/
"use strict";
@@ -9907,10 +9907,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1434 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1435 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10046,4 +10046,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<fd6323ff51f3f9e2d154718554467d32>>
* @generated SignedSource<<12b833e8545fa16262c1b6ee1d135c23>>
*/
"use strict";
@@ -10527,10 +10527,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1241 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717",
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$143 = 0;
@@ -10681,4 +10681,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2415e5df453905fc64f90a049ae23792>>
* @generated SignedSource<<bc4cb6c3723df6774bd3ad8abb6fdfcb>>
*/
"use strict";
@@ -1413,7 +1413,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5485e66b8e7773e3f0975f05cb715d46>>
* @generated SignedSource<<412837ed111c0068e166addd041acd62>>
*/
"use strict";
@@ -589,4 +589,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<4ea5b9f02db4b97cef725761c997c760>>
* @generated SignedSource<<f0405a71ae38b555269f3e0addaaf8c6>>
*/
"use strict";
@@ -593,7 +593,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-native-fb-dffacc7b-20250717";
exports.version = "19.2.0-native-fb-e9638c33-20250721";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
dffacc7b8094576c19790fe8341996f743ba4a89
e9638c33d7e79162516b89da31549af4090997a5
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<cd1c537659775c08a6ce8a7533bf1160>>
* @generated SignedSource<<181df4e43d45d66e2c10cab2de6a9fd0>>
*/
"use strict";
@@ -10081,23 +10081,23 @@ __DEV__ &&
_oldProps !== newProps
) {
requiredContext(contextStackCursor.current);
var newChildSet = null;
_type2 = !1;
var newChildSet = null,
hasOffscreenComponentChild = !1;
current &&
passChildrenWhenCloningPersistedNodes &&
(markCloned(workInProgress),
(newChildSet = passChildrenWhenCloningPersistedNodes
? []
: createChildNodeSet()),
(_type2 = appendAllChildrenToContainer(
(hasOffscreenComponentChild = appendAllChildrenToContainer(
newChildSet,
workInProgress,
!1,
!1
)));
b: {
var keepChildren = !current;
newChildSet = _type2 ? void 0 : newChildSet;
_type2 = !current;
newChildSet = hasOffscreenComponentChild ? void 0 : newChildSet;
_oldProps = ReactNativePrivateInterface.diffAttributePayloads(
_oldProps,
newProps,
@@ -10105,7 +10105,7 @@ __DEV__ &&
);
renderLanes.canonical.currentProps = newProps;
newProps = renderLanes.node;
if (keepChildren)
if (_type2)
if (null !== _oldProps)
newProps = cloneNodeWithNewProps(newProps, _oldProps);
else {
@@ -10132,7 +10132,8 @@ __DEV__ &&
: (markCloned(workInProgress),
(workInProgress.stateNode = newProps),
current
? (passChildrenWhenCloningPersistedNodes && !_type2) ||
? (passChildrenWhenCloningPersistedNodes &&
!hasOffscreenComponentChild) ||
appendAllChildren(newProps, workInProgress, !1, !1)
: enablePersistedModeClonedFlag ||
(workInProgress.flags |= 4));
@@ -10147,55 +10148,37 @@ __DEV__ &&
return null;
}
requiredContext(contextStackCursor.current);
renderLanes = requiredContext(rootInstanceStackCursor.current);
current = nextReactTag;
current = requiredContext(rootInstanceStackCursor.current);
renderLanes = nextReactTag;
nextReactTag += 2;
_type2 = getViewConfigForType(_type2);
for (keepChildren in _type2.validAttributes)
newProps.hasOwnProperty(keepChildren) &&
for (hasOffscreenComponentChild in _type2.validAttributes)
newProps.hasOwnProperty(hasOffscreenComponentChild) &&
ReactNativePrivateInterface.deepFreezeAndThrowOnMutationInDev(
newProps[keepChildren]
newProps[hasOffscreenComponentChild]
);
keepChildren = ReactNativePrivateInterface.createAttributePayload(
newProps,
_type2.validAttributes
);
keepChildren = createNode(
current,
_type2.uiViewClassName,
renderLanes.containerTag,
keepChildren,
workInProgress
);
enableLazyPublicInstanceInFabric
? (current = {
node: keepChildren,
canonical: {
nativeTag: current,
viewConfig: _type2,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: null,
publicRootInstance: renderLanes.publicInstance
}
})
: ((renderLanes =
ReactNativePrivateInterface.createPublicInstance(
current,
_type2,
workInProgress,
renderLanes.publicInstance
)),
(current = {
node: keepChildren,
canonical: {
nativeTag: current,
viewConfig: _type2,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: renderLanes
}
}));
hasOffscreenComponentChild =
ReactNativePrivateInterface.createAttributePayload(
newProps,
_type2.validAttributes
);
current = {
node: createNode(
renderLanes,
_type2.uiViewClassName,
current.containerTag,
hasOffscreenComponentChild,
workInProgress
),
canonical: {
nativeTag: renderLanes,
viewConfig: _type2,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: null,
publicRootInstance: current.publicInstance
}
};
markCloned(workInProgress);
appendAllChildren(current, workInProgress, !1, !1);
workInProgress.stateNode = current;
@@ -10287,8 +10270,11 @@ __DEV__ &&
(null !== current.memoizedState &&
null !== current.memoizedState.dehydrated)
) {
_type2 = newProps;
if (null !== _type2 && null !== _type2.dehydrated) {
hasOffscreenComponentChild = newProps;
if (
null !== hasOffscreenComponentChild &&
null !== hasOffscreenComponentChild.dehydrated
) {
if (null === current) {
throw Error(
"A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."
@@ -10299,22 +10285,26 @@ __DEV__ &&
}
emitPendingHydrationWarnings();
0 === (workInProgress.flags & 128) &&
(_type2 = workInProgress.memoizedState = null);
(hasOffscreenComponentChild = workInProgress.memoizedState =
null);
workInProgress.flags |= 4;
bubbleProperties(workInProgress);
0 !== (workInProgress.mode & 2) &&
null !== _type2 &&
((_type2 = workInProgress.child),
null !== _type2 &&
(workInProgress.treeBaseDuration -= _type2.treeBaseDuration));
_type2 = !1;
null !== hasOffscreenComponentChild &&
((hasOffscreenComponentChild = workInProgress.child),
null !== hasOffscreenComponentChild &&
(workInProgress.treeBaseDuration -=
hasOffscreenComponentChild.treeBaseDuration));
hasOffscreenComponentChild = !1;
} else
(_type2 = upgradeHydrationErrorsToRecoverable()),
(hasOffscreenComponentChild =
upgradeHydrationErrorsToRecoverable()),
null !== current &&
null !== current.memoizedState &&
(current.memoizedState.hydrationErrors = _type2),
(_type2 = !0);
if (!_type2) {
(current.memoizedState.hydrationErrors =
hasOffscreenComponentChild),
(hasOffscreenComponentChild = !0);
if (!hasOffscreenComponentChild) {
if (workInProgress.flags & 256)
return popSuspenseHandler(workInProgress), workInProgress;
popSuspenseHandler(workInProgress);
@@ -10333,16 +10323,18 @@ __DEV__ &&
current = null !== current && null !== current.memoizedState;
newProps &&
((renderLanes = workInProgress.child),
(_type2 = null),
(hasOffscreenComponentChild = null),
null !== renderLanes.alternate &&
null !== renderLanes.alternate.memoizedState &&
null !== renderLanes.alternate.memoizedState.cachePool &&
(_type2 = renderLanes.alternate.memoizedState.cachePool.pool),
(keepChildren = null),
(hasOffscreenComponentChild =
renderLanes.alternate.memoizedState.cachePool.pool),
(_type2 = null),
null !== renderLanes.memoizedState &&
null !== renderLanes.memoizedState.cachePool &&
(keepChildren = renderLanes.memoizedState.cachePool.pool),
keepChildren !== _type2 && (renderLanes.flags |= 2048));
(_type2 = renderLanes.memoizedState.cachePool.pool),
_type2 !== hasOffscreenComponentChild &&
(renderLanes.flags |= 2048));
newProps !== current &&
newProps &&
(workInProgress.child.flags |= 8192);
@@ -10379,23 +10371,24 @@ __DEV__ &&
);
case 19:
pop(suspenseStackCursor, workInProgress);
_type2 = workInProgress.memoizedState;
if (null === _type2) return bubbleProperties(workInProgress), null;
hasOffscreenComponentChild = workInProgress.memoizedState;
if (null === hasOffscreenComponentChild)
return bubbleProperties(workInProgress), null;
newProps = 0 !== (workInProgress.flags & 128);
keepChildren = _type2.rendering;
if (null === keepChildren)
if (newProps) cutOffTailIfNeeded(_type2, !1);
_type2 = hasOffscreenComponentChild.rendering;
if (null === _type2)
if (newProps) cutOffTailIfNeeded(hasOffscreenComponentChild, !1);
else {
if (
workInProgressRootExitStatus !== RootInProgress ||
(null !== current && 0 !== (current.flags & 128))
)
for (current = workInProgress.child; null !== current; ) {
keepChildren = findFirstSuspended(current);
if (null !== keepChildren) {
_type2 = findFirstSuspended(current);
if (null !== _type2) {
workInProgress.flags |= 128;
cutOffTailIfNeeded(_type2, !1);
current = keepChildren.updateQueue;
cutOffTailIfNeeded(hasOffscreenComponentChild, !1);
current = _type2.updateQueue;
workInProgress.updateQueue = current;
scheduleRetryEffect(workInProgress, current);
workInProgress.subtreeFlags = 0;
@@ -10414,53 +10407,51 @@ __DEV__ &&
}
current = current.sibling;
}
null !== _type2.tail &&
null !== hasOffscreenComponentChild.tail &&
now$1() > workInProgressRootRenderTargetTime &&
((workInProgress.flags |= 128),
(newProps = !0),
cutOffTailIfNeeded(_type2, !1),
cutOffTailIfNeeded(hasOffscreenComponentChild, !1),
(workInProgress.lanes = 4194304));
}
else {
if (!newProps)
if (
((current = findFirstSuspended(keepChildren)), null !== current)
) {
if (((current = findFirstSuspended(_type2)), null !== current)) {
if (
((workInProgress.flags |= 128),
(newProps = !0),
(current = current.updateQueue),
(workInProgress.updateQueue = current),
scheduleRetryEffect(workInProgress, current),
cutOffTailIfNeeded(_type2, !0),
null === _type2.tail &&
"hidden" === _type2.tailMode &&
!keepChildren.alternate)
cutOffTailIfNeeded(hasOffscreenComponentChild, !0),
null === hasOffscreenComponentChild.tail &&
"hidden" === hasOffscreenComponentChild.tailMode &&
!_type2.alternate)
)
return bubbleProperties(workInProgress), null;
} else
2 * now$1() - _type2.renderingStartTime >
2 * now$1() - hasOffscreenComponentChild.renderingStartTime >
workInProgressRootRenderTargetTime &&
536870912 !== renderLanes &&
((workInProgress.flags |= 128),
(newProps = !0),
cutOffTailIfNeeded(_type2, !1),
cutOffTailIfNeeded(hasOffscreenComponentChild, !1),
(workInProgress.lanes = 4194304));
_type2.isBackwards
? ((keepChildren.sibling = workInProgress.child),
(workInProgress.child = keepChildren))
: ((current = _type2.last),
hasOffscreenComponentChild.isBackwards
? ((_type2.sibling = workInProgress.child),
(workInProgress.child = _type2))
: ((current = hasOffscreenComponentChild.last),
null !== current
? (current.sibling = keepChildren)
: (workInProgress.child = keepChildren),
(_type2.last = keepChildren));
? (current.sibling = _type2)
: (workInProgress.child = _type2),
(hasOffscreenComponentChild.last = _type2));
}
if (null !== _type2.tail)
if (null !== hasOffscreenComponentChild.tail)
return (
(current = _type2.tail),
(_type2.rendering = current),
(_type2.tail = current.sibling),
(_type2.renderingStartTime = now$1()),
(current = hasOffscreenComponentChild.tail),
(hasOffscreenComponentChild.rendering = current),
(hasOffscreenComponentChild.tail = current.sibling),
(hasOffscreenComponentChild.renderingStartTime = now$1()),
(current.sibling = null),
(renderLanes = suspenseStackCursor.current),
(renderLanes = newProps
@@ -16380,8 +16371,6 @@ __DEV__ &&
dynamicFlagsUntyped.enableEagerAlternateStateNodeCleanup,
passChildrenWhenCloningPersistedNodes =
dynamicFlagsUntyped.passChildrenWhenCloningPersistedNodes,
enableLazyPublicInstanceInFabric =
dynamicFlagsUntyped.enableLazyPublicInstanceInFabric,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs,
enableComponentPerformanceTrack =
@@ -19237,10 +19226,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<40c5a6b50e477c8c0db2dea0f977b9c6>>
* @generated SignedSource<<937f755edbb2776bc87ce75c6e3a89a9>>
*/
"use strict";
@@ -29,8 +29,6 @@ var ReactNativePrivateInterface = require("react-native/Libraries/ReactPrivate/R
dynamicFlagsUntyped.enableEagerAlternateStateNodeCleanup,
passChildrenWhenCloningPersistedNodes =
dynamicFlagsUntyped.passChildrenWhenCloningPersistedNodes,
enableLazyPublicInstanceInFabric =
dynamicFlagsUntyped.enableLazyPublicInstanceInFabric,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs,
assign = Object.assign,
@@ -7351,49 +7349,31 @@ function completeWork(current, workInProgress, renderLanes) {
bubbleProperties(workInProgress);
return null;
}
renderLanes = rootInstanceStackCursor.current;
current = nextReactTag;
current = rootInstanceStackCursor.current;
renderLanes = nextReactTag;
nextReactTag += 2;
type = getViewConfigForType(type);
oldProps = ReactNativePrivateInterface.createAttributePayload(
newProps,
type.validAttributes
);
oldProps = createNode(
current,
type.uiViewClassName,
renderLanes.containerTag,
oldProps,
workInProgress
);
enableLazyPublicInstanceInFabric
? (current = {
node: oldProps,
canonical: {
nativeTag: current,
viewConfig: type,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: null,
publicRootInstance: renderLanes.publicInstance
}
})
: ((renderLanes = ReactNativePrivateInterface.createPublicInstance(
current,
type,
workInProgress,
renderLanes.publicInstance
)),
(current = {
node: oldProps,
canonical: {
nativeTag: current,
viewConfig: type,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: renderLanes
}
}));
current = {
node: createNode(
renderLanes,
type.uiViewClassName,
current.containerTag,
oldProps,
workInProgress
),
canonical: {
nativeTag: renderLanes,
viewConfig: type,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: null,
publicRootInstance: current.publicInstance
}
};
markCloned(workInProgress);
appendAllChildren(current, workInProgress, !1, !1);
workInProgress.stateNode = current;
@@ -11029,26 +11009,26 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1238 = {
internals$jscomp$inline_1237 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1238.rendererConfig = extraDevToolsConfig);
(internals$jscomp$inline_1237.rendererConfig = extraDevToolsConfig);
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1557 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1556 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1557.isDisabled &&
hook$jscomp$inline_1557.supportsFiber
!hook$jscomp$inline_1556.isDisabled &&
hook$jscomp$inline_1556.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1557.inject(
internals$jscomp$inline_1238
(rendererID = hook$jscomp$inline_1556.inject(
internals$jscomp$inline_1237
)),
(injectedHook = hook$jscomp$inline_1557);
(injectedHook = hook$jscomp$inline_1556);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<c34f6a18162d8d6fdf10a46ea1e308f5>>
* @generated SignedSource<<dd42b43d1b3e351b0168d225cc09caa8>>
*/
"use strict";
@@ -33,8 +33,6 @@ var ReactNativePrivateInterface = require("react-native/Libraries/ReactPrivate/R
dynamicFlagsUntyped.enableEagerAlternateStateNodeCleanup,
passChildrenWhenCloningPersistedNodes =
dynamicFlagsUntyped.passChildrenWhenCloningPersistedNodes,
enableLazyPublicInstanceInFabric =
dynamicFlagsUntyped.enableLazyPublicInstanceInFabric,
renameElementSymbol = dynamicFlagsUntyped.renameElementSymbol,
enableFragmentRefs = dynamicFlagsUntyped.enableFragmentRefs,
enableComponentPerformanceTrack =
@@ -7845,49 +7843,31 @@ function completeWork(current, workInProgress, renderLanes) {
bubbleProperties(workInProgress);
return null;
}
renderLanes = rootInstanceStackCursor.current;
current = nextReactTag;
current = rootInstanceStackCursor.current;
renderLanes = nextReactTag;
nextReactTag += 2;
type = getViewConfigForType(type);
oldProps = ReactNativePrivateInterface.createAttributePayload(
newProps,
type.validAttributes
);
oldProps = createNode(
current,
type.uiViewClassName,
renderLanes.containerTag,
oldProps,
workInProgress
);
enableLazyPublicInstanceInFabric
? (current = {
node: oldProps,
canonical: {
nativeTag: current,
viewConfig: type,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: null,
publicRootInstance: renderLanes.publicInstance
}
})
: ((renderLanes = ReactNativePrivateInterface.createPublicInstance(
current,
type,
workInProgress,
renderLanes.publicInstance
)),
(current = {
node: oldProps,
canonical: {
nativeTag: current,
viewConfig: type,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: renderLanes
}
}));
current = {
node: createNode(
renderLanes,
type.uiViewClassName,
current.containerTag,
oldProps,
workInProgress
),
canonical: {
nativeTag: renderLanes,
viewConfig: type,
currentProps: newProps,
internalInstanceHandle: workInProgress,
publicInstance: null,
publicRootInstance: current.publicInstance
}
};
markCloned(workInProgress);
appendAllChildren(current, workInProgress, !1, !1);
workInProgress.stateNode = current;
@@ -12958,16 +12938,16 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1473 = {
internals$jscomp$inline_1472 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1473.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1473.getLaneLabelMap = function () {
(internals$jscomp$inline_1472.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1472.getLaneLabelMap = function () {
for (
var map = new Map(), lane = 1, index$165 = 0;
31 > index$165;
@@ -12979,20 +12959,20 @@ internals$jscomp$inline_1473.getLaneLabelMap = function () {
}
return map;
};
internals$jscomp$inline_1473.injectProfilingHooks = function (profilingHooks) {
internals$jscomp$inline_1472.injectProfilingHooks = function (profilingHooks) {
injectedProfilingHooks = profilingHooks;
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1794 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1793 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1794.isDisabled &&
hook$jscomp$inline_1794.supportsFiber
!hook$jscomp$inline_1793.isDisabled &&
hook$jscomp$inline_1793.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1794.inject(
internals$jscomp$inline_1473
(rendererID = hook$jscomp$inline_1793.inject(
internals$jscomp$inline_1472
)),
(injectedHook = hook$jscomp$inline_1794);
(injectedHook = hook$jscomp$inline_1793);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2d9b5ece5ad0e98ab22897cb2460189a>>
* @generated SignedSource<<9d9c608130a6c8e28d4afafc62aa8dcc>>
*/
"use strict";
@@ -289,16 +289,16 @@ __DEV__ &&
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
} catch (x$2) {
control = x$2;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
@@ -2150,10 +2150,24 @@ __DEV__ &&
return !1;
}
function getPublicInstance(instance) {
return null != instance.canonical &&
null != instance.canonical.publicInstance
? instance.canonical.publicInstance
: instance;
if (null != instance.canonical) {
if (null == instance.canonical.publicInstance) {
var $jscomp$nullish$tmp0;
instance.canonical.publicInstance =
ReactNativePrivateInterface.createPublicInstance(
instance.canonical.nativeTag,
instance.canonical.viewConfig,
instance.canonical.internalInstanceHandle,
null !=
($jscomp$nullish$tmp0 = instance.canonical.publicRootInstance)
? $jscomp$nullish$tmp0
: null
);
instance.canonical.publicRootInstance = null;
}
return instance.canonical.publicInstance;
}
return instance;
}
function commitTextUpdate(textInstance, oldText, newText) {
ReactNativePrivateInterface.UIManager.updateView(
@@ -6735,8 +6749,8 @@ __DEV__ &&
try {
(currentTransition = action(prevState, payload)),
handleActionReturnValue(actionQueue, node, currentTransition);
} catch (error$2) {
onActionError(actionQueue, node, error$2);
} catch (error$3) {
onActionError(actionQueue, node, error$3);
}
}
function handleActionReturnValue(actionQueue, node, returnValue) {
@@ -11218,8 +11232,8 @@ __DEV__ &&
recordEffectDuration(current);
}
else runWithFiberInDEV(current, ref, null);
} catch (error$3) {
captureCommitPhaseError(current, nearestMountedAncestor, error$3);
} catch (error$4) {
captureCommitPhaseError(current, nearestMountedAncestor, error$4);
}
else ref.current = null;
}
@@ -14700,8 +14714,8 @@ __DEV__ &&
workLoopSync();
memoizedUpdaters = workInProgressRootExitStatus;
break;
} catch (thrownValue$4) {
handleThrow(root, thrownValue$4);
} catch (thrownValue$5) {
handleThrow(root, thrownValue$5);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -14864,8 +14878,8 @@ __DEV__ &&
? workLoopSync()
: workLoopConcurrentByScheduler();
break;
} catch (thrownValue$5) {
handleThrow(root, thrownValue$5);
} catch (thrownValue$6) {
handleThrow(root, thrownValue$6);
}
while (1);
resetContextDependencies();
@@ -16415,7 +16429,7 @@ __DEV__ &&
try {
testStringCoercion(key);
var JSCompiler_inline_result = !1;
} catch (e$6) {
} catch (e$7) {
JSCompiler_inline_result = !0;
}
JSCompiler_inline_result &&
@@ -19570,11 +19584,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-dffacc7b-20250717" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-e9638c33-20250721" !== 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-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -19600,10 +19614,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<7ffc1188d7250ea9617f00f83160323d>>
* @generated SignedSource<<4dcffb8e8ed9ca9542e6e36bb20f9a5d>>
*/
"use strict";
@@ -75,16 +75,16 @@ function describeNativeComponentFrame(fn, construct) {
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
} catch (x$2) {
control = x$2;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
@@ -1239,7 +1239,7 @@ eventPluginOrder = Array.prototype.slice.call([
"ReactNativeBridgeEventPlugin"
]);
recomputePluginOrdering();
var injectedNamesToPlugins$jscomp$inline_285 = {
var injectedNamesToPlugins$jscomp$inline_286 = {
ResponderEventPlugin: ResponderEventPlugin,
ReactNativeBridgeEventPlugin: {
eventTypes: {},
@@ -1285,32 +1285,32 @@ var injectedNamesToPlugins$jscomp$inline_285 = {
}
}
},
isOrderingDirty$jscomp$inline_286 = !1,
pluginName$jscomp$inline_287;
for (pluginName$jscomp$inline_287 in injectedNamesToPlugins$jscomp$inline_285)
isOrderingDirty$jscomp$inline_287 = !1,
pluginName$jscomp$inline_288;
for (pluginName$jscomp$inline_288 in injectedNamesToPlugins$jscomp$inline_286)
if (
injectedNamesToPlugins$jscomp$inline_285.hasOwnProperty(
pluginName$jscomp$inline_287
injectedNamesToPlugins$jscomp$inline_286.hasOwnProperty(
pluginName$jscomp$inline_288
)
) {
var pluginModule$jscomp$inline_288 =
injectedNamesToPlugins$jscomp$inline_285[pluginName$jscomp$inline_287];
var pluginModule$jscomp$inline_289 =
injectedNamesToPlugins$jscomp$inline_286[pluginName$jscomp$inline_288];
if (
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_287) ||
namesToPlugins[pluginName$jscomp$inline_287] !==
pluginModule$jscomp$inline_288
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_288) ||
namesToPlugins[pluginName$jscomp$inline_288] !==
pluginModule$jscomp$inline_289
) {
if (namesToPlugins[pluginName$jscomp$inline_287])
if (namesToPlugins[pluginName$jscomp$inline_288])
throw Error(
"EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
(pluginName$jscomp$inline_287 + "`.")
(pluginName$jscomp$inline_288 + "`.")
);
namesToPlugins[pluginName$jscomp$inline_287] =
pluginModule$jscomp$inline_288;
isOrderingDirty$jscomp$inline_286 = !0;
namesToPlugins[pluginName$jscomp$inline_288] =
pluginModule$jscomp$inline_289;
isOrderingDirty$jscomp$inline_287 = !0;
}
}
isOrderingDirty$jscomp$inline_286 && recomputePluginOrdering();
isOrderingDirty$jscomp$inline_287 && recomputePluginOrdering();
var instanceCache = new Map(),
instanceProps = new Map();
function getInstanceFromTag(tag) {
@@ -1407,13 +1407,13 @@ ReactNativePrivateInterface.RCTEventEmitter.register({
) {
var JSCompiler_temp = [];
for (var i = 0; i < changedIndices.length; i++) {
var index$4 = changedIndices[i];
JSCompiler_temp.push(touches[index$4]);
touches[index$4] = null;
var index$5 = changedIndices[i];
JSCompiler_temp.push(touches[index$5]);
touches[index$5] = null;
}
for (i = changedIndices = 0; i < touches.length; i++)
(index$4 = touches[i]),
null !== index$4 && (touches[changedIndices++] = index$4);
(index$5 = touches[i]),
null !== index$5 && (touches[changedIndices++] = index$5);
touches.length = changedIndices;
} else
for (JSCompiler_temp = [], i = 0; i < changedIndices.length; i++)
@@ -1426,10 +1426,10 @@ ReactNativePrivateInterface.RCTEventEmitter.register({
i = JSCompiler_temp[changedIndices];
i.changedTouches = JSCompiler_temp;
i.touches = touches;
index$4 = null;
index$5 = null;
var target = i.target;
null === target || void 0 === target || 1 > target || (index$4 = target);
_receiveRootNodeIDEvent(index$4, eventTopLevelType, i);
null === target || void 0 === target || 1 > target || (index$5 = target);
_receiveRootNodeIDEvent(index$5, eventTopLevelType, i);
}
}
});
@@ -1504,36 +1504,36 @@ function findCurrentFiberUsingSlowPath(fiber) {
}
if (a.return !== b.return) (a = parentA), (b = parentB);
else {
for (var didFindChild = !1, child$5 = parentA.child; child$5; ) {
if (child$5 === a) {
for (var didFindChild = !1, child$6 = parentA.child; child$6; ) {
if (child$6 === a) {
didFindChild = !0;
a = parentA;
b = parentB;
break;
}
if (child$5 === b) {
if (child$6 === b) {
didFindChild = !0;
b = parentA;
a = parentB;
break;
}
child$5 = child$5.sibling;
child$6 = child$6.sibling;
}
if (!didFindChild) {
for (child$5 = parentB.child; child$5; ) {
if (child$5 === a) {
for (child$6 = parentB.child; child$6; ) {
if (child$6 === a) {
didFindChild = !0;
a = parentB;
b = parentA;
break;
}
if (child$5 === b) {
if (child$6 === b) {
didFindChild = !0;
b = parentB;
a = parentA;
break;
}
child$5 = child$5.sibling;
child$6 = child$6.sibling;
}
if (!didFindChild)
throw Error(
@@ -1763,19 +1763,19 @@ function diffProperties(updatePayload, prevProps, nextProps, validAttributes) {
),
(removedKeys = null));
}
for (var propKey$7 in prevProps)
void 0 === nextProps[propKey$7] &&
(!(attributeConfig = validAttributes[propKey$7]) ||
(updatePayload && void 0 !== updatePayload[propKey$7]) ||
((prevProp = prevProps[propKey$7]),
for (var propKey$8 in prevProps)
void 0 === nextProps[propKey$8] &&
(!(attributeConfig = validAttributes[propKey$8]) ||
(updatePayload && void 0 !== updatePayload[propKey$8]) ||
((prevProp = prevProps[propKey$8]),
void 0 !== prevProp &&
("object" !== typeof attributeConfig ||
"function" === typeof attributeConfig.diff ||
"function" === typeof attributeConfig.process
? (((updatePayload || (updatePayload = {}))[propKey$7] = null),
? (((updatePayload || (updatePayload = {}))[propKey$8] = null),
removedKeys || (removedKeys = {}),
removedKeys[propKey$7] ||
((removedKeys[propKey$7] = !0), removedKeyCount++))
removedKeys[propKey$8] ||
((removedKeys[propKey$8] = !0), removedKeyCount++))
: (updatePayload = clearNestedProperty(
updatePayload,
prevProp,
@@ -2066,18 +2066,18 @@ function markRootFinished(
0 < remainingLanes;
) {
var index$12 = 31 - clz32(remainingLanes),
lane = 1 << index$12;
entanglements[index$12] = 0;
expirationTimes[index$12] = -1;
var hiddenUpdatesForLane = hiddenUpdates[index$12];
var index$13 = 31 - clz32(remainingLanes),
lane = 1 << index$13;
entanglements[index$13] = 0;
expirationTimes[index$13] = -1;
var hiddenUpdatesForLane = hiddenUpdates[index$13];
if (null !== hiddenUpdatesForLane)
for (
hiddenUpdates[index$12] = null, index$12 = 0;
index$12 < hiddenUpdatesForLane.length;
index$12++
hiddenUpdates[index$13] = null, index$13 = 0;
index$13 < hiddenUpdatesForLane.length;
index$13++
) {
var update = hiddenUpdatesForLane[index$12];
var update = hiddenUpdatesForLane[index$13];
null !== update && (update.lane &= -536870913);
}
remainingLanes &= ~lane;
@@ -2101,10 +2101,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
function markRootEntangled(root, entangledLanes) {
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
for (root = root.entanglements; rootEntangledLanes; ) {
var index$13 = 31 - clz32(rootEntangledLanes),
lane = 1 << index$13;
(lane & entangledLanes) | (root[index$13] & entangledLanes) &&
(root[index$13] |= entangledLanes);
var index$14 = 31 - clz32(rootEntangledLanes),
lane = 1 << index$14;
(lane & entangledLanes) | (root[index$14] & entangledLanes) &&
(root[index$14] |= entangledLanes);
rootEntangledLanes &= ~lane;
}
}
@@ -2216,9 +2216,23 @@ function finalizeInitialChildren(parentInstance) {
return !1;
}
function getPublicInstance(instance) {
return null != instance.canonical && null != instance.canonical.publicInstance
? instance.canonical.publicInstance
: instance;
if (null != instance.canonical) {
if (null == instance.canonical.publicInstance) {
var $jscomp$nullish$tmp0;
instance.canonical.publicInstance =
ReactNativePrivateInterface.createPublicInstance(
instance.canonical.nativeTag,
instance.canonical.viewConfig,
instance.canonical.internalInstanceHandle,
null != ($jscomp$nullish$tmp0 = instance.canonical.publicRootInstance)
? $jscomp$nullish$tmp0
: null
);
instance.canonical.publicRootInstance = null;
}
return instance.canonical.publicInstance;
}
return instance;
}
var scheduleTimeout = setTimeout,
cancelTimeout = clearTimeout,
@@ -2744,12 +2758,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
0 < lanes;
) {
var index$10 = 31 - clz32(lanes),
lane = 1 << index$10,
expirationTime = expirationTimes[index$10];
var index$11 = 31 - clz32(lanes),
lane = 1 << index$11,
expirationTime = expirationTimes[index$11];
if (-1 === expirationTime) {
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
expirationTimes[index$10] = computeExpirationTime(lane, currentTime);
expirationTimes[index$11] = computeExpirationTime(lane, currentTime);
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
lanes &= ~lane;
}
@@ -4445,7 +4459,7 @@ function updateReducerImpl(hook, current, reducer) {
var newBaseQueueFirst = (baseFirst = null),
newBaseQueueLast = null,
update = current,
didReadFromEntangledAsyncAction$49 = !1;
didReadFromEntangledAsyncAction$50 = !1;
do {
var updateLane = update.lane & -536870913;
if (
@@ -4467,11 +4481,11 @@ function updateReducerImpl(hook, current, reducer) {
next: null
}),
updateLane === currentEntangledLane &&
(didReadFromEntangledAsyncAction$49 = !0);
(didReadFromEntangledAsyncAction$50 = !0);
else if ((renderLanes & revertLane) === revertLane) {
update = update.next;
revertLane === currentEntangledLane &&
(didReadFromEntangledAsyncAction$49 = !0);
(didReadFromEntangledAsyncAction$50 = !0);
continue;
} else
(updateLane = {
@@ -4519,7 +4533,7 @@ function updateReducerImpl(hook, current, reducer) {
if (
!objectIs(pendingQueue, hook.memoizedState) &&
((didReceiveUpdate = !0),
didReadFromEntangledAsyncAction$49 &&
didReadFromEntangledAsyncAction$50 &&
((reducer = currentEntangledActionThenable), null !== reducer))
)
throw reducer;
@@ -4720,8 +4734,8 @@ function runActionStateAction(actionQueue, node) {
try {
(prevTransition = action(prevState, payload)),
handleActionReturnValue(actionQueue, node, prevTransition);
} catch (error$53) {
onActionError(actionQueue, node, error$53);
} catch (error$54) {
onActionError(actionQueue, node, error$54);
}
}
function handleActionReturnValue(actionQueue, node, returnValue) {
@@ -5622,9 +5636,9 @@ function resolveClassComponentProps(Component, baseProps) {
}
if ((Component = Component.defaultProps)) {
newProps === baseProps && (newProps = assign({}, newProps));
for (var propName$55 in Component)
void 0 === newProps[propName$55] &&
(newProps[propName$55] = Component[propName$55]);
for (var propName$56 in Component)
void 0 === newProps[propName$56] &&
(newProps[propName$56] = Component[propName$56]);
}
return newProps;
}
@@ -6950,9 +6964,9 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
);
break;
case 13:
var state$76 = workInProgress.memoizedState;
if (null !== state$76) {
if (null !== state$76.dehydrated)
var state$77 = workInProgress.memoizedState;
if (null !== state$77) {
if (null !== state$77.dehydrated)
return (
pushPrimaryTreeSuspenseHandler(workInProgress),
(workInProgress.flags |= 128),
@@ -6972,17 +6986,17 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
break;
case 19:
var didSuspendBefore = 0 !== (current.flags & 128);
state$76 = 0 !== (renderLanes & workInProgress.childLanes);
state$76 ||
state$77 = 0 !== (renderLanes & workInProgress.childLanes);
state$77 ||
(propagateParentContextChanges(
current,
workInProgress,
renderLanes,
!1
),
(state$76 = 0 !== (renderLanes & workInProgress.childLanes)));
(state$77 = 0 !== (renderLanes & workInProgress.childLanes)));
if (didSuspendBefore) {
if (state$76)
if (state$77)
return updateSuspenseListComponent(
current,
workInProgress,
@@ -6996,7 +7010,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
(didSuspendBefore.tail = null),
(didSuspendBefore.lastEffect = null));
push(suspenseStackCursor, suspenseStackCursor.current);
if (state$76) break;
if (state$77) break;
else return null;
case 22:
return (
@@ -7473,14 +7487,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
break;
case "collapsed":
lastTailNode = renderState.tail;
for (var lastTailNode$86 = null; null !== lastTailNode; )
null !== lastTailNode.alternate && (lastTailNode$86 = lastTailNode),
for (var lastTailNode$87 = null; null !== lastTailNode; )
null !== lastTailNode.alternate && (lastTailNode$87 = lastTailNode),
(lastTailNode = lastTailNode.sibling);
null === lastTailNode$86
null === lastTailNode$87
? hasRenderedATailFallback || null === renderState.tail
? (renderState.tail = null)
: (renderState.tail.sibling = null)
: (lastTailNode$86.sibling = null);
: (lastTailNode$87.sibling = null);
}
}
function bubbleProperties(completedWork) {
@@ -7490,19 +7504,19 @@ function bubbleProperties(completedWork) {
newChildLanes = 0,
subtreeFlags = 0;
if (didBailout)
for (var child$87 = completedWork.child; null !== child$87; )
(newChildLanes |= child$87.lanes | child$87.childLanes),
(subtreeFlags |= child$87.subtreeFlags & 65011712),
(subtreeFlags |= child$87.flags & 65011712),
(child$87.return = completedWork),
(child$87 = child$87.sibling);
for (var child$88 = completedWork.child; null !== child$88; )
(newChildLanes |= child$88.lanes | child$88.childLanes),
(subtreeFlags |= child$88.subtreeFlags & 65011712),
(subtreeFlags |= child$88.flags & 65011712),
(child$88.return = completedWork),
(child$88 = child$88.sibling);
else
for (child$87 = completedWork.child; null !== child$87; )
(newChildLanes |= child$87.lanes | child$87.childLanes),
(subtreeFlags |= child$87.subtreeFlags),
(subtreeFlags |= child$87.flags),
(child$87.return = completedWork),
(child$87 = child$87.sibling);
for (child$88 = completedWork.child; null !== child$88; )
(newChildLanes |= child$88.lanes | child$88.childLanes),
(subtreeFlags |= child$88.subtreeFlags),
(subtreeFlags |= child$88.flags),
(child$88.return = completedWork),
(child$88 = child$88.sibling);
completedWork.subtreeFlags |= subtreeFlags;
completedWork.childLanes = newChildLanes;
return didBailout;
@@ -8017,9 +8031,9 @@ function commitHookEffectListMount(flags, finishedWork) {
do {
if ((updateQueue.tag & flags) === flags) {
lastEffect = void 0;
var create$113 = updateQueue.create,
var create$114 = updateQueue.create,
inst = updateQueue.inst;
lastEffect = create$113();
lastEffect = create$114();
inst.destroy = lastEffect;
}
updateQueue = updateQueue.next;
@@ -8141,8 +8155,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
else if ("function" === typeof ref)
try {
ref(null);
} catch (error$115) {
captureCommitPhaseError(current, nearestMountedAncestor, error$115);
} catch (error$116) {
captureCommitPhaseError(current, nearestMountedAncestor, error$116);
}
else ref.current = null;
}
@@ -8351,11 +8365,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
current,
finishedRoot.__reactInternalSnapshotBeforeUpdate
);
} catch (error$114) {
} catch (error$115) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$114
error$115
);
}
}
@@ -9048,12 +9062,12 @@ function commitReconciliationEffects(finishedWork) {
break;
case 3:
case 4:
var parent$116 = hostParentFiber.stateNode.containerInfo,
before$117 = getHostSibling(finishedWork);
var parent$117 = hostParentFiber.stateNode.containerInfo,
before$118 = getHostSibling(finishedWork);
insertOrAppendPlacementNodeIntoContainer(
finishedWork,
before$117,
parent$116
before$118,
parent$117
);
break;
default:
@@ -10049,9 +10063,9 @@ function markRootSuspended(
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$11 = 31 - clz32(lanes),
lane = 1 << index$11;
didAttemptEntireTree[index$11] = -1;
var index$12 = 31 - clz32(lanes),
lane = 1 << index$12;
didAttemptEntireTree[index$12] = -1;
lanes &= ~lane;
}
0 !== spawnedLane &&
@@ -10108,9 +10122,9 @@ function prepareFreshStack(root, lanes) {
0 < allEntangledLanes;
) {
var index$9 = 31 - clz32(allEntangledLanes),
lane = 1 << index$9;
lanes |= root[index$9];
var index$10 = 31 - clz32(allEntangledLanes),
lane = 1 << index$10;
lanes |= root[index$10];
allEntangledLanes &= ~lane;
}
entangledRenderLanes = lanes;
@@ -10215,8 +10229,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workLoopSync();
exitStatus = workInProgressRootExitStatus;
break;
} catch (thrownValue$132) {
handleThrow(root, thrownValue$132);
} catch (thrownValue$133) {
handleThrow(root, thrownValue$133);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -10331,8 +10345,8 @@ function renderRootConcurrent(root, lanes) {
}
workLoopConcurrentByScheduler();
break;
} catch (thrownValue$134) {
handleThrow(root, thrownValue$134);
} catch (thrownValue$135) {
handleThrow(root, thrownValue$135);
}
while (1);
lastContextDependency = currentlyRenderingFiber$1 = null;
@@ -11223,11 +11237,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-dffacc7b-20250717" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-e9638c33-20250721" !== 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-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11275,26 +11289,26 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1294 = {
internals$jscomp$inline_1295 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1294.rendererConfig = extraDevToolsConfig);
(internals$jscomp$inline_1295.rendererConfig = extraDevToolsConfig);
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1640 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1641 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1640.isDisabled &&
hook$jscomp$inline_1640.supportsFiber
!hook$jscomp$inline_1641.isDisabled &&
hook$jscomp$inline_1641.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1640.inject(
internals$jscomp$inline_1294
(rendererID = hook$jscomp$inline_1641.inject(
internals$jscomp$inline_1295
)),
(injectedHook = hook$jscomp$inline_1640);
(injectedHook = hook$jscomp$inline_1641);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<9183c7676d6ee025731baa823d1670e9>>
* @generated SignedSource<<cced89845729564aa251be7d63550491>>
*/
"use strict";
@@ -81,16 +81,16 @@ function describeNativeComponentFrame(fn, construct) {
} else {
try {
Fake.call();
} catch (x$0) {
control = x$0;
} catch (x$1) {
control = x$1;
}
fn.call(Fake.prototype);
}
} else {
try {
throw Error();
} catch (x$1) {
control = x$1;
} catch (x$2) {
control = x$2;
}
(Fake = fn()) &&
"function" === typeof Fake.catch &&
@@ -1245,7 +1245,7 @@ eventPluginOrder = Array.prototype.slice.call([
"ReactNativeBridgeEventPlugin"
]);
recomputePluginOrdering();
var injectedNamesToPlugins$jscomp$inline_322 = {
var injectedNamesToPlugins$jscomp$inline_323 = {
ResponderEventPlugin: ResponderEventPlugin,
ReactNativeBridgeEventPlugin: {
eventTypes: {},
@@ -1291,32 +1291,32 @@ var injectedNamesToPlugins$jscomp$inline_322 = {
}
}
},
isOrderingDirty$jscomp$inline_323 = !1,
pluginName$jscomp$inline_324;
for (pluginName$jscomp$inline_324 in injectedNamesToPlugins$jscomp$inline_322)
isOrderingDirty$jscomp$inline_324 = !1,
pluginName$jscomp$inline_325;
for (pluginName$jscomp$inline_325 in injectedNamesToPlugins$jscomp$inline_323)
if (
injectedNamesToPlugins$jscomp$inline_322.hasOwnProperty(
pluginName$jscomp$inline_324
injectedNamesToPlugins$jscomp$inline_323.hasOwnProperty(
pluginName$jscomp$inline_325
)
) {
var pluginModule$jscomp$inline_325 =
injectedNamesToPlugins$jscomp$inline_322[pluginName$jscomp$inline_324];
var pluginModule$jscomp$inline_326 =
injectedNamesToPlugins$jscomp$inline_323[pluginName$jscomp$inline_325];
if (
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_324) ||
namesToPlugins[pluginName$jscomp$inline_324] !==
pluginModule$jscomp$inline_325
!namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_325) ||
namesToPlugins[pluginName$jscomp$inline_325] !==
pluginModule$jscomp$inline_326
) {
if (namesToPlugins[pluginName$jscomp$inline_324])
if (namesToPlugins[pluginName$jscomp$inline_325])
throw Error(
"EventPluginRegistry: Cannot inject two different event plugins using the same name, `" +
(pluginName$jscomp$inline_324 + "`.")
(pluginName$jscomp$inline_325 + "`.")
);
namesToPlugins[pluginName$jscomp$inline_324] =
pluginModule$jscomp$inline_325;
isOrderingDirty$jscomp$inline_323 = !0;
namesToPlugins[pluginName$jscomp$inline_325] =
pluginModule$jscomp$inline_326;
isOrderingDirty$jscomp$inline_324 = !0;
}
}
isOrderingDirty$jscomp$inline_323 && recomputePluginOrdering();
isOrderingDirty$jscomp$inline_324 && recomputePluginOrdering();
var instanceCache = new Map(),
instanceProps = new Map();
function getInstanceFromTag(tag) {
@@ -1413,13 +1413,13 @@ ReactNativePrivateInterface.RCTEventEmitter.register({
) {
var JSCompiler_temp = [];
for (var i = 0; i < changedIndices.length; i++) {
var index$4 = changedIndices[i];
JSCompiler_temp.push(touches[index$4]);
touches[index$4] = null;
var index$5 = changedIndices[i];
JSCompiler_temp.push(touches[index$5]);
touches[index$5] = null;
}
for (i = changedIndices = 0; i < touches.length; i++)
(index$4 = touches[i]),
null !== index$4 && (touches[changedIndices++] = index$4);
(index$5 = touches[i]),
null !== index$5 && (touches[changedIndices++] = index$5);
touches.length = changedIndices;
} else
for (JSCompiler_temp = [], i = 0; i < changedIndices.length; i++)
@@ -1432,10 +1432,10 @@ ReactNativePrivateInterface.RCTEventEmitter.register({
i = JSCompiler_temp[changedIndices];
i.changedTouches = JSCompiler_temp;
i.touches = touches;
index$4 = null;
index$5 = null;
var target = i.target;
null === target || void 0 === target || 1 > target || (index$4 = target);
_receiveRootNodeIDEvent(index$4, eventTopLevelType, i);
null === target || void 0 === target || 1 > target || (index$5 = target);
_receiveRootNodeIDEvent(index$5, eventTopLevelType, i);
}
}
});
@@ -1510,36 +1510,36 @@ function findCurrentFiberUsingSlowPath(fiber) {
}
if (a.return !== b.return) (a = parentA), (b = parentB);
else {
for (var didFindChild = !1, child$5 = parentA.child; child$5; ) {
if (child$5 === a) {
for (var didFindChild = !1, child$6 = parentA.child; child$6; ) {
if (child$6 === a) {
didFindChild = !0;
a = parentA;
b = parentB;
break;
}
if (child$5 === b) {
if (child$6 === b) {
didFindChild = !0;
b = parentA;
a = parentB;
break;
}
child$5 = child$5.sibling;
child$6 = child$6.sibling;
}
if (!didFindChild) {
for (child$5 = parentB.child; child$5; ) {
if (child$5 === a) {
for (child$6 = parentB.child; child$6; ) {
if (child$6 === a) {
didFindChild = !0;
a = parentB;
b = parentA;
break;
}
if (child$5 === b) {
if (child$6 === b) {
didFindChild = !0;
b = parentB;
a = parentA;
break;
}
child$5 = child$5.sibling;
child$6 = child$6.sibling;
}
if (!didFindChild)
throw Error(
@@ -1769,19 +1769,19 @@ function diffProperties(updatePayload, prevProps, nextProps, validAttributes) {
),
(removedKeys = null));
}
for (var propKey$7 in prevProps)
void 0 === nextProps[propKey$7] &&
(!(attributeConfig = validAttributes[propKey$7]) ||
(updatePayload && void 0 !== updatePayload[propKey$7]) ||
((prevProp = prevProps[propKey$7]),
for (var propKey$8 in prevProps)
void 0 === nextProps[propKey$8] &&
(!(attributeConfig = validAttributes[propKey$8]) ||
(updatePayload && void 0 !== updatePayload[propKey$8]) ||
((prevProp = prevProps[propKey$8]),
void 0 !== prevProp &&
("object" !== typeof attributeConfig ||
"function" === typeof attributeConfig.diff ||
"function" === typeof attributeConfig.process
? (((updatePayload || (updatePayload = {}))[propKey$7] = null),
? (((updatePayload || (updatePayload = {}))[propKey$8] = null),
removedKeys || (removedKeys = {}),
removedKeys[propKey$7] ||
((removedKeys[propKey$7] = !0), removedKeyCount++))
removedKeys[propKey$8] ||
((removedKeys[propKey$8] = !0), removedKeyCount++))
: (updatePayload = clearNestedProperty(
updatePayload,
prevProp,
@@ -2120,18 +2120,18 @@ function markRootFinished(
0 < remainingLanes;
) {
var index$12 = 31 - clz32(remainingLanes),
lane = 1 << index$12;
entanglements[index$12] = 0;
expirationTimes[index$12] = -1;
var hiddenUpdatesForLane = hiddenUpdates[index$12];
var index$13 = 31 - clz32(remainingLanes),
lane = 1 << index$13;
entanglements[index$13] = 0;
expirationTimes[index$13] = -1;
var hiddenUpdatesForLane = hiddenUpdates[index$13];
if (null !== hiddenUpdatesForLane)
for (
hiddenUpdates[index$12] = null, index$12 = 0;
index$12 < hiddenUpdatesForLane.length;
index$12++
hiddenUpdates[index$13] = null, index$13 = 0;
index$13 < hiddenUpdatesForLane.length;
index$13++
) {
var update = hiddenUpdatesForLane[index$12];
var update = hiddenUpdatesForLane[index$13];
null !== update && (update.lane &= -536870913);
}
remainingLanes &= ~lane;
@@ -2155,10 +2155,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {
function markRootEntangled(root, entangledLanes) {
var rootEntangledLanes = (root.entangledLanes |= entangledLanes);
for (root = root.entanglements; rootEntangledLanes; ) {
var index$13 = 31 - clz32(rootEntangledLanes),
lane = 1 << index$13;
(lane & entangledLanes) | (root[index$13] & entangledLanes) &&
(root[index$13] |= entangledLanes);
var index$14 = 31 - clz32(rootEntangledLanes),
lane = 1 << index$14;
(lane & entangledLanes) | (root[index$14] & entangledLanes) &&
(root[index$14] |= entangledLanes);
rootEntangledLanes &= ~lane;
}
}
@@ -2209,9 +2209,9 @@ function getBumpedLaneForHydration(root, renderLanes) {
function addFiberToLanesMap(root, fiber, lanes) {
if (isDevToolsPresent)
for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
var index$14 = 31 - clz32(lanes),
lane = 1 << index$14;
root[index$14].add(fiber);
var index$15 = 31 - clz32(lanes),
lane = 1 << index$15;
root[index$15].add(fiber);
lanes &= ~lane;
}
}
@@ -2223,16 +2223,16 @@ function movePendingFibersToMemoized(root, lanes) {
0 < lanes;
) {
var index$15 = 31 - clz32(lanes);
root = 1 << index$15;
index$15 = pendingUpdatersLaneMap[index$15];
0 < index$15.size &&
(index$15.forEach(function (fiber) {
var index$16 = 31 - clz32(lanes);
root = 1 << index$16;
index$16 = pendingUpdatersLaneMap[index$16];
0 < index$16.size &&
(index$16.forEach(function (fiber) {
var alternate = fiber.alternate;
(null !== alternate && memoizedUpdaters.has(alternate)) ||
memoizedUpdaters.add(fiber);
}),
index$15.clear());
index$16.clear());
lanes &= ~root;
}
}
@@ -2300,9 +2300,23 @@ function finalizeInitialChildren(parentInstance) {
return !1;
}
function getPublicInstance(instance) {
return null != instance.canonical && null != instance.canonical.publicInstance
? instance.canonical.publicInstance
: instance;
if (null != instance.canonical) {
if (null == instance.canonical.publicInstance) {
var $jscomp$nullish$tmp0;
instance.canonical.publicInstance =
ReactNativePrivateInterface.createPublicInstance(
instance.canonical.nativeTag,
instance.canonical.viewConfig,
instance.canonical.internalInstanceHandle,
null != ($jscomp$nullish$tmp0 = instance.canonical.publicRootInstance)
? $jscomp$nullish$tmp0
: null
);
instance.canonical.publicRootInstance = null;
}
return instance.canonical.publicInstance;
}
return instance;
}
var scheduleTimeout = setTimeout,
cancelTimeout = clearTimeout,
@@ -3124,12 +3138,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) {
0 < lanes;
) {
var index$10 = 31 - clz32(lanes),
lane = 1 << index$10,
expirationTime = expirationTimes[index$10];
var index$11 = 31 - clz32(lanes),
lane = 1 << index$11,
expirationTime = expirationTimes[index$11];
if (-1 === expirationTime) {
if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))
expirationTimes[index$10] = computeExpirationTime(lane, currentTime);
expirationTimes[index$11] = computeExpirationTime(lane, currentTime);
} else expirationTime <= currentTime && (root.expiredLanes |= lane);
lanes &= ~lane;
}
@@ -4844,7 +4858,7 @@ function updateReducerImpl(hook, current, reducer) {
var newBaseQueueFirst = (baseFirst = null),
newBaseQueueLast = null,
update = current,
didReadFromEntangledAsyncAction$54 = !1;
didReadFromEntangledAsyncAction$55 = !1;
do {
var updateLane = update.lane & -536870913;
if (
@@ -4866,11 +4880,11 @@ function updateReducerImpl(hook, current, reducer) {
next: null
}),
updateLane === currentEntangledLane &&
(didReadFromEntangledAsyncAction$54 = !0);
(didReadFromEntangledAsyncAction$55 = !0);
else if ((renderLanes & revertLane) === revertLane) {
update = update.next;
revertLane === currentEntangledLane &&
(didReadFromEntangledAsyncAction$54 = !0);
(didReadFromEntangledAsyncAction$55 = !0);
continue;
} else
(updateLane = {
@@ -4918,7 +4932,7 @@ function updateReducerImpl(hook, current, reducer) {
if (
!objectIs(pendingQueue, hook.memoizedState) &&
((didReceiveUpdate = !0),
didReadFromEntangledAsyncAction$54 &&
didReadFromEntangledAsyncAction$55 &&
((reducer = currentEntangledActionThenable), null !== reducer))
)
throw reducer;
@@ -5120,8 +5134,8 @@ function runActionStateAction(actionQueue, node) {
try {
(prevTransition = action(prevState, payload)),
handleActionReturnValue(actionQueue, node, prevTransition);
} catch (error$58) {
onActionError(actionQueue, node, error$58);
} catch (error$59) {
onActionError(actionQueue, node, error$59);
}
}
function handleActionReturnValue(actionQueue, node, returnValue) {
@@ -6037,9 +6051,9 @@ function resolveClassComponentProps(Component, baseProps) {
}
if ((Component = Component.defaultProps)) {
newProps === baseProps && (newProps = assign({}, newProps));
for (var propName$60 in Component)
void 0 === newProps[propName$60] &&
(newProps[propName$60] = Component[propName$60]);
for (var propName$61 in Component)
void 0 === newProps[propName$61] &&
(newProps[propName$61] = Component[propName$61]);
}
return newProps;
}
@@ -7928,14 +7942,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
break;
case "collapsed":
lastTailNode = renderState.tail;
for (var lastTailNode$92 = null; null !== lastTailNode; )
null !== lastTailNode.alternate && (lastTailNode$92 = lastTailNode),
for (var lastTailNode$93 = null; null !== lastTailNode; )
null !== lastTailNode.alternate && (lastTailNode$93 = lastTailNode),
(lastTailNode = lastTailNode.sibling);
null === lastTailNode$92
null === lastTailNode$93
? hasRenderedATailFallback || null === renderState.tail
? (renderState.tail = null)
: (renderState.tail.sibling = null)
: (lastTailNode$92.sibling = null);
: (lastTailNode$93.sibling = null);
}
}
function bubbleProperties(completedWork) {
@@ -7947,53 +7961,53 @@ function bubbleProperties(completedWork) {
if (didBailout)
if (0 !== (completedWork.mode & 2)) {
for (
var treeBaseDuration$94 = completedWork.selfBaseDuration,
child$95 = completedWork.child;
null !== child$95;
var treeBaseDuration$95 = completedWork.selfBaseDuration,
child$96 = completedWork.child;
null !== child$96;
)
(newChildLanes |= child$95.lanes | child$95.childLanes),
(subtreeFlags |= child$95.subtreeFlags & 65011712),
(subtreeFlags |= child$95.flags & 65011712),
(treeBaseDuration$94 += child$95.treeBaseDuration),
(child$95 = child$95.sibling);
completedWork.treeBaseDuration = treeBaseDuration$94;
(newChildLanes |= child$96.lanes | child$96.childLanes),
(subtreeFlags |= child$96.subtreeFlags & 65011712),
(subtreeFlags |= child$96.flags & 65011712),
(treeBaseDuration$95 += child$96.treeBaseDuration),
(child$96 = child$96.sibling);
completedWork.treeBaseDuration = treeBaseDuration$95;
} else
for (
treeBaseDuration$94 = completedWork.child;
null !== treeBaseDuration$94;
treeBaseDuration$95 = completedWork.child;
null !== treeBaseDuration$95;
)
(newChildLanes |=
treeBaseDuration$94.lanes | treeBaseDuration$94.childLanes),
(subtreeFlags |= treeBaseDuration$94.subtreeFlags & 65011712),
(subtreeFlags |= treeBaseDuration$94.flags & 65011712),
(treeBaseDuration$94.return = completedWork),
(treeBaseDuration$94 = treeBaseDuration$94.sibling);
treeBaseDuration$95.lanes | treeBaseDuration$95.childLanes),
(subtreeFlags |= treeBaseDuration$95.subtreeFlags & 65011712),
(subtreeFlags |= treeBaseDuration$95.flags & 65011712),
(treeBaseDuration$95.return = completedWork),
(treeBaseDuration$95 = treeBaseDuration$95.sibling);
else if (0 !== (completedWork.mode & 2)) {
treeBaseDuration$94 = completedWork.actualDuration;
child$95 = completedWork.selfBaseDuration;
treeBaseDuration$95 = completedWork.actualDuration;
child$96 = completedWork.selfBaseDuration;
for (var child = completedWork.child; null !== child; )
(newChildLanes |= child.lanes | child.childLanes),
(subtreeFlags |= child.subtreeFlags),
(subtreeFlags |= child.flags),
(treeBaseDuration$94 += child.actualDuration),
(child$95 += child.treeBaseDuration),
(treeBaseDuration$95 += child.actualDuration),
(child$96 += child.treeBaseDuration),
(child = child.sibling);
completedWork.actualDuration = treeBaseDuration$94;
completedWork.treeBaseDuration = child$95;
completedWork.actualDuration = treeBaseDuration$95;
completedWork.treeBaseDuration = child$96;
} else
for (
treeBaseDuration$94 = completedWork.child;
null !== treeBaseDuration$94;
treeBaseDuration$95 = completedWork.child;
null !== treeBaseDuration$95;
)
(newChildLanes |=
treeBaseDuration$94.lanes | treeBaseDuration$94.childLanes),
(subtreeFlags |= treeBaseDuration$94.subtreeFlags),
(subtreeFlags |= treeBaseDuration$94.flags),
(treeBaseDuration$94.return = completedWork),
(treeBaseDuration$94 = treeBaseDuration$94.sibling);
treeBaseDuration$95.lanes | treeBaseDuration$95.childLanes),
(subtreeFlags |= treeBaseDuration$95.subtreeFlags),
(subtreeFlags |= treeBaseDuration$95.flags),
(treeBaseDuration$95.return = completedWork),
(treeBaseDuration$95 = treeBaseDuration$95.sibling);
completedWork.subtreeFlags |= subtreeFlags;
completedWork.childLanes = newChildLanes;
return didBailout;
@@ -8584,9 +8598,9 @@ function commitHookEffectListMount(flags, finishedWork) {
finishedWork
);
lastEffect = void 0;
var create$126 = updateQueue.create,
var create$127 = updateQueue.create,
inst = updateQueue.inst;
lastEffect = create$126();
lastEffect = create$127();
inst.destroy = lastEffect;
0 !== (flags & 8)
? null !== injectedProfilingHooks &&
@@ -8726,8 +8740,8 @@ function safelyCallComponentWillUnmount(
} else
try {
instance.componentWillUnmount();
} catch (error$130) {
captureCommitPhaseError(current, nearestMountedAncestor, error$130);
} catch (error$131) {
captureCommitPhaseError(current, nearestMountedAncestor, error$131);
}
}
function safelyAttachRef(current, nearestMountedAncestor) {
@@ -8795,8 +8809,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
recordEffectDuration(current);
}
else ref(null);
} catch (error$131) {
captureCommitPhaseError(current, nearestMountedAncestor, error$131);
} catch (error$132) {
captureCommitPhaseError(current, nearestMountedAncestor, error$132);
}
else ref.current = null;
}
@@ -9046,11 +9060,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
} else
try {
finishedRoot.componentDidMount();
} catch (error$127) {
} catch (error$128) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$127
error$128
);
}
else {
@@ -9067,11 +9081,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
current,
finishedRoot.__reactInternalSnapshotBeforeUpdate
);
} catch (error$128) {
} catch (error$129) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$128
error$129
);
}
recordEffectDuration();
@@ -9082,11 +9096,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
current,
finishedRoot.__reactInternalSnapshotBeforeUpdate
);
} catch (error$129) {
} catch (error$130) {
captureCommitPhaseError(
finishedWork,
finishedWork.return,
error$129
error$130
);
}
}
@@ -9921,12 +9935,12 @@ function commitReconciliationEffects(finishedWork) {
break;
case 3:
case 4:
var parent$132 = hostParentFiber.stateNode.containerInfo,
before$133 = getHostSibling(finishedWork);
var parent$133 = hostParentFiber.stateNode.containerInfo,
before$134 = getHostSibling(finishedWork);
insertOrAppendPlacementNodeIntoContainer(
finishedWork,
before$133,
parent$132
before$134,
parent$133
);
break;
default:
@@ -11476,9 +11490,9 @@ function markRootSuspended(
didAttemptEntireTree && (root.warmLanes |= suspendedLanes);
didAttemptEntireTree = root.expirationTimes;
for (var lanes = suspendedLanes; 0 < lanes; ) {
var index$11 = 31 - clz32(lanes),
lane = 1 << index$11;
didAttemptEntireTree[index$11] = -1;
var index$12 = 31 - clz32(lanes),
lane = 1 << index$12;
didAttemptEntireTree[index$12] = -1;
lanes &= ~lane;
}
0 !== spawnedLane &&
@@ -11891,8 +11905,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
workLoopSync();
memoizedUpdaters = workInProgressRootExitStatus;
break;
} catch (thrownValue$167) {
handleThrow(root, thrownValue$167);
} catch (thrownValue$168) {
handleThrow(root, thrownValue$168);
}
while (1);
lanes && root.shellSuspendCounter++;
@@ -12015,8 +12029,8 @@ function renderRootConcurrent(root, lanes) {
}
workLoopConcurrentByScheduler();
break;
} catch (thrownValue$169) {
handleThrow(root, thrownValue$169);
} catch (thrownValue$170) {
handleThrow(root, thrownValue$170);
}
while (1);
lastContextDependency = currentlyRenderingFiber$1 = null;
@@ -13141,11 +13155,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-native-fb-dffacc7b-20250717" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-e9638c33-20250721" !== 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-dffacc7b-20250717\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-e9638c33-20250721\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -13193,20 +13207,20 @@ batchedUpdatesImpl = function (fn, a) {
}
};
var roots = new Map(),
internals$jscomp$inline_1529 = {
internals$jscomp$inline_1530 = {
bundleType: 0,
version: "19.2.0-native-fb-dffacc7b-20250717",
version: "19.2.0-native-fb-e9638c33-20250721",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-native-fb-dffacc7b-20250717"
reconcilerVersion: "19.2.0-native-fb-e9638c33-20250721"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1529.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1529.getLaneLabelMap = function () {
(internals$jscomp$inline_1530.rendererConfig = extraDevToolsConfig);
internals$jscomp$inline_1530.getLaneLabelMap = function () {
for (
var map = new Map(), lane = 1, index$171 = 0;
31 > index$171;
index$171++
var map = new Map(), lane = 1, index$172 = 0;
31 > index$172;
index$172++
) {
var label = getLabelForLane(lane);
map.set(lane, label);
@@ -13214,20 +13228,20 @@ internals$jscomp$inline_1529.getLaneLabelMap = function () {
}
return map;
};
internals$jscomp$inline_1529.injectProfilingHooks = function (profilingHooks) {
internals$jscomp$inline_1530.injectProfilingHooks = function (profilingHooks) {
injectedProfilingHooks = profilingHooks;
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1877 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_1878 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_1877.isDisabled &&
hook$jscomp$inline_1877.supportsFiber
!hook$jscomp$inline_1878.isDisabled &&
hook$jscomp$inline_1878.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_1877.inject(
internals$jscomp$inline_1529
(rendererID = hook$jscomp$inline_1878.inject(
internals$jscomp$inline_1530
)),
(injectedHook = hook$jscomp$inline_1877);
(injectedHook = hook$jscomp$inline_1878);
} catch (err) {}
}
exports.createPortal = function (children, containerTag) {
@@ -1,7 +1,7 @@
{
"name": "eslint-plugin-react-hooks",
"description": "ESLint rules for React Hooks",
"version": "0.0.0-experimental-dffacc7b-20250717",
"version": "0.0.0-experimental-e9638c33-20250721",
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",