Unify BatchConfigTransition and Transition types (#32783)

This is some overdue refactoring. The two types never made sense. It
also should be defined by isomorphic since it defines how it should be
used by renderers rather than isomorphic depending on Fiber.

Clean up hidden classes to be consistent.

Fix missing name due to wrong types. I choose not to invoke the
transition tracing callbacks if there's no name since the name is
required there.

DiffTrain build for [d3b8ff6e58](https://github.com/facebook/react/commit/d3b8ff6e589bcacfd1c9b0aa48c42fd1c93001c1)
This commit is contained in:
sebmarkbage
2025-03-31 17:05:59 -07:00
parent bea1002a4f
commit f8bbdb7c32
23 changed files with 97 additions and 97 deletions
+1 -1
View File
@@ -1 +1 @@
19.1.0-native-fb-3e88e97c-20250326
19.2.0-native-fb-d3b8ff6e-20250331
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<db9c75765616673e9845ff291260b3ae>>
* @generated SignedSource<<0b2a604115147ebfd46cdf3f70d610e5>>
*/
"use strict";
@@ -404,5 +404,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e48b1009e6908094eecaf6de6a2a9edc>>
* @generated SignedSource<<a2be8e1c7e509df719cda2bdebabb315>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<e48b1009e6908094eecaf6de6a2a9edc>>
* @generated SignedSource<<a2be8e1c7e509df719cda2bdebabb315>>
*/
"use strict";
@@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ebce9e19e842d772bf0a05c85178a4fd>>
* @generated SignedSource<<b6addb05b877ad7b9fa71336622ae1a2>>
*/
/*
@@ -7529,8 +7529,8 @@ __DEV__ &&
if (node.isTransition) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
ReactSharedInternals.T._updatedFibers = new Set();
try {
var returnValue = action(prevState, payload),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -7975,9 +7975,9 @@ __DEV__ &&
: ContinuousEventPriority;
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
dispatchOptimisticSetState(fiber, !1, queue, pendingState);
currentTransition._updatedFibers = new Set();
try {
var returnValue = callback(),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -25662,11 +25662,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-3e88e97c-20250326" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-d3b8ff6e-20250331" !== 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.1.0-native-fb-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-d3b8ff6e-20250331\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25703,10 +25703,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25850,5 +25850,5 @@ __DEV__ &&
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<70e7277a028acd3119e3b04998ef6ae8>>
* @generated SignedSource<<21c196e3cd9666820f22278b30cd9274>>
*/
/*
@@ -15977,14 +15977,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1796 = React.version;
if (
"19.1.0-native-fb-3e88e97c-20250326" !==
"19.2.0-native-fb-d3b8ff6e-20250331" !==
isomorphicReactPackageVersion$jscomp$inline_1796
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1796,
"19.1.0-native-fb-3e88e97c-20250326"
"19.2.0-native-fb-d3b8ff6e-20250331"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16006,10 +16006,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2246 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2247 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16113,4 +16113,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<f04c7d6f8a7267af7ea4146094f71f96>>
* @generated SignedSource<<f4a18faa84c1c0c89603931bae34990c>>
*/
/*
@@ -16625,14 +16625,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1891 = React.version;
if (
"19.1.0-native-fb-3e88e97c-20250326" !==
"19.2.0-native-fb-d3b8ff6e-20250331" !==
isomorphicReactPackageVersion$jscomp$inline_1891
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1891,
"19.1.0-native-fb-3e88e97c-20250326"
"19.2.0-native-fb-d3b8ff6e-20250331"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16654,10 +16654,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1898 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326",
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$293 = 0;
@@ -16776,4 +16776,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ccb30e12e6d23178ffb1becb0148d16e>>
* @generated SignedSource<<3e2c5f4460595ee4a091c56b058ea515>>
*/
/*
@@ -7537,8 +7537,8 @@ __DEV__ &&
if (node.isTransition) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
ReactSharedInternals.T._updatedFibers = new Set();
try {
var returnValue = action(prevState, payload),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -7983,9 +7983,9 @@ __DEV__ &&
: ContinuousEventPriority;
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
dispatchOptimisticSetState(fiber, !1, queue, pendingState);
currentTransition._updatedFibers = new Set();
try {
var returnValue = callback(),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -25723,11 +25723,11 @@ __DEV__ &&
};
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-3e88e97c-20250326" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-d3b8ff6e-20250331" !== 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.1.0-native-fb-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-native-fb-d3b8ff6e-20250331\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -25764,10 +25764,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -26227,7 +26227,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<dfd3954c07f6d4c64a3ed513d404ec18>>
* @generated SignedSource<<779935eb86fff04968aff853368c8358>>
*/
/*
@@ -15988,14 +15988,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1797 = React.version;
if (
"19.1.0-native-fb-3e88e97c-20250326" !==
"19.2.0-native-fb-d3b8ff6e-20250331" !==
isomorphicReactPackageVersion$jscomp$inline_1797
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1797,
"19.1.0-native-fb-3e88e97c-20250326"
"19.2.0-native-fb-d3b8ff6e-20250331"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16017,10 +16017,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_2249 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2250 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16278,4 +16278,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<22309419226dbb9e07b2f33470a0821a>>
* @generated SignedSource<<1f0189c7deb4ae56a41474f60c3f610c>>
*/
/*
@@ -16640,14 +16640,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
};
var isomorphicReactPackageVersion$jscomp$inline_1892 = React.version;
if (
"19.1.0-native-fb-3e88e97c-20250326" !==
"19.2.0-native-fb-d3b8ff6e-20250331" !==
isomorphicReactPackageVersion$jscomp$inline_1892
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1892,
"19.1.0-native-fb-3e88e97c-20250326"
"19.2.0-native-fb-d3b8ff6e-20250331"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -16669,10 +16669,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
};
var internals$jscomp$inline_1899 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326",
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$293 = 0;
@@ -16945,7 +16945,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5fde1ec13da735b8d4210d22a6ad2d9a>>
* @generated SignedSource<<6310f3ae42ecbff3dd65587410cc67f7>>
*/
"use strict";
@@ -4859,8 +4859,8 @@ __DEV__ &&
if (node.isTransition) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
ReactSharedInternals.T._updatedFibers = new Set();
try {
var returnValue = action(prevState, payload),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -5255,9 +5255,9 @@ __DEV__ &&
: ContinuousEventPriority;
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
dispatchOptimisticSetState(fiber, !1, queue, pendingState);
currentTransition._updatedFibers = new Set();
try {
var returnValue = callback(),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -15327,10 +15327,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15475,5 +15475,5 @@ __DEV__ &&
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
})();
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<98954cf7253bee5c2412a8ef16d6e401>>
* @generated SignedSource<<2a2fad59d25ffade45221a6354cef18a>>
*/
"use strict";
@@ -9692,10 +9692,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1412 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1413 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -9831,4 +9831,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<fd3af12b9381567fb5074588ad317087>>
* @generated SignedSource<<09b9a4c0a4248ce5704721dd7ef6af13>>
*/
"use strict";
@@ -10261,10 +10261,10 @@ function wrapFiber(fiber) {
}
var internals$jscomp$inline_1223 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326",
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331",
getLaneLabelMap: function () {
for (
var map = new Map(), lane = 1, index$148 = 0;
@@ -10415,4 +10415,4 @@ exports.unstable_batchedUpdates = function (fn, a) {
flushSyncWorkAcrossRoots_impl(0, !0));
}
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2a0b25ab78ada0a41a4ba1edcd604a3b>>
* @generated SignedSource<<323b618fffdceea37e1f28c4f10e0c43>>
*/
"use strict";
@@ -1274,8 +1274,8 @@ __DEV__ &&
exports.startTransition = function (scope) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
ReactSharedInternals.T = currentTransition;
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
try {
var returnValue = scope(),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -1405,7 +1405,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<8899b0e6c69adece2e47ad4666d8ded9>>
* @generated SignedSource<<52d7bdfa5ac37b90f8a3635f89046ba6>>
*/
"use strict";
@@ -590,4 +590,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<ed64f489937f3f107a5b04e6a6b97a1e>>
* @generated SignedSource<<c331233133117bb6686efc70f36c84f2>>
*/
"use strict";
@@ -594,7 +594,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.1.0-native-fb-3e88e97c-20250326";
exports.version = "19.2.0-native-fb-d3b8ff6e-20250331";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -1 +1 @@
3e88e97c116c7a1535976f2d4486bbf345476443
d3b8ff6e589bcacfd1c9b0aa48c42fd1c93001c1
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<d322a492141a9e41a39ca4579b41e682>>
* @generated SignedSource<<b7fa25f720096a963b87b1e389081fd2>>
*/
"use strict";
@@ -5754,8 +5754,8 @@ __DEV__ &&
if (node.isTransition) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
ReactSharedInternals.T._updatedFibers = new Set();
try {
var returnValue = action(prevState, payload),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -6150,9 +6150,9 @@ __DEV__ &&
: ContinuousEventPriority;
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
dispatchOptimisticSetState(fiber, !1, queue, pendingState);
currentTransition._updatedFibers = new Set();
try {
var returnValue = callback(),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -17056,10 +17056,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<18b095756d5d1cce61a4008a5a889eda>>
* @generated SignedSource<<cb67e43576d8a66040cba6b434a670d6>>
*/
"use strict";
@@ -10907,10 +10907,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1219 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1219.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<2052c7e8d3c44edafe9dbf715a96d0d1>>
* @generated SignedSource<<89078362642b45e64d01796e05c9b44f>>
*/
"use strict";
@@ -11558,10 +11558,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1312 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1312.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<28a09a97785f90ce101ff4c6835db455>>
* @generated SignedSource<<aff338ec832fc323a37d0d2ea6d35bed>>
*/
"use strict";
@@ -5878,8 +5878,8 @@ __DEV__ &&
if (node.isTransition) {
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
ReactSharedInternals.T._updatedFibers = new Set();
try {
var returnValue = action(prevState, payload),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -6274,9 +6274,9 @@ __DEV__ &&
: ContinuousEventPriority;
var prevTransition = ReactSharedInternals.T,
currentTransition = {};
currentTransition._updatedFibers = new Set();
ReactSharedInternals.T = currentTransition;
dispatchOptimisticSetState(fiber, !1, queue, pendingState);
currentTransition._updatedFibers = new Set();
try {
var returnValue = callback(),
onStartTransitionFinish = ReactSharedInternals.S;
@@ -17237,11 +17237,11 @@ __DEV__ &&
shouldSuspendImpl = newShouldSuspendImpl;
};
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-3e88e97c-20250326" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-d3b8ff6e-20250331" !== 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.1.0-native-fb-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-d3b8ff6e-20250331\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -17267,10 +17267,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<fd554adc0848c3bba95a6a9b0eacd184>>
* @generated SignedSource<<035c14cd40b593e78ed53eeefae38336>>
*/
"use strict";
@@ -11004,11 +11004,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-3e88e97c-20250326" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-d3b8ff6e-20250331" !== 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.1.0-native-fb-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-d3b8ff6e-20250331\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11057,10 +11057,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1282 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1282.rendererConfig = extraDevToolsConfig);
@@ -7,7 +7,7 @@
* @noflow
* @nolint
* @preventMunge
* @generated SignedSource<<5ed4f1cec640514c5aca8299a5fc82ed>>
* @generated SignedSource<<ae01cbc4c3c59dd0298a216f03a3f0f0>>
*/
"use strict";
@@ -11655,11 +11655,11 @@ function updateContainer(element, container, parentComponent, callback) {
return lane;
}
var isomorphicReactPackageVersion = React.version;
if ("19.1.0-native-fb-3e88e97c-20250326" !== isomorphicReactPackageVersion)
if ("19.2.0-native-fb-d3b8ff6e-20250331" !== 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.1.0-native-fb-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-native-renderer: 19.2.0-native-fb-d3b8ff6e-20250331\nLearn more: https://react.dev/warnings/version-mismatch")
);
if (
"function" !==
@@ -11708,10 +11708,10 @@ batchedUpdatesImpl = function (fn, a) {
var roots = new Map(),
internals$jscomp$inline_1375 = {
bundleType: 0,
version: "19.1.0-native-fb-3e88e97c-20250326",
version: "19.2.0-native-fb-d3b8ff6e-20250331",
rendererPackageName: "react-native-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.1.0-native-fb-3e88e97c-20250326"
reconcilerVersion: "19.2.0-native-fb-d3b8ff6e-20250331"
};
null !== extraDevToolsConfig &&
(internals$jscomp$inline_1375.rendererConfig = extraDevToolsConfig);