From b8f981a6265e6f8405710bd3d7a372757c51e59a Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Mon, 16 Dec 2024 19:59:31 -0800 Subject: [PATCH] Enable debugRenderPhaseSideEffectsForStrictMode in test renderers (#31761) This flag controls the strict mode double invoke render/lifecycles/etc behavior in Strict Mode. The only place this flag is off is the test renderers, which it should be on for. If we can land this, we can follow up to remove the flag. DiffTrain build for [975cea2d3ddb95ad31f10ae112bdde5101725c85](https://github.com/facebook/react/commit/975cea2d3ddb95ad31f10ae112bdde5101725c85) --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../react/react-dom/cjs/ReactDOM-dev.js | 4 +- .../react/react-dom/cjs/ReactDOM-prod.js | 4 +- .../react/react-dom/cjs/ReactDOM-profiling.js | 4 +- .../react/react-dom/cjs/ReactDOMClient-dev.js | 12 +- .../react-dom/cjs/ReactDOMClient-prod.js | 12 +- .../react-dom/cjs/ReactDOMClient-profiling.js | 12 +- .../react-dom/cjs/ReactDOMProfiling-dev.js | 12 +- .../react-dom/cjs/ReactDOMProfiling-prod.js | 12 +- .../cjs/ReactDOMProfiling-profiling.js | 12 +- .../cjs/ReactTestRenderer-dev.js | 258 +++++++++++------- .../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 +- .../implementations/ReactFabric-dev.fb.js | 6 +- .../implementations/ReactFabric-prod.fb.js | 6 +- .../ReactFabric-profiling.fb.js | 6 +- .../ReactNativeRenderer-dev.fb.js | 10 +- .../ReactNativeRenderer-prod.fb.js | 10 +- .../ReactNativeRenderer-profiling.fb.js | 10 +- 23 files changed, 246 insertions(+), 176 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 996ea9695b389..5992bc2fb19a9 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.1.0-native-fb-909ed63e-20241216 \ No newline at end of file +19.1.0-native-fb-975cea2d-20241216 \ 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 7350246cfb2c7..f4f497d500645 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<<44e4f5406673c6231d47f72fef260769>> + * @generated SignedSource<> */ "use strict"; @@ -420,5 +420,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-909ed63e-20241216"; + exports.version = "19.1.0-native-fb-975cea2d-20241216"; })(); 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 2df825e6486ce..0c39e18729d8f 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-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; 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 2df825e6486ce..0c39e18729d8f 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-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; 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 e210389bd728f..3456ab0798436 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<<0b99a133ca81f9811348bfa8586f852a>> */ /* @@ -25891,11 +25891,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-909ed63e-20241216" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-975cea2d-20241216" !== 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-909ed63e-20241216\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-975cea2d-20241216\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25932,10 +25932,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26081,5 +26081,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.1.0-native-fb-909ed63e-20241216"; + exports.version = "19.1.0-native-fb-975cea2d-20241216"; })(); 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 a2ec37a8fbe70..4133a2c1c4ec2 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<<228efb504e000ca7558ff605a12df677>> + * @generated SignedSource<> */ /* @@ -15867,14 +15867,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1722 = React.version; if ( - "19.1.0-native-fb-909ed63e-20241216" !== + "19.1.0-native-fb-975cea2d-20241216" !== isomorphicReactPackageVersion$jscomp$inline_1722 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1722, - "19.1.0-native-fb-909ed63e-20241216" + "19.1.0-native-fb-975cea2d-20241216" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15896,10 +15896,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2177 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2178 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16005,4 +16005,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; 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 da5ce27981619..ef16298ad0886 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<<14a638f5f5b68ebb01e21b6696be6f4f>> + * @generated SignedSource<<5c9a74385ad8019f94ec9781bcecdaa5>> */ /* @@ -16520,14 +16520,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1812 = React.version; if ( - "19.1.0-native-fb-909ed63e-20241216" !== + "19.1.0-native-fb-975cea2d-20241216" !== isomorphicReactPackageVersion$jscomp$inline_1812 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1812, - "19.1.0-native-fb-909ed63e-20241216" + "19.1.0-native-fb-975cea2d-20241216" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16549,10 +16549,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1819 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216", + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$292 = 0; @@ -16673,4 +16673,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.1.0-native-fb-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; 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 44c3da209f6e4..dde2395ca998b 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<<05fb79898af8114507aab32dbca135dd>> + * @generated SignedSource<<1b80a09688a21b18956a78d7e8a3af54>> */ /* @@ -25952,11 +25952,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-909ed63e-20241216" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-975cea2d-20241216" !== 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-909ed63e-20241216\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-native-fb-975cea2d-20241216\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25993,10 +25993,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26458,7 +26458,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-native-fb-909ed63e-20241216"; + exports.version = "19.1.0-native-fb-975cea2d-20241216"; "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 6d580bdae0171..155c318e5b665 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<<3e15f458c990e9583465d892a44e86aa>> + * @generated SignedSource<<97074b96f9aa740b7571d35224f8b912>> */ /* @@ -15878,14 +15878,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1723 = React.version; if ( - "19.1.0-native-fb-909ed63e-20241216" !== + "19.1.0-native-fb-975cea2d-20241216" !== isomorphicReactPackageVersion$jscomp$inline_1723 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1723, - "19.1.0-native-fb-909ed63e-20241216" + "19.1.0-native-fb-975cea2d-20241216" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15907,10 +15907,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2180 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2181 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16170,4 +16170,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; 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 77c4369ec5fa0..b03b7f5388afb 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<<9ad0c4c7e2b3e9b9295627713b8820d6>> + * @generated SignedSource<<9d57b01f83626d723beff0283f9cacf0>> */ /* @@ -16535,14 +16535,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_1813 = React.version; if ( - "19.1.0-native-fb-909ed63e-20241216" !== + "19.1.0-native-fb-975cea2d-20241216" !== isomorphicReactPackageVersion$jscomp$inline_1813 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1813, - "19.1.0-native-fb-909ed63e-20241216" + "19.1.0-native-fb-975cea2d-20241216" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16564,10 +16564,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_1820 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216", + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$292 = 0; @@ -16842,7 +16842,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-native-fb-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; "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 e4c5e891babbc..2c09d8f3ae82b 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<<0afd16134514eb3b83dff235a3ca8af3>> + * @generated SignedSource<<8581d6a859ab565ddb71e0e0358094c0>> */ "use strict"; @@ -2280,13 +2280,13 @@ __DEV__ && } } function processUpdateQueue( - workInProgress$jscomp$0, + workInProgress, props, instance$jscomp$0, renderLanes ) { didReadFromEntangledAsyncAction = !1; - var queue = workInProgress$jscomp$0.updateQueue; + var queue = workInProgress.updateQueue; hasForceUpdate = !1; currentlyProcessingQueue = queue.shared; var firstBaseUpdate = queue.firstBaseUpdate, @@ -2301,7 +2301,7 @@ __DEV__ && ? (firstBaseUpdate = firstPendingUpdate) : (lastBaseUpdate.next = firstPendingUpdate); lastBaseUpdate = lastPendingUpdate; - var current = workInProgress$jscomp$0.alternate; + var current = workInProgress.alternate; null !== current && ((current = current.updateQueue), (pendingQueue = current.lastBaseUpdate), @@ -2337,40 +2337,57 @@ __DEV__ && next: null }); a: { - var workInProgress = workInProgress$jscomp$0, - update = pendingQueue; - updateLane = props; - var instance = instance$jscomp$0; - switch (update.tag) { + updateLane = workInProgress; + var partialState = pendingQueue; + var nextProps = props, + instance = instance$jscomp$0; + switch (partialState.tag) { case ReplaceState: - workInProgress = update.payload; - if ("function" === typeof workInProgress) { + partialState = partialState.payload; + if ("function" === typeof partialState) { isDisallowedContextReadInDEV = !0; - newState = workInProgress.call( + var nextState = partialState.call( instance, newState, - updateLane + nextProps ); + if (updateLane.mode & 8) { + setIsStrictModeForDevtools(!0); + try { + partialState.call(instance, newState, nextProps); + } finally { + setIsStrictModeForDevtools(!1); + } + } isDisallowedContextReadInDEV = !1; + newState = nextState; break a; } - newState = workInProgress; + newState = partialState; break a; case CaptureUpdate: - workInProgress.flags = (workInProgress.flags & -65537) | 128; + updateLane.flags = (updateLane.flags & -65537) | 128; case UpdateState: - workInProgress = update.payload; - "function" === typeof workInProgress - ? ((isDisallowedContextReadInDEV = !0), - (updateLane = workInProgress.call( - instance, - newState, - updateLane - )), - (isDisallowedContextReadInDEV = !1)) - : (updateLane = workInProgress); - if (null === updateLane || void 0 === updateLane) break a; - newState = assign({}, newState, updateLane); + nextState = partialState.payload; + if ("function" === typeof nextState) { + isDisallowedContextReadInDEV = !0; + partialState = nextState.call( + instance, + newState, + nextProps + ); + if (updateLane.mode & 8) { + setIsStrictModeForDevtools(!0); + try { + nextState.call(instance, newState, nextProps); + } finally { + setIsStrictModeForDevtools(!1); + } + } + isDisallowedContextReadInDEV = !1; + } else partialState = nextState; + if (null === partialState || void 0 === partialState) break a; + newState = assign({}, newState, partialState); break a; case ForceUpdate: hasForceUpdate = !0; @@ -2378,8 +2395,8 @@ __DEV__ && } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 64), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), + ((workInProgress.flags |= 64), + isHiddenUpdate && (workInProgress.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -2414,8 +2431,8 @@ __DEV__ && queue.lastBaseUpdate = current; null === firstBaseUpdate && (queue.shared.lanes = 0); workInProgressRootSkippedLanes |= lastBaseUpdate; - workInProgress$jscomp$0.lanes = lastBaseUpdate; - workInProgress$jscomp$0.memoizedState = newState; + workInProgress.lanes = lastBaseUpdate; + workInProgress.memoizedState = newState; } currentlyProcessingQueue = null; } @@ -2708,18 +2725,32 @@ __DEV__ && : null !== hookTypesDev ? HooksDispatcherOnMountWithHookTypesInDEV : HooksDispatcherOnMountInDEV; - shouldDoubleInvokeUserFnsInHooksDEV = !1; - nextRenderLanes = callComponentInDEV(Component, props, secondArg); + shouldDoubleInvokeUserFnsInHooksDEV = nextRenderLanes = + 0 !== (workInProgress.mode & 8); + var children = callComponentInDEV(Component, props, secondArg); shouldDoubleInvokeUserFnsInHooksDEV = !1; didScheduleRenderPhaseUpdateDuringThisPass && - (nextRenderLanes = renderWithHooksAgain( + (children = renderWithHooksAgain( workInProgress, Component, props, secondArg )); + if (nextRenderLanes) { + setIsStrictModeForDevtools(!0); + try { + children = renderWithHooksAgain( + workInProgress, + Component, + props, + secondArg + ); + } finally { + setIsStrictModeForDevtools(!1); + } + } finishRenderingHooks(current, workInProgress); - return nextRenderLanes; + return children; } function finishRenderingHooks(current, workInProgress) { workInProgress._debugHookTypes = hookTypesDev; @@ -5331,9 +5362,17 @@ __DEV__ && getDerivedStateFromProps, nextProps ) { - var prevState = workInProgress.memoizedState; - getDerivedStateFromProps = getDerivedStateFromProps(nextProps, prevState); - void 0 === getDerivedStateFromProps && + var prevState = workInProgress.memoizedState, + partialState = getDerivedStateFromProps(nextProps, prevState); + if (workInProgress.mode & 8) { + setIsStrictModeForDevtools(!0); + try { + partialState = getDerivedStateFromProps(nextProps, prevState); + } finally { + setIsStrictModeForDevtools(!1); + } + } + void 0 === partialState && ((ctor = getComponentNameFromType(ctor) || "Component"), didWarnAboutUndefinedDerivedState.has(ctor) || (didWarnAboutUndefinedDerivedState.add(ctor), @@ -5342,9 +5381,9 @@ __DEV__ && ctor ))); prevState = - null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps + null === partialState || void 0 === partialState ? prevState - : assign({}, prevState, getDerivedStateFromProps); + : assign({}, prevState, partialState); workInProgress.memoizedState = prevState; 0 === workInProgress.lanes && (workInProgress.updateQueue.baseState = prevState); @@ -5358,23 +5397,35 @@ __DEV__ && newState, nextContext ) { - workInProgress = workInProgress.stateNode; - return "function" === typeof workInProgress.shouldComponentUpdate - ? ((oldProps = workInProgress.shouldComponentUpdate( - newProps, - newState, - nextContext - )), - void 0 === oldProps && - error$jscomp$0( - "%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.", - getComponentNameFromType(ctor) || "Component" - ), - oldProps) - : ctor.prototype && ctor.prototype.isPureReactComponent - ? !shallowEqual(oldProps, newProps) || - !shallowEqual(oldState, newState) - : !0; + var instance = workInProgress.stateNode; + if ("function" === typeof instance.shouldComponentUpdate) { + oldProps = instance.shouldComponentUpdate( + newProps, + newState, + nextContext + ); + if (workInProgress.mode & 8) { + setIsStrictModeForDevtools(!0); + try { + oldProps = instance.shouldComponentUpdate( + newProps, + newState, + nextContext + ); + } finally { + setIsStrictModeForDevtools(!1); + } + } + void 0 === oldProps && + error$jscomp$0( + "%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.", + getComponentNameFromType(ctor) || "Component" + ); + return oldProps; + } + return ctor.prototype && ctor.prototype.isPureReactComponent + ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) + : !0; } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, @@ -5414,47 +5465,57 @@ __DEV__ && void 0 !== isLegacyContextConsumer) ? getMaskedContext(workInProgress, unmaskedContext) : emptyContextObject)); - props = new ctor(props, context); - addendum = workInProgress.memoizedState = - null !== props.state && void 0 !== props.state ? props.state : null; - props.updater = classComponentUpdater; - workInProgress.stateNode = props; - props._reactInternals = workInProgress; - props._reactInternalInstance = fakeInternalInstance; + addendum = new ctor(props, context); + if (workInProgress.mode & 8) { + setIsStrictModeForDevtools(!0); + try { + addendum = new ctor(props, context); + } finally { + setIsStrictModeForDevtools(!1); + } + } + props = workInProgress.memoizedState = + null !== addendum.state && void 0 !== addendum.state + ? addendum.state + : null; + addendum.updater = classComponentUpdater; + workInProgress.stateNode = addendum; + addendum._reactInternals = workInProgress; + addendum._reactInternalInstance = fakeInternalInstance; "function" === typeof ctor.getDerivedStateFromProps && - null === addendum && - ((addendum = getComponentNameFromType(ctor) || "Component"), - didWarnAboutUninitializedState.has(addendum) || - (didWarnAboutUninitializedState.add(addendum), + null === props && + ((props = getComponentNameFromType(ctor) || "Component"), + didWarnAboutUninitializedState.has(props) || + (didWarnAboutUninitializedState.add(props), error$jscomp$0( "`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", - addendum, - null === props.state ? "null" : "undefined", - addendum + props, + null === addendum.state ? "null" : "undefined", + props ))); if ( "function" === typeof ctor.getDerivedStateFromProps || - "function" === typeof props.getSnapshotBeforeUpdate + "function" === typeof addendum.getSnapshotBeforeUpdate ) { - var foundWillReceivePropsName = (addendum = null), + var foundWillReceivePropsName = (props = null), foundWillUpdateName = null; - "function" === typeof props.componentWillMount && - !0 !== props.componentWillMount.__suppressDeprecationWarning - ? (addendum = "componentWillMount") - : "function" === typeof props.UNSAFE_componentWillMount && - (addendum = "UNSAFE_componentWillMount"); - "function" === typeof props.componentWillReceiveProps && - !0 !== props.componentWillReceiveProps.__suppressDeprecationWarning + "function" === typeof addendum.componentWillMount && + !0 !== addendum.componentWillMount.__suppressDeprecationWarning + ? (props = "componentWillMount") + : "function" === typeof addendum.UNSAFE_componentWillMount && + (props = "UNSAFE_componentWillMount"); + "function" === typeof addendum.componentWillReceiveProps && + !0 !== addendum.componentWillReceiveProps.__suppressDeprecationWarning ? (foundWillReceivePropsName = "componentWillReceiveProps") - : "function" === typeof props.UNSAFE_componentWillReceiveProps && + : "function" === typeof addendum.UNSAFE_componentWillReceiveProps && (foundWillReceivePropsName = "UNSAFE_componentWillReceiveProps"); - "function" === typeof props.componentWillUpdate && - !0 !== props.componentWillUpdate.__suppressDeprecationWarning + "function" === typeof addendum.componentWillUpdate && + !0 !== addendum.componentWillUpdate.__suppressDeprecationWarning ? (foundWillUpdateName = "componentWillUpdate") - : "function" === typeof props.UNSAFE_componentWillUpdate && + : "function" === typeof addendum.UNSAFE_componentWillUpdate && (foundWillUpdateName = "UNSAFE_componentWillUpdate"); if ( - null !== addendum || + null !== props || null !== foundWillReceivePropsName || null !== foundWillUpdateName ) { @@ -5469,7 +5530,7 @@ __DEV__ && "Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://react.dev/link/unsafe-component-lifecycles", _componentName, ctor, - null !== addendum ? "\n " + addendum : "", + null !== props ? "\n " + props : "", null !== foundWillReceivePropsName ? "\n " + foundWillReceivePropsName : "", @@ -5482,7 +5543,7 @@ __DEV__ && (workInProgress.__reactInternalMemoizedUnmaskedChildContext = unmaskedContext), (workInProgress.__reactInternalMemoizedMaskedChildContext = context)); - return props; + return addendum; } function callComponentWillReceiveProps( workInProgress, @@ -6669,10 +6730,19 @@ __DEV__ && ) { var nextChildren = null; profilerStartTime = -1; - } else - markComponentRenderStarted(workInProgress), - (nextChildren = callRenderInDEV(shouldUpdate)), - markComponentRenderStopped(); + } else { + markComponentRenderStarted(workInProgress); + nextChildren = callRenderInDEV(shouldUpdate); + if (workInProgress.mode & 8) { + setIsStrictModeForDevtools(!0); + try { + callRenderInDEV(shouldUpdate); + } finally { + setIsStrictModeForDevtools(!1); + } + } + markComponentRenderStopped(); + } workInProgress.flags |= 1; null !== current$jscomp$0 && didCaptureError ? ((didCaptureError = nextChildren), @@ -15525,10 +15595,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15673,5 +15743,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.1.0-native-fb-909ed63e-20241216"; + exports.version = "19.1.0-native-fb-975cea2d-20241216"; })(); 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 83b67e76331f5..2acb6504e6d81 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<> */ "use strict"; @@ -9755,10 +9755,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1381 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1382 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -9894,4 +9894,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.1.0-native-fb-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; 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 c6ff4ea3b05de..e429cb4bcf497 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<<8637bb77ed2dc7456fb3aa440711e172>> + * @generated SignedSource<<15122c197f966ee08447e8caba09f75c>> */ "use strict"; @@ -10324,10 +10324,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1194 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216", + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$146 = 0; @@ -10478,4 +10478,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.1.0-native-fb-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; 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 c8c34c6196d04..5749199954d57 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<<15691d6b7a99bceaa9d7e4cb2282d369>> + * @generated SignedSource<<35044039a75394a9422e63823ccdbe6c>> */ "use strict"; @@ -1824,7 +1824,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-native-fb-909ed63e-20241216"; + exports.version = "19.1.0-native-fb-975cea2d-20241216"; "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 6ada263c2d188..000298470f45b 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<> + * @generated SignedSource<<1485dfb1e89cb2ad4b28603fbf876677>> */ "use strict"; @@ -592,4 +592,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; 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 a87ae6048c0bb..50d9883292489 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<<5542be63bee5d0aaffe62e111ca41de2>> + * @generated SignedSource<<2144d1bf0b15e2c62ee25e5c9fe2b2c3>> */ "use strict"; @@ -596,7 +596,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-native-fb-909ed63e-20241216"; +exports.version = "19.1.0-native-fb-975cea2d-20241216"; "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 e4ec129cea7c6..3feb8b87481c7 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 @@ -909ed63e0adc162a95a4704d3ed07a956dcf9cd1 +975cea2d3ddb95ad31f10ae112bdde5101725c85 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 5677176a2855a..05dc0f4e652d3 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<<195ff46e41d652746b8c31f194fc2ae9>> + * @generated SignedSource<<9f0290326754dd921ec95043a8374826>> */ "use strict"; @@ -17468,10 +17468,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; 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 ef7455f8a0de5..7cf9451439e8e 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<<7953b40c306ff45a81d44161b2d7bfe8>> + * @generated SignedSource<<9f30b803e987c1def7b52c39e248dff0>> */ "use strict"; @@ -11097,10 +11097,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1210 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1210.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 e09e4a9ae3e59..d0aa5e3745890 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<> + * @generated SignedSource<<1b0b890fb6facb2299f9b10a621d6650>> */ "use strict"; @@ -11754,10 +11754,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1298 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1298.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 c064791526b9c..4cac65c3a1227 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<> + * @generated SignedSource<<1ad3e08a1a52ac49020aadddd4d6fbe8>> */ "use strict"; @@ -17691,11 +17691,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.1.0-native-fb-909ed63e-20241216" !== isomorphicReactPackageVersion) + if ("19.1.0-native-fb-975cea2d-20241216" !== 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-909ed63e-20241216\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-975cea2d-20241216\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -17721,10 +17721,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; 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 868aed2aa8093..7c5cb0a0c12ac 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<<3e2c418b2b2616d033959c7ffc189588>> + * @generated SignedSource<<1604ce6d116d663fc759d63e6abc768d>> */ "use strict"; @@ -11229,11 +11229,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-909ed63e-20241216" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-975cea2d-20241216" !== 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-909ed63e-20241216\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-975cea2d-20241216\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11282,10 +11282,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1276 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1276.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 6956ff0a1f952..c216f77978838 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<> */ "use strict"; @@ -11885,11 +11885,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.1.0-native-fb-909ed63e-20241216" !== isomorphicReactPackageVersion) +if ("19.1.0-native-fb-975cea2d-20241216" !== 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-909ed63e-20241216\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.1.0-native-fb-975cea2d-20241216\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11938,10 +11938,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1364 = { bundleType: 0, - version: "19.1.0-native-fb-909ed63e-20241216", + version: "19.1.0-native-fb-975cea2d-20241216", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-native-fb-909ed63e-20241216" + reconcilerVersion: "19.1.0-native-fb-975cea2d-20241216" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1364.rendererConfig = extraDevToolsConfig);