From e0ef1b20bca0df49667f9226e879c87516e3a488 Mon Sep 17 00:00:00 2001 From: dmytrorykun Date: Wed, 5 Jun 2024 14:12:44 +0000 Subject: [PATCH] Add enableShallowPropDiffing feature flag (#29664) ## Summary We currently do deep diffing for object props, and also use custom differs, if they are defined, for props with custom attribute config. The idea is to simply do a `===` comparison instead of all that work. We will do less computation on the JS side, but send more data to native. The hypothesis is that this change should be neutral in terms of performance. If that's the case, we'll be able to get rid of custom differs, and be one step closer to deleting view configs. This PR adds the `enableShallowPropDiffing` feature flag to support this experiment. ## How did you test this change? With `enableShallowPropDiffing` hardcoded to `true`: ``` yarn test packages/react-native-renderer ``` This fails on the following test cases: - should use the diff attribute - should do deep diffs of Objects by default - should skip deeply-nested changed functions Which makes sense with this change. These test cases should be deleted if the experiment is shipped. DiffTrain build for [eb259b5d3b20b053dc0444e6ae442774c396c4a7](https://github.com/facebook/react/commit/eb259b5d3b20b053dc0444e6ae442774c396c4a7) --- 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 | 4 ++-- compiled/facebook-www/ReactART-dev.modern.js | 4 ++-- compiled/facebook-www/ReactART-prod.classic.js | 4 ++-- compiled/facebook-www/ReactART-prod.modern.js | 4 ++-- compiled/facebook-www/ReactDOM-dev.classic.js | 4 ++-- compiled/facebook-www/ReactDOM-dev.modern.js | 4 ++-- compiled/facebook-www/ReactDOM-prod.classic.js | 10 +++++----- compiled/facebook-www/ReactDOM-prod.modern.js | 10 +++++----- compiled/facebook-www/ReactDOM-profiling.classic.js | 10 +++++----- compiled/facebook-www/ReactDOM-profiling.modern.js | 10 +++++----- compiled/facebook-www/ReactDOMServer-dev.classic.js | 2 +- compiled/facebook-www/ReactDOMServer-dev.modern.js | 2 +- compiled/facebook-www/ReactDOMServer-prod.classic.js | 2 +- compiled/facebook-www/ReactDOMServer-prod.modern.js | 2 +- compiled/facebook-www/ReactDOMTesting-dev.classic.js | 4 ++-- compiled/facebook-www/ReactDOMTesting-dev.modern.js | 4 ++-- compiled/facebook-www/ReactDOMTesting-prod.classic.js | 10 +++++----- compiled/facebook-www/ReactDOMTesting-prod.modern.js | 10 +++++----- compiled/facebook-www/ReactReconciler-dev.classic.js | 4 ++-- compiled/facebook-www/ReactReconciler-dev.modern.js | 4 ++-- compiled/facebook-www/ReactReconciler-prod.classic.js | 2 +- compiled/facebook-www/ReactReconciler-prod.modern.js | 2 +- compiled/facebook-www/ReactTestRenderer-dev.classic.js | 4 ++-- compiled/facebook-www/ReactTestRenderer-dev.modern.js | 4 ++-- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 34 files changed, 70 insertions(+), 70 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 22cc5e090c792..1427b20e3340a 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -a26e90c29cfa841d3e2bc08876c5929d5680fb6d +eb259b5d3b20b053dc0444e6ae442774c396c4a7 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 22cc5e090c792..1427b20e3340a 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -a26e90c29cfa841d3e2bc08876c5929d5680fb6d +eb259b5d3b20b053dc0444e6ae442774c396c4a7 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 296b56b08a6e7..b5f9755264b74 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -22,7 +22,7 @@ if ( ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } -var ReactVersion = '19.0.0-www-classic-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-classic-eb259b5d3b-20240605'; // Re-export dynamic flags from the www version. var dynamicFeatureFlags = require('ReactFeatureFlags'); diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index 1afe5c9cfce8c..c2ea56b001aed 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -22,7 +22,7 @@ if ( ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } -var ReactVersion = '19.0.0-www-modern-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-modern-eb259b5d3b-20240605'; // Re-export dynamic flags from the www version. var dynamicFeatureFlags = require('ReactFeatureFlags'); diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index 1309c66620e67..d275f7d8a0098 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -665,4 +665,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-a26e90c29c-20240604"; +exports.version = "19.0.0-www-classic-eb259b5d3b-20240605"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 141a9d47aa56e..e26ea4a4fe3e1 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -665,4 +665,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-a26e90c29c-20240604"; +exports.version = "19.0.0-www-modern-eb259b5d3b-20240605"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 4e392d7c4b1aa..a6fbff7529d4e 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -669,7 +669,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-a26e90c29c-20240604"; +exports.version = "19.0.0-www-classic-eb259b5d3b-20240605"; "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 3cb4a66f4cc75..0ad8f82bb7a33 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -669,7 +669,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-a26e90c29c-20240604"; +exports.version = "19.0.0-www-modern-eb259b5d3b-20240605"; "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 6cd4ab6ffb6a2..dca5b78be7873 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -60,7 +60,7 @@ function _assertThisInitialized(self) { return self; } -var ReactVersion = '19.0.0-www-classic-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-classic-eb259b5d3b-20240605'; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -166,7 +166,7 @@ var enableAsyncActions = true; var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler; var enableAsyncIterableChildren = false; var disableLegacyMode = false; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 4a788a4b267bb..1940270619036 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -60,7 +60,7 @@ function _assertThisInitialized(self) { return self; } -var ReactVersion = '19.0.0-www-modern-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-modern-eb259b5d3b-20240605'; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -166,7 +166,7 @@ var enableAsyncActions = true; var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler; var enableAsyncIterableChildren = false; var disableLegacyMode = true; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index dcc6695b7df37..a6850b55d683d 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -10674,7 +10674,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "19.0.0-www-classic-a26e90c29c-20240604", + version: "19.0.0-www-classic-eb259b5d3b-20240605", rendererPackageName: "react-art" }; var internals$jscomp$inline_1371 = { @@ -10705,7 +10705,7 @@ var internals$jscomp$inline_1371 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-classic-eb259b5d3b-20240605" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1372 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 5a1941818475a..d56b1cfe1442d 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -10149,7 +10149,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "19.0.0-www-modern-a26e90c29c-20240604", + version: "19.0.0-www-modern-eb259b5d3b-20240605", rendererPackageName: "react-art" }; var internals$jscomp$inline_1357 = { @@ -10180,7 +10180,7 @@ var internals$jscomp$inline_1357 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-modern-eb259b5d3b-20240605" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1358 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 4210f861c3ef2..471b98eb97ce8 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -133,7 +133,7 @@ var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler; var enableAsyncIterableChildren = false; var enableSuspenseCallback = true; var disableLegacyMode = false; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; @@ -31138,7 +31138,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-classic-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-classic-eb259b5d3b-20240605'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 6b2fe2db9c1cc..fc5efc46e435a 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -130,7 +130,7 @@ var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler; var enableAsyncIterableChildren = false; var enableSuspenseCallback = true; var disableLegacyMode = true; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; @@ -30315,7 +30315,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-modern-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-modern-eb259b5d3b-20240605'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index 5f8f145c617e7..b4b1ec265f90c 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -17081,14 +17081,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1754 = React.version; if ( - "19.0.0-www-classic-a26e90c29c-20240604" !== + "19.0.0-www-classic-eb259b5d3b-20240605" !== isomorphicReactPackageVersion$jscomp$inline_1754 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1754, - "19.0.0-www-classic-a26e90c29c-20240604" + "19.0.0-www-classic-eb259b5d3b-20240605" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17107,7 +17107,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1761 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-a26e90c29c-20240604", + version: "19.0.0-www-classic-eb259b5d3b-20240605", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2205 = { @@ -17137,7 +17137,7 @@ var internals$jscomp$inline_2205 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-classic-eb259b5d3b-20240605" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2206 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17641,4 +17641,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-a26e90c29c-20240604"; +exports.version = "19.0.0-www-classic-eb259b5d3b-20240605"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 8c0df13e78b34..834da352a242c 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -16444,14 +16444,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1725 = React.version; if ( - "19.0.0-www-modern-a26e90c29c-20240604" !== + "19.0.0-www-modern-eb259b5d3b-20240605" !== isomorphicReactPackageVersion$jscomp$inline_1725 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1725, - "19.0.0-www-modern-a26e90c29c-20240604" + "19.0.0-www-modern-eb259b5d3b-20240605" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -16470,7 +16470,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1727 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-a26e90c29c-20240604", + version: "19.0.0-www-modern-eb259b5d3b-20240605", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2196 = { @@ -16500,7 +16500,7 @@ var internals$jscomp$inline_2196 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-modern-eb259b5d3b-20240605" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2197 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16874,4 +16874,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-a26e90c29c-20240604"; +exports.version = "19.0.0-www-modern-eb259b5d3b-20240605"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 4f2903c3a96f5..8c716fb939074 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -17848,14 +17848,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1841 = React.version; if ( - "19.0.0-www-classic-a26e90c29c-20240604" !== + "19.0.0-www-classic-eb259b5d3b-20240605" !== isomorphicReactPackageVersion$jscomp$inline_1841 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1841, - "19.0.0-www-classic-a26e90c29c-20240604" + "19.0.0-www-classic-eb259b5d3b-20240605" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17874,7 +17874,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1848 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-a26e90c29c-20240604", + version: "19.0.0-www-classic-eb259b5d3b-20240605", rendererPackageName: "react-dom" }; (function (internals) { @@ -17918,7 +17918,7 @@ var devToolsConfig$jscomp$inline_1848 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-classic-eb259b5d3b-20240605" }); function ReactDOMRoot(internalRoot) { this._internalRoot = internalRoot; @@ -18409,7 +18409,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-a26e90c29c-20240604"; +exports.version = "19.0.0-www-classic-eb259b5d3b-20240605"; "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 d80eeaf11f236..504b8073c6fb1 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -17194,14 +17194,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1812 = React.version; if ( - "19.0.0-www-modern-a26e90c29c-20240604" !== + "19.0.0-www-modern-eb259b5d3b-20240605" !== isomorphicReactPackageVersion$jscomp$inline_1812 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1812, - "19.0.0-www-modern-a26e90c29c-20240604" + "19.0.0-www-modern-eb259b5d3b-20240605" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17220,7 +17220,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1814 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-a26e90c29c-20240604", + version: "19.0.0-www-modern-eb259b5d3b-20240605", rendererPackageName: "react-dom" }; (function (internals) { @@ -17264,7 +17264,7 @@ var devToolsConfig$jscomp$inline_1814 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-modern-eb259b5d3b-20240605" }); function ReactDOMRoot(internalRoot) { this._internalRoot = internalRoot; @@ -17625,7 +17625,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-a26e90c29c-20240604"; +exports.version = "19.0.0-www-modern-eb259b5d3b-20240605"; "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 3a92d30ea1e70..f318c1f32951d 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -19,7 +19,7 @@ if (__DEV__) { var React = require('react'); var ReactDOM = require('react-dom'); -var ReactVersion = '19.0.0-www-classic-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-classic-eb259b5d3b-20240605'; // This refers to a WWW module. var warningWWW = require('warning'); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 9d629c23efb1d..37d8263c1e4f8 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -19,7 +19,7 @@ if (__DEV__) { var React = require('react'); var ReactDOM = require('react-dom'); -var ReactVersion = '19.0.0-www-modern-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-modern-eb259b5d3b-20240605'; // This refers to a WWW module. var warningWWW = require('warning'); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 73f0aa176ee5d..35c2b3a706a96 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -5695,4 +5695,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.0.0-www-classic-a26e90c29c-20240604"; +exports.version = "19.0.0-www-classic-eb259b5d3b-20240605"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 6b6719c58a4a1..58ee24fb829d5 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -5673,4 +5673,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.0.0-www-modern-a26e90c29c-20240604"; +exports.version = "19.0.0-www-modern-eb259b5d3b-20240605"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index dbcfa2434300d..255fd6b227bc6 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -127,7 +127,7 @@ var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler; var enableAsyncIterableChildren = false; var enableSuspenseCallback = true; var disableLegacyMode = false; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; @@ -31704,7 +31704,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-classic-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-classic-eb259b5d3b-20240605'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 0415abfebdeca..d12854aca718a 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -124,7 +124,7 @@ var enableSchedulingProfiler = dynamicFeatureFlags.enableSchedulingProfiler; var enableAsyncIterableChildren = false; var enableSuspenseCallback = true; var disableLegacyMode = true; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; @@ -30881,7 +30881,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-modern-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-modern-eb259b5d3b-20240605'; function createPortal$1(children, containerInfo, // TODO: figure out the API for cross-renderer implementation. implementation) { diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index e77ea867c1e3a..f0b721bc926c3 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -17410,14 +17410,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1784 = React.version; if ( - "19.0.0-www-classic-a26e90c29c-20240604" !== + "19.0.0-www-classic-eb259b5d3b-20240605" !== isomorphicReactPackageVersion$jscomp$inline_1784 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1784, - "19.0.0-www-classic-a26e90c29c-20240604" + "19.0.0-www-classic-eb259b5d3b-20240605" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17436,7 +17436,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1791 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-a26e90c29c-20240604", + version: "19.0.0-www-classic-eb259b5d3b-20240605", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2240 = { @@ -17466,7 +17466,7 @@ var internals$jscomp$inline_2240 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-classic-eb259b5d3b-20240605" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2241 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18121,4 +18121,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-a26e90c29c-20240604"; +exports.version = "19.0.0-www-classic-eb259b5d3b-20240605"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 55e37b1d7b306..146793b6d4ff2 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -16832,14 +16832,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1755 = React.version; if ( - "19.0.0-www-modern-a26e90c29c-20240604" !== + "19.0.0-www-modern-eb259b5d3b-20240605" !== isomorphicReactPackageVersion$jscomp$inline_1755 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1755, - "19.0.0-www-modern-a26e90c29c-20240604" + "19.0.0-www-modern-eb259b5d3b-20240605" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -16858,7 +16858,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1757 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-a26e90c29c-20240604", + version: "19.0.0-www-modern-eb259b5d3b-20240605", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2231 = { @@ -16888,7 +16888,7 @@ var internals$jscomp$inline_2231 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-modern-eb259b5d3b-20240605" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2232 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17413,4 +17413,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-a26e90c29c-20240604"; +exports.version = "19.0.0-www-modern-eb259b5d3b-20240605"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index d11659e1a4872..0f9817a94e727 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -127,7 +127,7 @@ var enableAsyncIterableChildren = false; var enableSuspenseCallback = true; var passChildrenWhenCloningPersistedNodes = false; var disableLegacyMode = false; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; @@ -28891,7 +28891,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-classic-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-classic-eb259b5d3b-20240605'; /* * The `'' + value` pattern (used in perf-sensitive code) throws for Symbol diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index 0cbdac113647c..68ad9d790aca5 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -127,7 +127,7 @@ var enableAsyncIterableChildren = false; var enableSuspenseCallback = true; var passChildrenWhenCloningPersistedNodes = false; var disableLegacyMode = true; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; @@ -28159,7 +28159,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-modern-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-modern-eb259b5d3b-20240605'; /* * The `'' + value` pattern (used in perf-sensitive code) throws for Symbol diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index aea3a13ab083d..607098f65f265 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -12661,7 +12661,7 @@ module.exports = function ($$$config) { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-classic-eb259b5d3b-20240605" }; if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) devToolsConfig = !1; diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index b961934172859..cbe91baa8a007 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -12174,7 +12174,7 @@ module.exports = function ($$$config) { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-a26e90c29c-20240604" + reconcilerVersion: "19.0.0-www-modern-eb259b5d3b-20240605" }; if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) devToolsConfig = !1; diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 6ccc912b21cdb..ed784e41336ba 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -132,7 +132,7 @@ var enableLegacyHidden = false; var enableAsyncActions = true; var alwaysThrottleRetries = true; var disableLegacyMode = false; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; @@ -23404,7 +23404,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-classic-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-classic-eb259b5d3b-20240605'; /* * The `'' + value` pattern (used in perf-sensitive code) throws for Symbol diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 752cc3d67a889..5be15a195c2de 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -132,7 +132,7 @@ var enableLegacyHidden = false; var enableAsyncActions = true; var alwaysThrottleRetries = true; var disableLegacyMode = false; -var enableOwnerStacks = false; // Flow magic to verify the exports of this file match the original version. +var enableOwnerStacks = false; var FunctionComponent = 0; var ClassComponent = 1; @@ -23404,7 +23404,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-modern-a26e90c29c-20240604'; +var ReactVersion = '19.0.0-www-modern-eb259b5d3b-20240605'; /* * The `'' + value` pattern (used in perf-sensitive code) throws for Symbol diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 1e45b2c02a2b4..ae3ce0025430e 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.0.0-www-classic-a26e90c29c-20240604 \ No newline at end of file +19.0.0-www-classic-eb259b5d3b-20240605 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index eae720a89745a..182b0592bef0d 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.0.0-www-modern-a26e90c29c-20240604 \ No newline at end of file +19.0.0-www-modern-eb259b5d3b-20240605 \ No newline at end of file