From f8bbdb7c328b73a33a40ce6759d8ba52f71ff08b Mon Sep 17 00:00:00 2001 From: sebmarkbage Date: Mon, 31 Mar 2025 17:05:59 -0700 Subject: [PATCH] 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 [d3b8ff6e589bcacfd1c9b0aa48c42fd1c93001c1](https://github.com/facebook/react/commit/d3b8ff6e589bcacfd1c9b0aa48c42fd1c93001c1) --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../vendor/react/react-dom/cjs/ReactDOM-dev.js | 4 ++-- .../vendor/react/react-dom/cjs/ReactDOM-prod.js | 4 ++-- .../react/react-dom/cjs/ReactDOM-profiling.js | 4 ++-- .../react/react-dom/cjs/ReactDOMClient-dev.js | 16 ++++++++-------- .../react/react-dom/cjs/ReactDOMClient-prod.js | 12 ++++++------ .../react-dom/cjs/ReactDOMClient-profiling.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMProfiling-dev.js | 16 ++++++++-------- .../react-dom/cjs/ReactDOMProfiling-prod.js | 12 ++++++------ .../react-dom/cjs/ReactDOMProfiling-profiling.js | 12 ++++++------ .../cjs/ReactTestRenderer-dev.js | 12 ++++++------ .../cjs/ReactTestRenderer-prod.js | 8 ++++---- .../cjs/ReactTestRenderer-profiling.js | 8 ++++---- .../vendor/react/react/cjs/React-dev.js | 6 +++--- .../vendor/react/react/cjs/React-prod.js | 4 ++-- .../vendor/react/react/cjs/React-profiling.js | 4 ++-- .../Libraries/Renderer/REVISION | 2 +- .../implementations/ReactFabric-dev.fb.js | 10 +++++----- .../implementations/ReactFabric-prod.fb.js | 6 +++--- .../implementations/ReactFabric-profiling.fb.js | 6 +++--- .../ReactNativeRenderer-dev.fb.js | 14 +++++++------- .../ReactNativeRenderer-prod.fb.js | 10 +++++----- .../ReactNativeRenderer-profiling.fb.js | 10 +++++----- 23 files changed, 97 insertions(+), 97 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 115ca17248..c92398689f 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.1.0-native-fb-3e88e97c-20250326 \ No newline at end of file +19.2.0-native-fb-d3b8ff6e-20250331 \ No newline at end of file diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js index 4648705c3c..0d4c42dbe1 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @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"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js index d8a81c8b86..ce44254d90 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "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"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js index d8a81c8b86..ce44254d90 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "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"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js index d3a01cadc8..db0308ad09 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -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"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js index 57d0518832..7b18052033 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js @@ -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"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js index b60736b964..8d28fc7430 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -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"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js index 30321959e5..bf8744e971 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @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 && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js index 5586f3958f..c7190df5e2 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @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"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js index 25790fcbd7..ff22414b29 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js @@ -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 && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js index 6808de8f3c..0e0e3ff644 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<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"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js index 8569f152c7..780f2fab32 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<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"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js index 43abed6c4f..e834575720 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @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"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js index 17e10f5780..27f9cc2534 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<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 && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js index 001c7abb52..a60973bad5 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<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"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js index fb90212533..eacea38ad3 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "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 && diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index ac12aa9dc3..2ffd5798d7 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -3e88e97c116c7a1535976f2d4486bbf345476443 +d3b8ff6e589bcacfd1c9b0aa48c42fd1c93001c1 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js index ddae6c9f4e..4e99abee75 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "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); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js index 38bb09cd1e..3b8f6e9c99 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<18b095756d5d1cce61a4008a5a889eda>> + * @generated SignedSource<> */ "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); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js index cb994f1edf..92e1c86a20 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<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); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js index b99a7604ac..1b481c17ca 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<28a09a97785f90ce101ff4c6835db455>> + * @generated SignedSource<> */ "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); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js index 0d534e501e..4c71f9eaff 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @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); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js index c6006f0008..8422c52727 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<5ed4f1cec640514c5aca8299a5fc82ed>> + * @generated SignedSource<> */ "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);