From 9dc1a1bd2c65191e97c265cba2eed19acd210da3 Mon Sep 17 00:00:00 2001 From: josephsavona Date: Thu, 2 Oct 2025 10:31:02 -0700 Subject: [PATCH] [compiler] `@enablePreserveExistingMemoizationGuarantees` on by default (#34689) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This enables `@enablePreserveExistingMemoizationGuarantees` by default. As of the previous PR (#34503), this mode now enables the following behaviors: - Treating variables referenced within a `useMemo()` or `useCallback()` as "frozen" (immutable) as of the start of the call. Ie, the compiler will assume that the values you reference are not mutated by the body of the useMemo, not are they mutated later. Directly modifying them (eg `var.property = true`) will be an error. - Similarly, the results of the useMemo/useCallback are treated as frozen (immutable) after the call. These two rules match the behavior for other hooks: this means that developers will see similar behavior to swapping out `useMemo()` for a custom `useMyMemo()` wrapper/alias. Additionally, as of #34503 the compiler uses information from the manual dependencies to know which variables are non-nullable. Even if a useMemo block conditionally accesses a nested property — `if (cond) { log(x.y.z) }` — where the compiler would not usually know that `x` is non-nullable, if the user specifies `x.y.z` as a manual dependency then the compiler knows that `x` and `x.y` are non-nullable and can infer a more precise dependency. Finally, this mode also ensures that we always memoize function calls that return primitives. See #34343 for more details. For now, I've explicitly opted out of this feature in all test fixtures where the behavior changed. DiffTrain build for [70b52beca64aeac447a6cf57cfe1fda0691435c1](https://github.com/facebook/react/commit/70b52beca64aeac447a6cf57cfe1fda0691435c1) --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../vendor/react/react-dom/cjs/ReactDOM-dev.js | 4 ++-- .../vendor/react/react-dom/cjs/ReactDOM-prod.js | 4 ++-- .../vendor/react/react-dom/cjs/ReactDOM-profiling.js | 4 ++-- .../vendor/react/react-dom/cjs/ReactDOMClient-dev.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMClient-prod.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMClient-profiling.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMProfiling-dev.js | 12 ++++++------ .../react/react-dom/cjs/ReactDOMProfiling-prod.js | 12 ++++++------ .../react-dom/cjs/ReactDOMProfiling-profiling.js | 12 ++++++------ .../react-test-renderer/cjs/ReactTestRenderer-dev.js | 8 ++++---- .../cjs/ReactTestRenderer-prod.js | 8 ++++---- .../cjs/ReactTestRenderer-profiling.js | 8 ++++---- .../RKJSModules/vendor/react/react/cjs/React-dev.js | 4 ++-- .../RKJSModules/vendor/react/react/cjs/React-prod.js | 4 ++-- .../vendor/react/react/cjs/React-profiling.js | 4 ++-- .../react-native-github/Libraries/Renderer/REVISION | 2 +- .../Renderer/implementations/ReactFabric-dev.fb.js | 6 +++--- .../Renderer/implementations/ReactFabric-prod.fb.js | 6 +++--- .../implementations/ReactFabric-profiling.fb.js | 6 +++--- .../implementations/ReactNativeRenderer-dev.fb.js | 10 +++++----- .../implementations/ReactNativeRenderer-prod.fb.js | 10 +++++----- .../ReactNativeRenderer-profiling.fb.js | 10 +++++----- .../cjs/eslint-plugin-react-hooks.development.js | 4 ++-- .../cjs/eslint-plugin-react-hooks.production.js | 4 ++-- .../js/tools/eslint-plugin-react-hooks/package.json | 2 +- 26 files changed, 91 insertions(+), 91 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index 3d51b180ae..3829164245 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.3.0-native-fb-57d5a597-20251002 \ No newline at end of file +19.3.0-native-fb-70b52bec-20251002 \ 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 6f11ad0fd0..cf58c614ff 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<<44a58f1c25f5d340803e6a2f02d44d58>> + * @generated SignedSource<> */ "use strict"; @@ -404,5 +404,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.3.0-native-fb-57d5a597-20251002"; + exports.version = "19.3.0-native-fb-70b52bec-20251002"; })(); 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 08194a4498..41448f3454 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.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; 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 08194a4498..41448f3454 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.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; 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 67b8dcadca..0e0baf37b5 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<<91b00c527532a1488188e3b7fba59e1d>> + * @generated SignedSource<<9546933ccd69ece5525d2758b03df590>> */ /* @@ -30061,11 +30061,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion) + if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30102,10 +30102,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30255,5 +30255,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.3.0-native-fb-57d5a597-20251002"; + exports.version = "19.3.0-native-fb-70b52bec-20251002"; })(); 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 78cc0cf364..d172d525f5 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<<11b6ad11c4ce1326f6620ffcd53ce388>> + * @generated SignedSource<<875025a4097f96a8980d4ea05c12d2b8>> */ /* @@ -17578,14 +17578,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2059 = React.version; if ( - "19.3.0-native-fb-57d5a597-20251002" !== + "19.3.0-native-fb-70b52bec-20251002" !== isomorphicReactPackageVersion$jscomp$inline_2059 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2059, - "19.3.0-native-fb-57d5a597-20251002" + "19.3.0-native-fb-70b52bec-20251002" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17607,10 +17607,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2636 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2637 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17717,4 +17717,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; 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 56745219ca..fd2780c7fb 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<<3f4913ddb2ace3afebef375803f9c060>> + * @generated SignedSource<> */ /* @@ -19716,14 +19716,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2374 = React.version; if ( - "19.3.0-native-fb-57d5a597-20251002" !== + "19.3.0-native-fb-70b52bec-20251002" !== isomorphicReactPackageVersion$jscomp$inline_2374 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2374, - "19.3.0-native-fb-57d5a597-20251002" + "19.3.0-native-fb-70b52bec-20251002" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19745,10 +19745,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2381 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002", + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$331 = 0; @@ -19871,4 +19871,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; 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 d1ce32683d..1091708f65 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<> */ /* @@ -30117,11 +30117,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion) + if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30158,10 +30158,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30627,7 +30627,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.3.0-native-fb-57d5a597-20251002"; + exports.version = "19.3.0-native-fb-70b52bec-20251002"; "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 885c4f79f9..0ceaf331a1 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<<4ff8a16c21a2635e6f0d627adcfbccdf>> + * @generated SignedSource<<8f1f3a3b5a63a6ba1d47e3f384425423>> */ /* @@ -17589,14 +17589,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2060 = React.version; if ( - "19.3.0-native-fb-57d5a597-20251002" !== + "19.3.0-native-fb-70b52bec-20251002" !== isomorphicReactPackageVersion$jscomp$inline_2060 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2060, - "19.3.0-native-fb-57d5a597-20251002" + "19.3.0-native-fb-70b52bec-20251002" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17618,10 +17618,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2639 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2640 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17881,4 +17881,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; 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 a3678869f5..2865d836f9 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<<270cae553112e9c9d9146f1123e105ca>> + * @generated SignedSource<<785a30774381eef3422773090d816420>> */ /* @@ -19731,14 +19731,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { }; var isomorphicReactPackageVersion$jscomp$inline_2375 = React.version; if ( - "19.3.0-native-fb-57d5a597-20251002" !== + "19.3.0-native-fb-70b52bec-20251002" !== isomorphicReactPackageVersion$jscomp$inline_2375 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2375, - "19.3.0-native-fb-57d5a597-20251002" + "19.3.0-native-fb-70b52bec-20251002" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19760,10 +19760,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { }; var internals$jscomp$inline_2382 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002", + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$331 = 0; @@ -20039,7 +20039,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; "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 7042ead182..b2024d929c 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<<251d34dcdebe289775774e7a2df6435c>> + * @generated SignedSource<<3ddfdb33ccaad7e97ef8965f5886cc29>> */ "use strict"; @@ -16015,10 +16015,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16164,5 +16164,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.3.0-native-fb-57d5a597-20251002"; + exports.version = "19.3.0-native-fb-70b52bec-20251002"; })(); 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 18925f2aec..a2c627025f 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<<685ba60e77c2a469d95bf6df65418dcc>> */ "use strict"; @@ -10105,10 +10105,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1493 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1494 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10244,4 +10244,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; 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 30bf09e56d..fd3bf60c5e 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<<39f32fe6717f5373e46bbe889d2ca34c>> + * @generated SignedSource<<42418bbdb7c46881891e8ece45ddc567>> */ "use strict"; @@ -10726,10 +10726,10 @@ function wrapFiber(fiber) { } var internals$jscomp$inline_1274 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002", + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$146 = 0; @@ -10880,4 +10880,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; 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 d82d1af104..e78743475e 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<<5e3dded7362938ca3a72148a619fc428>> + * @generated SignedSource<<2c7a04bb100aba5876da32dab73cc916>> */ "use strict"; @@ -1400,7 +1400,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.3.0-native-fb-57d5a597-20251002"; + exports.version = "19.3.0-native-fb-70b52bec-20251002"; "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 81cfed816f..0b2b8b849e 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<<5e2f4d771c0eb9ff55adf408b550e0a0>> */ "use strict"; @@ -583,4 +583,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; 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 28af936c14..a2aac2107a 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<<95f0a230bc43f7bbbf46d2ac6a254b94>> */ "use strict"; @@ -587,7 +587,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.3.0-native-fb-57d5a597-20251002"; +exports.version = "19.3.0-native-fb-70b52bec-20251002"; "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 1d9a514812..4da170dcc4 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 @@ -57d5a59748bbec1b507bb778c9fbe4bcb82b0a94 +70b52beca64aeac447a6cf57cfe1fda0691435c1 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 5fcc1046e9..c374b1cda1 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<<8f7e0621669d8574bc34114f4dcae5ab>> + * @generated SignedSource<<990b14a8e7b0aeff58f5cd151c64ea66>> */ "use strict"; @@ -20000,10 +20000,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; 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 dbcc829abb..dcbea07156 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<<7b701df91bd9a7d9c07d48d987347a03>> + * @generated SignedSource<<7f408915712591f29e2298942b057489>> */ "use strict"; @@ -11256,10 +11256,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1319 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1319.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 60f2baa9ad..890fe3e21b 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<> */ "use strict"; @@ -13320,10 +13320,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1627 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1627.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 564f693db0..484d8a8285 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<<8752b3aa66c6db91bba68e58948d3ada>> + * @generated SignedSource<<42b9da57b698fa12ec9a2884ffd9a59a>> */ "use strict"; @@ -20292,11 +20292,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion) + if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -20322,10 +20322,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; 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 59479df65c..05a9b294fe 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<<3acc34d687ab36dfb78628d9d57e5b97>> + * @generated SignedSource<> */ "use strict"; @@ -11426,11 +11426,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion) +if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11480,10 +11480,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1326 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1326.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 682a648d2e..2e7cc43733 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<<29d6a3eb2ca5756a51596aeddd5d748f>> + * @generated SignedSource<<0bf5e9f067814ce9a7e75c941dd5e731>> */ "use strict"; @@ -13483,11 +13483,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.3.0-native-fb-57d5a597-20251002" !== isomorphicReactPackageVersion) +if ("19.3.0-native-fb-70b52bec-20251002" !== 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.3.0-native-fb-57d5a597-20251002\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.3.0-native-fb-70b52bec-20251002\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -13537,10 +13537,10 @@ batchedUpdatesImpl = function (fn, a) { var roots = new Map(), internals$jscomp$inline_1634 = { bundleType: 0, - version: "19.3.0-native-fb-57d5a597-20251002", + version: "19.3.0-native-fb-70b52bec-20251002", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.3.0-native-fb-57d5a597-20251002" + reconcilerVersion: "19.3.0-native-fb-70b52bec-20251002" }; null !== extraDevToolsConfig && (internals$jscomp$inline_1634.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js index 61f05efb65..84a346e417 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js +++ b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.development.js @@ -12,7 +12,7 @@ * @lightSyntaxTransform * @preventMunge * @oncall react_core - * @generated SignedSource<> + * @generated SignedSource<<04d8bfbad94326555eaa3b2d3b1e01f7>> */ 'use strict'; @@ -32124,7 +32124,7 @@ const EnvironmentConfigSchema = zod.z.object({ moduleTypeProvider: zod.z.nullable(zod.z.function().args(zod.z.string())).default(null), customMacros: zod.z.nullable(zod.z.array(MacroSchema)).default(null), enableResetCacheOnSourceFileChanges: zod.z.nullable(zod.z.boolean()).default(null), - enablePreserveExistingMemoizationGuarantees: zod.z.boolean().default(false), + enablePreserveExistingMemoizationGuarantees: zod.z.boolean().default(true), validatePreserveExistingMemoizationGuarantees: zod.z.boolean().default(true), enablePreserveExistingManualUseMemo: zod.z.boolean().default(false), enableForest: zod.z.boolean().default(false), diff --git a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.js b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.js index 18e93d89d0..9967a551ce 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.js +++ b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/cjs/eslint-plugin-react-hooks.production.js @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - * @generated SignedSource<> + * @generated SignedSource<<4e4a1e86e0614b95a7debf3a95619ba4>> */ 'use strict'; @@ -31903,7 +31903,7 @@ const EnvironmentConfigSchema = zod.z.object({ moduleTypeProvider: zod.z.nullable(zod.z.function().args(zod.z.string())).default(null), customMacros: zod.z.nullable(zod.z.array(MacroSchema)).default(null), enableResetCacheOnSourceFileChanges: zod.z.nullable(zod.z.boolean()).default(null), - enablePreserveExistingMemoizationGuarantees: zod.z.boolean().default(false), + enablePreserveExistingMemoizationGuarantees: zod.z.boolean().default(true), validatePreserveExistingMemoizationGuarantees: zod.z.boolean().default(true), enablePreserveExistingManualUseMemo: zod.z.boolean().default(false), enableForest: zod.z.boolean().default(false), diff --git a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json index c124f38a32..2064b6872f 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json +++ b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json @@ -1,7 +1,7 @@ { "name": "eslint-plugin-react-hooks", "description": "ESLint rules for React Hooks", - "version": "0.0.0-experimental-57d5a597-20251002", + "version": "0.0.0-experimental-70b52bec-20251002", "repository": { "type": "git", "url": "https://github.com/facebook/react.git",