From aa31ab17b8ba4d983fe0abe3aaf3ddb60bb984f1 Mon Sep 17 00:00:00 2001 From: josephsavona Date: Wed, 3 Sep 2025 17:51:11 -0700 Subject: [PATCH] [compiler] enablePreserveExistingMemo memoizes primitive-returning functions (#34343) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `@enablePreserveExistingMemoizationGuarantees` mode currently does not guarantee memoization of primitive-returning functions. We're often able to infer that a function returns a primitive based on how its result is used, for example `foo() + 1` or `object[getIndex()]`, and by default we do not currently memoize computation that produces a primitive. The reasoning behind this is that the compiler is primarily focused on stopping cascading updates — it's fine to recompute a primitive since we can cheaply compare that primitive and avoid unnecessary downstream recomputation. But we've gotten a lot of feedback that people find this surprising, and that sometimes the computation can be expensive enough that it should be memoized. This PR changes `@enablePreserveExistingMemoizationGuarantees` mode to ensure that primitive-returning functions get memoized. Other modes will not memoize these functions. Separately from this we are considering enabling this mode by default. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34343). * #34347 * #34346 * __->__ #34343 * #34335 DiffTrain build for [735e9ac54e5b46e5a963e0e436330baf20fb04c2](https://github.com/facebook/react/commit/735e9ac54e5b46e5a963e0e436330baf20fb04c2) --- compiled/eslint-plugin-react-hooks/index.js | 14 ++++++++++---- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- compiled/facebook-www/React-profiling.classic.js | 2 +- compiled/facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 6 +++--- compiled/facebook-www/ReactART-dev.modern.js | 6 +++--- compiled/facebook-www/ReactART-prod.classic.js | 6 +++--- compiled/facebook-www/ReactART-prod.modern.js | 6 +++--- compiled/facebook-www/ReactDOM-dev.classic.js | 10 +++++----- compiled/facebook-www/ReactDOM-dev.modern.js | 10 +++++----- compiled/facebook-www/ReactDOM-prod.classic.js | 10 +++++----- compiled/facebook-www/ReactDOM-prod.modern.js | 10 +++++----- .../facebook-www/ReactDOM-profiling.classic.js | 10 +++++----- compiled/facebook-www/ReactDOM-profiling.modern.js | 10 +++++----- .../facebook-www/ReactDOMServer-dev.classic.js | 2 +- compiled/facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../facebook-www/ReactDOMServer-prod.classic.js | 2 +- .../facebook-www/ReactDOMServer-prod.modern.js | 2 +- .../facebook-www/ReactDOMTesting-dev.classic.js | 10 +++++----- .../facebook-www/ReactDOMTesting-dev.modern.js | 10 +++++----- .../facebook-www/ReactDOMTesting-prod.classic.js | 10 +++++----- .../facebook-www/ReactDOMTesting-prod.modern.js | 10 +++++----- .../facebook-www/ReactReconciler-dev.classic.js | 2 +- .../facebook-www/ReactReconciler-dev.modern.js | 2 +- .../facebook-www/ReactReconciler-prod.classic.js | 2 +- .../facebook-www/ReactReconciler-prod.modern.js | 2 +- .../facebook-www/ReactTestRenderer-dev.classic.js | 6 +++--- .../facebook-www/ReactTestRenderer-dev.modern.js | 6 +++--- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 35 files changed, 96 insertions(+), 90 deletions(-) diff --git a/compiled/eslint-plugin-react-hooks/index.js b/compiled/eslint-plugin-react-hooks/index.js index bdd1774077..c9de11f788 100644 --- a/compiled/eslint-plugin-react-hooks/index.js +++ b/compiled/eslint-plugin-react-hooks/index.js @@ -41508,7 +41508,8 @@ class CollectDependenciesVisitor extends ReactiveFunctionVisitor { this.state = state; this.options = { memoizeJsxElements: !this.env.config.enableForest, - forceMemoizePrimitives: this.env.config.enableForest, + forceMemoizePrimitives: this.env.config.enableForest || + this.env.config.enablePreserveExistingMemoizationGuarantees, }; } computeMemoizationInputs(value, lvalue) { @@ -41596,9 +41597,14 @@ class CollectDependenciesVisitor extends ReactiveFunctionVisitor { case 'JSXText': case 'BinaryExpression': case 'UnaryExpression': { - const level = options.forceMemoizePrimitives - ? MemoizationLevel.Memoized - : MemoizationLevel.Never; + if (options.forceMemoizePrimitives) { + const level = MemoizationLevel.Memoized; + return { + lvalues: lvalue !== null ? [{ place: lvalue, level }] : [], + rvalues: [...eachReactiveValueOperand(value)], + }; + } + const level = MemoizationLevel.Never; return { lvalues: lvalue !== null ? [{ place: lvalue, level }] : [], rvalues: [], diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 5b25d17bb8..1c7f0a42ab 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -5d64f742114203e4fbdd605ce398696d18901f35 +735e9ac54e5b46e5a963e0e436330baf20fb04c2 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 5b25d17bb8..1c7f0a42ab 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -5d64f742114203e4fbdd605ce398696d18901f35 +735e9ac54e5b46e5a963e0e436330baf20fb04c2 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 6ed1ed0956..5f6d8fa65c 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -1418,7 +1418,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-www-classic-5d64f742-20250903"; + exports.version = "19.2.0-www-classic-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index 8573b0bbb0..e4bd6a8854 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1418,7 +1418,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-www-modern-5d64f742-20250903"; + exports.version = "19.2.0-www-modern-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index cfdf6c5c59..9ae76eec99 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -600,4 +600,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-classic-5d64f742-20250903"; +exports.version = "19.2.0-www-classic-735e9ac5-20250903"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index fe8dc9f215..2559952fe3 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -600,4 +600,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-modern-5d64f742-20250903"; +exports.version = "19.2.0-www-modern-735e9ac5-20250903"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 5fbeead7a9..6a530885a4 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -604,7 +604,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-classic-5d64f742-20250903"; +exports.version = "19.2.0-www-classic-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index 654a2be00a..97fbf7b1ad 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -604,7 +604,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-modern-5d64f742-20250903"; +exports.version = "19.2.0-www-modern-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index ec4283a791..9bc8d0d9ef 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -19708,10 +19708,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-5d64f742-20250903", + version: "19.2.0-www-classic-735e9ac5-20250903", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -19745,7 +19745,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.2.0-www-classic-5d64f742-20250903"; + exports.version = "19.2.0-www-classic-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 99c205909c..93df75c2b3 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -19479,10 +19479,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-5d64f742-20250903", + version: "19.2.0-www-modern-735e9ac5-20250903", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -19516,7 +19516,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.2.0-www-modern-5d64f742-20250903"; + exports.version = "19.2.0-www-modern-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index 7bc58fef27..c471b22bf2 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -11419,10 +11419,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1631 = { bundleType: 0, - version: "19.2.0-www-classic-5d64f742-20250903", + version: "19.2.0-www-classic-735e9ac5-20250903", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1632 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -11448,4 +11448,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.2.0-www-classic-5d64f742-20250903"; +exports.version = "19.2.0-www-classic-735e9ac5-20250903"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index bbb19cd07a..e2368311d6 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -11131,10 +11131,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1604 = { bundleType: 0, - version: "19.2.0-www-modern-5d64f742-20250903", + version: "19.2.0-www-modern-735e9ac5-20250903", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1605 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -11160,4 +11160,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.2.0-www-modern-5d64f742-20250903"; +exports.version = "19.2.0-www-modern-735e9ac5-20250903"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 963c50b86b..ed11b12065 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -32312,11 +32312,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-classic-5d64f742-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-www-classic-735e9ac5-20250903" !== 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.2.0-www-classic-5d64f742-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-classic-735e9ac5-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -32359,10 +32359,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-5d64f742-20250903", + version: "19.2.0-www-classic-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -32974,7 +32974,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-classic-5d64f742-20250903"; + exports.version = "19.2.0-www-classic-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 5ee348d992..656f419a56 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -32097,11 +32097,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-modern-5d64f742-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-www-modern-735e9ac5-20250903" !== 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.2.0-www-modern-5d64f742-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-modern-735e9ac5-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -32144,10 +32144,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-5d64f742-20250903", + version: "19.2.0-www-modern-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -32759,7 +32759,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-modern-5d64f742-20250903"; + exports.version = "19.2.0-www-modern-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index a86fc791fb..596cd93f59 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -19780,14 +19780,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2114 = React.version; if ( - "19.2.0-www-classic-5d64f742-20250903" !== + "19.2.0-www-classic-735e9ac5-20250903" !== isomorphicReactPackageVersion$jscomp$inline_2114 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2114, - "19.2.0-www-classic-5d64f742-20250903" + "19.2.0-www-classic-735e9ac5-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19805,10 +19805,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2746 = { bundleType: 0, - version: "19.2.0-www-classic-5d64f742-20250903", + version: "19.2.0-www-classic-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2747 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -20237,4 +20237,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-5d64f742-20250903"; +exports.version = "19.2.0-www-classic-735e9ac5-20250903"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index ef3d2ab839..02df52b44f 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -19509,14 +19509,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2104 = React.version; if ( - "19.2.0-www-modern-5d64f742-20250903" !== + "19.2.0-www-modern-735e9ac5-20250903" !== isomorphicReactPackageVersion$jscomp$inline_2104 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2104, - "19.2.0-www-modern-5d64f742-20250903" + "19.2.0-www-modern-735e9ac5-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19534,10 +19534,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2728 = { bundleType: 0, - version: "19.2.0-www-modern-5d64f742-20250903", + version: "19.2.0-www-modern-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2729 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -19966,4 +19966,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-5d64f742-20250903"; +exports.version = "19.2.0-www-modern-735e9ac5-20250903"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 283ffa01cb..445d87c595 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -21834,14 +21834,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2361 = React.version; if ( - "19.2.0-www-classic-5d64f742-20250903" !== + "19.2.0-www-classic-735e9ac5-20250903" !== isomorphicReactPackageVersion$jscomp$inline_2361 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2361, - "19.2.0-www-classic-5d64f742-20250903" + "19.2.0-www-classic-735e9ac5-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -21859,10 +21859,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2363 = { bundleType: 0, - version: "19.2.0-www-classic-5d64f742-20250903", + version: "19.2.0-www-classic-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; enableSchedulingProfiler && ((internals$jscomp$inline_2363.getLaneLabelMap = getLaneLabelMap), @@ -22295,7 +22295,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-5d64f742-20250903"; +exports.version = "19.2.0-www-classic-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index fc0c5497b2..71030451fd 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -21628,14 +21628,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2351 = React.version; if ( - "19.2.0-www-modern-5d64f742-20250903" !== + "19.2.0-www-modern-735e9ac5-20250903" !== isomorphicReactPackageVersion$jscomp$inline_2351 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2351, - "19.2.0-www-modern-5d64f742-20250903" + "19.2.0-www-modern-735e9ac5-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -21653,10 +21653,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2353 = { bundleType: 0, - version: "19.2.0-www-modern-5d64f742-20250903", + version: "19.2.0-www-modern-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; enableSchedulingProfiler && ((internals$jscomp$inline_2353.getLaneLabelMap = getLaneLabelMap), @@ -22089,7 +22089,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-5d64f742-20250903"; +exports.version = "19.2.0-www-modern-735e9ac5-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 4124513097..e0ab43597d 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -10163,5 +10163,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-www-classic-5d64f742-20250903"; + exports.version = "19.2.0-www-classic-735e9ac5-20250903"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 08abf3684b..530679c6d9 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -10092,5 +10092,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-www-modern-5d64f742-20250903"; + exports.version = "19.2.0-www-modern-735e9ac5-20250903"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 4c0b5077e1..b6102d2551 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -6892,4 +6892,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.2.0-www-classic-5d64f742-20250903"; +exports.version = "19.2.0-www-classic-735e9ac5-20250903"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 635319754b..66c455c80e 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -6825,4 +6825,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.2.0-www-modern-5d64f742-20250903"; +exports.version = "19.2.0-www-modern-735e9ac5-20250903"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index a6c43ae19f..d2c0bace84 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -32633,11 +32633,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-classic-5d64f742-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-www-classic-735e9ac5-20250903" !== 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.2.0-www-classic-5d64f742-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-classic-735e9ac5-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -32680,10 +32680,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-5d64f742-20250903", + version: "19.2.0-www-classic-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -33461,5 +33461,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-classic-5d64f742-20250903"; + exports.version = "19.2.0-www-classic-735e9ac5-20250903"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index fef4787e49..ebbfc02c15 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -32418,11 +32418,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-modern-5d64f742-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-www-modern-735e9ac5-20250903" !== 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.2.0-www-modern-5d64f742-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-modern-735e9ac5-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -32465,10 +32465,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-5d64f742-20250903", + version: "19.2.0-www-modern-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -33246,5 +33246,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-modern-5d64f742-20250903"; + exports.version = "19.2.0-www-modern-735e9ac5-20250903"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index ac10fc6bd7..1cca40638d 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -20096,14 +20096,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2143 = React.version; if ( - "19.2.0-www-classic-5d64f742-20250903" !== + "19.2.0-www-classic-735e9ac5-20250903" !== isomorphicReactPackageVersion$jscomp$inline_2143 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2143, - "19.2.0-www-classic-5d64f742-20250903" + "19.2.0-www-classic-735e9ac5-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -20121,10 +20121,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2780 = { bundleType: 0, - version: "19.2.0-www-classic-5d64f742-20250903", + version: "19.2.0-www-classic-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2781 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -20704,4 +20704,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-5d64f742-20250903"; +exports.version = "19.2.0-www-classic-735e9ac5-20250903"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 749f4a7be2..ce19353c22 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -19825,14 +19825,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2133 = React.version; if ( - "19.2.0-www-modern-5d64f742-20250903" !== + "19.2.0-www-modern-735e9ac5-20250903" !== isomorphicReactPackageVersion$jscomp$inline_2133 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2133, - "19.2.0-www-modern-5d64f742-20250903" + "19.2.0-www-modern-735e9ac5-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19850,10 +19850,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2762 = { bundleType: 0, - version: "19.2.0-www-modern-5d64f742-20250903", + version: "19.2.0-www-modern-735e9ac5-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2763 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -20433,4 +20433,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-5d64f742-20250903"; +exports.version = "19.2.0-www-modern-735e9ac5-20250903"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 9674b79fd3..8d272da7e1 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -22572,7 +22572,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index 4520b3a37f..7b215d4112 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -22352,7 +22352,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 8a386632cf..b1ffd77593 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -14163,7 +14163,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 02f303fa66..df3ced1d94 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -13880,7 +13880,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 8b93df5553..817cb81c9a 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -15571,10 +15571,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-5d64f742-20250903", + version: "19.2.0-www-classic-735e9ac5-20250903", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-classic-735e9ac5-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15709,5 +15709,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.2.0-www-classic-5d64f742-20250903"; + exports.version = "19.2.0-www-classic-735e9ac5-20250903"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 3caf099004..f3bd9cd8f2 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -15571,10 +15571,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-5d64f742-20250903", + version: "19.2.0-www-modern-735e9ac5-20250903", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-5d64f742-20250903" + reconcilerVersion: "19.2.0-www-modern-735e9ac5-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15709,5 +15709,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.2.0-www-modern-5d64f742-20250903"; + exports.version = "19.2.0-www-modern-735e9ac5-20250903"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 421dc2730c..61fdb6aad2 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.2.0-www-classic-5d64f742-20250903 \ No newline at end of file +19.2.0-www-classic-735e9ac5-20250903 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index 8ac1e0def7..8e4505edfe 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.2.0-www-modern-5d64f742-20250903 \ No newline at end of file +19.2.0-www-modern-735e9ac5-20250903 \ No newline at end of file