From a88abd3f863fd9769229d5102aab2020230e1b06 Mon Sep 17 00:00:00 2001 From: sophiebits <6820+sophiebits@users.noreply.github.com> Date: Fri, 24 Jan 2025 09:32:34 -0800 Subject: [PATCH] Clarify useActionState async non-transition warning (#32207) https://github.com/facebook/react/pull/28491#issuecomment-2094861155 DiffTrain build for [b65afdd0c1f644f3630c4e8cfd9ac264c5ac329f](https://github.com/facebook/react/commit/b65afdd0c1f644f3630c4e8cfd9ac264c5ac329f) --- 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 | 14 +++++++------- .../react/react-dom/cjs/ReactDOMClient-prod.js | 12 ++++++------ .../react-dom/cjs/ReactDOMClient-profiling.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMProfiling-dev.js | 14 +++++++------- .../react/react-dom/cjs/ReactDOMProfiling-prod.js | 12 ++++++------ .../react-dom/cjs/ReactDOMProfiling-profiling.js | 12 ++++++------ .../cjs/ReactTestRenderer-dev.js | 10 +++++----- .../cjs/ReactTestRenderer-prod.js | 8 ++++---- .../cjs/ReactTestRenderer-profiling.js | 8 ++++---- .../vendor/react/react/cjs/React-dev.js | 4 ++-- .../vendor/react/react/cjs/React-prod.js | 4 ++-- .../vendor/react/react/cjs/React-profiling.js | 4 ++-- .../Libraries/Renderer/REVISION | 2 +- .../Renderer/implementations/ReactFabric-dev.fb.js | 8 ++++---- .../implementations/ReactFabric-prod.fb.js | 6 +++--- .../implementations/ReactFabric-profiling.fb.js | 6 +++--- .../implementations/ReactNativeRenderer-dev.fb.js | 12 ++++++------ .../implementations/ReactNativeRenderer-prod.fb.js | 10 +++++----- .../ReactNativeRenderer-profiling.fb.js | 10 +++++----- 23 files changed, 91 insertions(+), 91 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 3e264c59e45db..3c1e6a1ee50a1 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.1.0-native-fb-028c8e6c-20250121 \ No newline at end of file +19.1.0-native-fb-b65afdd0-20250124 \ 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 b920bd24be874..25b08e2d15860 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<<196643d457b7976a620753cc80271271>> + * @generated SignedSource<> */ "use strict"; @@ -428,5 +428,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-028c8e6c-20250121"; + exports.version = "19.1.0-native-fb-b65afdd0-20250124"; })(); 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 99f52624851e1..5289a45e81891 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<<00d882adfafb6d1a9627beb598263fa8>> + * @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-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; 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 99f52624851e1..5289a45e81891 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<<00d882adfafb6d1a9627beb598263fa8>> + * @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-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; 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 84a462ba4b35a..b6967932ee072 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<<7e27dad790bbcabadfdb7af782fa0c42>> + * @generated SignedSource<> */ /* @@ -6270,7 +6270,7 @@ __DEV__ && ), node.isTransition || error$jscomp$0( - "An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an `action` prop, or dispatch manually inside `startTransition`" + "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop." )) : onActionSuccess(actionQueue, node, returnValue); } @@ -25957,11 +25957,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-028c8e6c-20250121" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-b65afdd0-20250124" !== 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-028c8e6c-20250121\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-b65afdd0-20250124\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25998,10 +25998,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26147,5 +26147,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.1.0-native-fb-028c8e6c-20250121"; + exports.version = "19.1.0-native-fb-b65afdd0-20250124"; })(); 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 bcc433595142d..f4db2bfc4f532 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<> + * @generated SignedSource<> */ /* @@ -15968,14 +15968,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1785 = React.version; if ( - "19.1.0-native-fb-028c8e6c-20250121" !== + "19.1.0-native-fb-b65afdd0-20250124" !== isomorphicReactPackageVersion$jscomp$inline_1785 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1785, - "19.1.0-native-fb-028c8e6c-20250121" + "19.1.0-native-fb-b65afdd0-20250124" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15997,10 +15997,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2241 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2242 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16106,4 +16106,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; 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 514263e8cfdf1..64870a4ef07ce 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<<26c5c9bcaf4f9c963a355c567fee66e7>> + * @generated SignedSource<<25cb6adf5eeca922c17401515bf4a2c5>> */ /* @@ -16617,14 +16617,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1880 = React.version; if ( - "19.1.0-native-fb-028c8e6c-20250121" !== + "19.1.0-native-fb-b65afdd0-20250124" !== isomorphicReactPackageVersion$jscomp$inline_1880 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1880, - "19.1.0-native-fb-028c8e6c-20250121" + "19.1.0-native-fb-b65afdd0-20250124" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16646,10 +16646,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1887 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121", + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$292 = 0; @@ -16770,4 +16770,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; 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 3265de6cf3b47..5588e0d8d32a9 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<<00a5a33095096e7adddb3fdaeea26c8d>> + * @generated SignedSource<<28e1ae0e704a3d0f18caa0f827720417>> */ /* @@ -6278,7 +6278,7 @@ __DEV__ && ), node.isTransition || error$jscomp$0( - "An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an `action` prop, or dispatch manually inside `startTransition`" + "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop." )) : onActionSuccess(actionQueue, node, returnValue); } @@ -26018,11 +26018,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-028c8e6c-20250121" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-b65afdd0-20250124" !== 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-028c8e6c-20250121\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-b65afdd0-20250124\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26059,10 +26059,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26524,7 +26524,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-028c8e6c-20250121"; + exports.version = "19.1.0-native-fb-b65afdd0-20250124"; "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 86a05757cdaa0..fdbf43f436da6 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<<20122955dd5629d8d1ab88d6929c9020>> + * @generated SignedSource<> */ /* @@ -15979,14 +15979,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1786 = React.version; if ( - "19.1.0-native-fb-028c8e6c-20250121" !== + "19.1.0-native-fb-b65afdd0-20250124" !== isomorphicReactPackageVersion$jscomp$inline_1786 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1786, - "19.1.0-native-fb-028c8e6c-20250121" + "19.1.0-native-fb-b65afdd0-20250124" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16008,10 +16008,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2244 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2245 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16271,4 +16271,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; 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 aca2cb8307889..515d8491f5630 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<> + * @generated SignedSource<<45fa11d45d96b5c877c9d6e02960001e>> */ /* @@ -16632,14 +16632,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1881 = React.version; if ( - "19.1.0-native-fb-028c8e6c-20250121" !== + "19.1.0-native-fb-b65afdd0-20250124" !== isomorphicReactPackageVersion$jscomp$inline_1881 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1881, - "19.1.0-native-fb-028c8e6c-20250121" + "19.1.0-native-fb-b65afdd0-20250124" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16661,10 +16661,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1888 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121", + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$292 = 0; @@ -16939,7 +16939,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; "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 69715b9c40a54..e8e56804c6186 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<<2d8cd148450da6868c62026b7639f3d4>> + * @generated SignedSource<> */ "use strict"; @@ -3691,7 +3691,7 @@ __DEV__ && ), node.isTransition || error$jscomp$0( - "An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an `action` prop, or dispatch manually inside `startTransition`" + "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop." )) : onActionSuccess(actionQueue, node, returnValue); } @@ -15644,10 +15644,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15792,5 +15792,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.1.0-native-fb-028c8e6c-20250121"; + exports.version = "19.1.0-native-fb-b65afdd0-20250124"; })(); 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 ed8b25e9e1744..c3ceac7c52877 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<> + * @generated SignedSource<<7d22dad7b057e73765edc808e3a105ee>> */ "use strict"; @@ -9826,10 +9826,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1402 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1403 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -9965,4 +9965,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.1.0-native-fb-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; 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 2b0601ac8e6c3..cddb97b72cf24 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<<4be0180040129fe60f001584b3948191>> + * @generated SignedSource<<3413dd7b6f3700182f4d10a39e72d912>> */ "use strict"; @@ -10396,10 +10396,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1220 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121", + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$147 = 0; @@ -10550,4 +10550,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.1.0-native-fb-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; 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 a4745143631ea..cc38aa540feac 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<> + * @generated SignedSource<> */ "use strict"; @@ -1839,7 +1839,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-native-fb-028c8e6c-20250121"; + exports.version = "19.1.0-native-fb-b65afdd0-20250124"; "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 c6dc2dee5768f..eb2a537ca1cce 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<<5a0cacd4d796d124004a72734d591161>> + * @generated SignedSource<> */ "use strict"; @@ -592,4 +592,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; 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 e49c85d573e4e..fb6fdb04fe658 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<<195617938c1ab223a5b291efb81b4c13>> */ "use strict"; @@ -596,7 +596,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-028c8e6c-20250121"; +exports.version = "19.1.0-native-fb-b65afdd0-20250124"; "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 d7b2cfd21a63e..f83abf525a8ec 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 @@ -028c8e6cf5ce2a87147a7e03e503ce94c7a7a0cf +b65afdd0c1f644f3630c4e8cfd9ac264c5ac329f 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 06bbbef25610b..2e0a8a7e98a2e 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<<8e48907982404d2bcb053d82d158ab21>> + * @generated SignedSource<<8bb00e6f8ef242d0a09b53daeb690ec1>> */ "use strict"; @@ -4695,7 +4695,7 @@ __DEV__ && ), node.isTransition || error$jscomp$0( - "An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an `action` prop, or dispatch manually inside `startTransition`" + "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop." )) : onActionSuccess(actionQueue, node, returnValue); } @@ -17516,10 +17516,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; 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 d45352f4f4b7b..a8b593494a5c6 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<<66a746d0b1393fafca161185fd7bca50>> + * @generated SignedSource<<8bc07c3357979aa01f1b37cdc94b58e1>> */ "use strict"; @@ -11047,10 +11047,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1238 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1238.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 9a869083610a3..0de9c0dd111b9 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<<6720f62aa00ad530901df1d55d476ee1>> + * @generated SignedSource<<35ec8d66b4b1eb661dc9428ac2a3e7b5>> */ "use strict"; @@ -11700,10 +11700,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1331 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1331.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 a8afb437d4125..9aafd019ff401 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<<0cdcfffa594bbe2f8e5e24e3f05e4adc>> + * @generated SignedSource<<01c9a2f7e5097d5e616372b08c6333af>> */ "use strict"; @@ -4821,7 +4821,7 @@ __DEV__ && ), node.isTransition || error$jscomp$0( - "An async function was passed to useActionState, but it was dispatched outside of an action context. This is likely not what you intended. Either pass the dispatch function to an `action` prop, or dispatch manually inside `startTransition`" + "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop." )) : onActionSuccess(actionQueue, node, returnValue); } @@ -17730,11 +17730,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-028c8e6c-20250121" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-b65afdd0-20250124" !== 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-028c8e6c-20250121\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-b65afdd0-20250124\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17760,10 +17760,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; 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 60dadfe45665a..4d21e589b2bce 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<<653077182698da391c970487e0918599>> + * @generated SignedSource<> */ "use strict"; @@ -11174,11 +11174,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-028c8e6c-20250121" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-b65afdd0-20250124" !== 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-028c8e6c-20250121\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-b65afdd0-20250124\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11227,10 +11227,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1290 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1290.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 4d71e7ae3daa9..e69eba3dcda03 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<> + * @generated SignedSource<<1290a5dbe3bba2c439e91a0b4cf73fd0>> */ "use strict"; @@ -11826,11 +11826,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-028c8e6c-20250121" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-b65afdd0-20250124" !== 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-028c8e6c-20250121\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-b65afdd0-20250124\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11879,10 +11879,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1383 = { bundleType: 0, - version: "19.1.0-native-fb-028c8e6c-20250121", + version: "19.1.0-native-fb-b65afdd0-20250124", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-028c8e6c-20250121" + reconcilerVersion: "19.1.0-native-fb-b65afdd0-20250124" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1383.rendererConfig = extraDevToolsConfig);