From e2de2adf75006b9615925a1dc92daece16210bb4 Mon Sep 17 00:00:00 2001 From: gnoff Date: Thu, 26 Sep 2024 13:59:31 -0700 Subject: [PATCH] [Fizz] Start initial work immediately (#31079) In a recent update we make Flight start working immediately rather than waitin for a new task. This commit updates fizz to have similar mechanics. We start the render in the currently running task but we do so in a microtask to avoid reentrancy. This aligns Fizz with Flight. ref: https://github.com/facebook/react/pull/30961 DiffTrain build for [67fee58b1f72754cc77488c40c44e786572ef954](https://github.com/facebook/react/commit/67fee58b1f72754cc77488c40c44e786572ef954) --- 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 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 6 +- compiled/facebook-www/ReactART-dev.modern.js | 6 +- .../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 +-- .../facebook-www/ReactDOM-prod.classic.js | 10 +-- compiled/facebook-www/ReactDOM-prod.modern.js | 10 +-- .../ReactDOM-profiling.classic.js | 10 +-- .../facebook-www/ReactDOM-profiling.modern.js | 10 +-- .../ReactDOMServer-dev.classic.js | 43 +++++----- .../facebook-www/ReactDOMServer-dev.modern.js | 43 +++++----- .../ReactDOMServer-prod.classic.js | 86 +++++++++---------- .../ReactDOMServer-prod.modern.js | 86 +++++++++---------- .../ReactDOMServerStreaming-dev.modern.js | 36 ++++---- .../ReactDOMServerStreaming-prod.modern.js | 36 ++++---- .../ReactDOMTesting-dev.classic.js | 10 +-- .../ReactDOMTesting-dev.modern.js | 10 +-- .../ReactDOMTesting-prod.classic.js | 10 +-- .../ReactDOMTesting-prod.modern.js | 10 +-- .../ReactReconciler-dev.classic.js | 2 +- .../ReactReconciler-dev.modern.js | 2 +- .../ReactReconciler-prod.classic.js | 2 +- .../ReactReconciler-prod.modern.js | 2 +- .../ReactTestRenderer-dev.classic.js | 6 +- .../ReactTestRenderer-dev.modern.js | 6 +- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 34 files changed, 248 insertions(+), 242 deletions(-) diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index af1d3a8a2c461..66503fa452132 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -2000,7 +2000,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-classic-76aee6f3-20240926"; + exports.version = "19.0.0-www-classic-67fee58b-20240926"; "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 f1d734095331e..740cbb67c7254 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1980,7 +1980,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-modern-76aee6f3-20240926"; + exports.version = "19.0.0-www-modern-67fee58b-20240926"; "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 077f184de5ee1..439876fef4218 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-76aee6f3-20240926"; +exports.version = "19.0.0-www-classic-67fee58b-20240926"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 0ea0b9151ef93..a7f8e3d2b8afa 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-76aee6f3-20240926"; +exports.version = "19.0.0-www-modern-67fee58b-20240926"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 3c14b44dc36ad..3cbb32d0f2528 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-76aee6f3-20240926"; +exports.version = "19.0.0-www-classic-67fee58b-20240926"; "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 e9f4828c15b7b..69f873aaf28c9 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-76aee6f3-20240926"; +exports.version = "19.0.0-www-modern-67fee58b-20240926"; "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 0b8540b7e131d..9593f93bdc471 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -17014,11 +17014,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-76aee6f3-20240926", + version: "19.0.0-www-classic-67fee58b-20240926", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-classic-67fee58b-20240926" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -17052,7 +17052,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.0.0-www-classic-76aee6f3-20240926"; + exports.version = "19.0.0-www-classic-67fee58b-20240926"; "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 b51d56fd15e39..a434ad10e06d7 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -16457,11 +16457,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-76aee6f3-20240926", + version: "19.0.0-www-modern-67fee58b-20240926", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-modern-67fee58b-20240926" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16495,7 +16495,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.0.0-www-modern-76aee6f3-20240926"; + exports.version = "19.0.0-www-modern-67fee58b-20240926"; "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 96270651bd33e..2f9f13a6e6c20 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -10826,13 +10826,13 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1467 = { bundleType: 0, - version: "19.0.0-www-classic-76aee6f3-20240926", + version: "19.0.0-www-classic-67fee58b-20240926", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function () { return null; }, - reconcilerVersion: "19.0.0-www-classic-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-classic-67fee58b-20240926" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1468 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10858,4 +10858,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.0.0-www-classic-76aee6f3-20240926"; +exports.version = "19.0.0-www-classic-67fee58b-20240926"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 3b6adce5d3499..471e6b1c60af8 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -10337,13 +10337,13 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1459 = { bundleType: 0, - version: "19.0.0-www-modern-76aee6f3-20240926", + version: "19.0.0-www-modern-67fee58b-20240926", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function () { return null; }, - reconcilerVersion: "19.0.0-www-modern-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-modern-67fee58b-20240926" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1460 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10369,4 +10369,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.0.0-www-modern-76aee6f3-20240926"; +exports.version = "19.0.0-www-modern-67fee58b-20240926"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 52b79e5ffb3de..0e50a2f4563d0 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -27771,11 +27771,11 @@ __DEV__ && : flushSyncErrorInBuildsThatSupportLegacyMode; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-76aee6f3-20240926" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-67fee58b-20240926" !== 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.0.0-www-classic-76aee6f3-20240926\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-67fee58b-20240926\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27819,11 +27819,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-76aee6f3-20240926", + version: "19.0.0-www-classic-67fee58b-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-classic-67fee58b-20240926" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28476,7 +28476,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-76aee6f3-20240926"; + exports.version = "19.0.0-www-classic-67fee58b-20240926"; "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 933315ed4ba0f..07245aab76565 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -26885,11 +26885,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-76aee6f3-20240926" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-67fee58b-20240926" !== 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.0.0-www-modern-76aee6f3-20240926\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-67fee58b-20240926\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26932,11 +26932,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-76aee6f3-20240926", + version: "19.0.0-www-modern-67fee58b-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-modern-67fee58b-20240926" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27541,7 +27541,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-76aee6f3-20240926"; + exports.version = "19.0.0-www-modern-67fee58b-20240926"; "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 2b6acbe47fb0c..1138b0a155383 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -17412,14 +17412,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1774 = React.version; if ( - "19.0.0-www-classic-76aee6f3-20240926" !== + "19.0.0-www-classic-67fee58b-20240926" !== isomorphicReactPackageVersion$jscomp$inline_1774 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1774, - "19.0.0-www-classic-76aee6f3-20240926" + "19.0.0-www-classic-67fee58b-20240926" ) ); function flushSyncFromReconciler(fn) { @@ -17464,11 +17464,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2287 = { bundleType: 0, - version: "19.0.0-www-classic-76aee6f3-20240926", + version: "19.0.0-www-classic-67fee58b-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-classic-67fee58b-20240926" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2288 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17924,4 +17924,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-76aee6f3-20240926"; +exports.version = "19.0.0-www-classic-67fee58b-20240926"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index bc0e957f7c97b..faab0ca8ca8c8 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -16780,14 +16780,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1745 = React.version; if ( - "19.0.0-www-modern-76aee6f3-20240926" !== + "19.0.0-www-modern-67fee58b-20240926" !== isomorphicReactPackageVersion$jscomp$inline_1745 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1745, - "19.0.0-www-modern-76aee6f3-20240926" + "19.0.0-www-modern-67fee58b-20240926" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -16805,11 +16805,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2278 = { bundleType: 0, - version: "19.0.0-www-modern-76aee6f3-20240926", + version: "19.0.0-www-modern-67fee58b-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-modern-67fee58b-20240926" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2279 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17172,4 +17172,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-76aee6f3-20240926"; +exports.version = "19.0.0-www-modern-67fee58b-20240926"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index ba141e3d8ed61..683fafa99ae65 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -18137,14 +18137,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1867 = React.version; if ( - "19.0.0-www-classic-76aee6f3-20240926" !== + "19.0.0-www-classic-67fee58b-20240926" !== isomorphicReactPackageVersion$jscomp$inline_1867 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1867, - "19.0.0-www-classic-76aee6f3-20240926" + "19.0.0-www-classic-67fee58b-20240926" ) ); function flushSyncFromReconciler(fn) { @@ -18189,11 +18189,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_1874 = { bundleType: 0, - version: "19.0.0-www-classic-76aee6f3-20240926", + version: "19.0.0-www-classic-67fee58b-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-classic-67fee58b-20240926" }; enableSchedulingProfiler && ((internals$jscomp$inline_1874.getLaneLabelMap = getLaneLabelMap), @@ -18652,7 +18652,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-76aee6f3-20240926"; +exports.version = "19.0.0-www-classic-67fee58b-20240926"; "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 e63159c3369bb..7b47ef2806fe2 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -17488,14 +17488,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1838 = React.version; if ( - "19.0.0-www-modern-76aee6f3-20240926" !== + "19.0.0-www-modern-67fee58b-20240926" !== isomorphicReactPackageVersion$jscomp$inline_1838 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1838, - "19.0.0-www-modern-76aee6f3-20240926" + "19.0.0-www-modern-67fee58b-20240926" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17513,11 +17513,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_1840 = { bundleType: 0, - version: "19.0.0-www-modern-76aee6f3-20240926", + version: "19.0.0-www-modern-67fee58b-20240926", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-76aee6f3-20240926" + reconcilerVersion: "19.0.0-www-modern-67fee58b-20240926" }; enableSchedulingProfiler && ((internals$jscomp$inline_1840.getLaneLabelMap = getLaneLabelMap), @@ -17883,7 +17883,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-76aee6f3-20240926"; +exports.version = "19.0.0-www-modern-67fee58b-20240926"; "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 b3e55df59e9d5..9cc74d49c9667 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -4355,7 +4355,7 @@ __DEV__ && this.rootFormatContext = rootFormatContext; this.progressiveChunkSize = void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize; - this.status = 0; + this.status = 10; this.fatalError = null; this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0; this.completedRootSegment = null; @@ -4663,7 +4663,7 @@ __DEV__ && onFatalError(error); null !== request.destination ? ((request.status = CLOSED), request.destination.destroy(error)) - : ((request.status = 2), (request.fatalError = error)); + : ((request.status = 13), (request.fatalError = error)); } function renderWithHooks( request, @@ -5185,7 +5185,7 @@ __DEV__ && } else internalInstance.queue = null; } var nextChildren = callRenderInDEV(instance); - if (1 === request.status) throw null; + if (12 === request.status) throw null; instance.props !== resolvedProps && (didWarnAboutReassigningProps || error$jscomp$2( @@ -5253,7 +5253,7 @@ __DEV__ && props, legacyContext ); - if (1 === request.status) throw null; + if (12 === request.status) throw null; var hasId = 0 !== localIdCounter, actionStateCount = actionStateCounter, actionStateMatchingIndex$jscomp$0 = actionStateMatchingIndex; @@ -5496,7 +5496,7 @@ __DEV__ && (boundarySegment.status = COMPLETED); } catch (thrownValue) { throw ( - ((boundarySegment.status = 1 === request.status ? 3 : 4), + ((boundarySegment.status = 12 === request.status ? 3 : 4), thrownValue) ); } finally { @@ -5547,7 +5547,7 @@ __DEV__ && } } catch (thrownValue$2) { newBoundary.status = CLIENT_RENDERED; - if (1 === request.status) { + if (12 === request.status) { contentRootSegment.status = 3; var error = request.fatalError; } else @@ -5670,7 +5670,7 @@ __DEV__ && } case REACT_LAZY_TYPE: var Component = callLazyInitInDEV(type); - if (1 === request.status) throw null; + if (12 === request.status) throw null; var resolvedProps$jscomp$1 = resolveDefaultPropsOnNonClassComponent(Component, props); renderElement( @@ -5915,7 +5915,7 @@ __DEV__ && ); case REACT_LAZY_TYPE: node = callLazyInitInDEV(node); - if (1 === request.status) throw null; + if (12 === request.status) throw null; renderNodeDestructive(request, task, node, childIndex); return; } @@ -6441,7 +6441,7 @@ __DEV__ && } segment = getThrownInfo(task.componentStack); if (null === boundary) { - if (2 !== request.status && request.status !== CLOSED) { + if (13 !== request.status && request.status !== CLOSED) { boundary = task.replay; if (null === boundary) { logRecoverableError(request, error, segment); @@ -6617,7 +6617,10 @@ __DEV__ && 0 === request.allPendingTasks && completeAll(request); } function performWork(request$jscomp$1) { - if (request$jscomp$1.status !== CLOSED && 2 !== request$jscomp$1.status) { + if ( + request$jscomp$1.status !== CLOSED && + 13 !== request$jscomp$1.status + ) { var prevContext = currentActiveSnapshot, prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = HooksDispatcher; @@ -6685,7 +6688,7 @@ __DEV__ && erroredReplay( request$jscomp$0, request.blockedBoundary, - 1 === request$jscomp$0.status + 12 === request$jscomp$0.status ? request$jscomp$0.fatalError : x, errorInfo, @@ -6736,7 +6739,7 @@ __DEV__ && var x$jscomp$0 = thrownValue === SuspenseException ? getSuspendedThenable() - : 1 === request.status + : 12 === request.status ? request.fatalError : thrownValue; if ( @@ -7402,10 +7405,10 @@ __DEV__ && } function startWork(request) { request.flushScheduled = null !== request.destination; - null !== request.trackedPostpones - ? performWork(request) - : (performWork(request), - safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks)); + performWork(request); + 10 === request.status && (request.status = 11); + null === request.trackedPostpones && + safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks); } function enqueueFlush(request) { if ( @@ -7421,7 +7424,7 @@ __DEV__ && } } function startFlowing(request, destination) { - if (2 === request.status) + if (13 === request.status) (request.status = CLOSED), destination.destroy(request.fatalError); else if (request.status !== CLOSED && null === request.destination) { request.destination = destination; @@ -7434,7 +7437,7 @@ __DEV__ && } } function abort(request, reason) { - 0 === request.status && (request.status = 1); + if (11 === request.status || 10 === request.status) request.status = 12; try { var abortableTasks = request.abortableTasks; if (0 < abortableTasks.size) { @@ -8958,7 +8961,7 @@ __DEV__ && COMPLETED = 1, FLUSHED = 2, POSTPONED = 5, - CLOSED = 3, + CLOSED = 14, currentRequest = null, didWarnAboutBadClass = {}, didWarnAboutContextTypes = {}, @@ -8984,5 +8987,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.0.0-www-classic-76aee6f3-20240926"; + exports.version = "19.0.0-www-classic-67fee58b-20240926"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 5ff0d1ea20130..ab937ad151fc1 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -4347,7 +4347,7 @@ __DEV__ && this.rootFormatContext = rootFormatContext; this.progressiveChunkSize = void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize; - this.status = 0; + this.status = 10; this.fatalError = null; this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0; this.completedRootSegment = null; @@ -4650,7 +4650,7 @@ __DEV__ && onFatalError(error); null !== request.destination ? ((request.status = CLOSED), request.destination.destroy(error)) - : ((request.status = 2), (request.fatalError = error)); + : ((request.status = 13), (request.fatalError = error)); } function renderWithHooks( request, @@ -5112,7 +5112,7 @@ __DEV__ && } else defaultProps.queue = null; defaultProps = callRenderInDEV(newProps); - if (1 === request.status) throw null; + if (12 === request.status) throw null; newProps.props !== props && (didWarnAboutReassigningProps || error$jscomp$2( @@ -5136,7 +5136,7 @@ __DEV__ && ), (didWarnAboutBadClass[newProps] = !0))); props = renderWithHooks(request, task, keyPath, type, props, void 0); - if (1 === request.status) throw null; + if (12 === request.status) throw null; newProps = 0 !== localIdCounter; defaultProps = actionStateCounter; addendum = actionStateMatchingIndex; @@ -5353,7 +5353,7 @@ __DEV__ && (boundarySegment.status = COMPLETED); } catch (thrownValue) { throw ( - ((boundarySegment.status = 1 === request.status ? 3 : 4), + ((boundarySegment.status = 12 === request.status ? 3 : 4), thrownValue) ); } finally { @@ -5401,7 +5401,7 @@ __DEV__ && } } catch (thrownValue$2) { (propName.status = CLIENT_RENDERED), - 1 === request.status + 12 === request.status ? ((contentRootSegment.status = 3), (newProps = request.fatalError)) : ((contentRootSegment.status = 4), @@ -5509,7 +5509,7 @@ __DEV__ && } case REACT_LAZY_TYPE: type = callLazyInitInDEV(type); - if (1 === request.status) throw null; + if (12 === request.status) throw null; props = resolveDefaultPropsOnNonClassComponent(type, props); renderElement(request, task, keyPath, type, props, ref); return; @@ -5745,7 +5745,7 @@ __DEV__ && ); case REACT_LAZY_TYPE: node = callLazyInitInDEV(node); - if (1 === request.status) throw null; + if (12 === request.status) throw null; renderNodeDestructive(request, task, node, childIndex); return; } @@ -6263,7 +6263,7 @@ __DEV__ && } segment = getThrownInfo(task.componentStack); if (null === boundary) { - if (2 !== request.status && request.status !== CLOSED) { + if (13 !== request.status && request.status !== CLOSED) { boundary = task.replay; if (null === boundary) { logRecoverableError(request, error, segment); @@ -6439,7 +6439,10 @@ __DEV__ && 0 === request.allPendingTasks && completeAll(request); } function performWork(request$jscomp$1) { - if (request$jscomp$1.status !== CLOSED && 2 !== request$jscomp$1.status) { + if ( + request$jscomp$1.status !== CLOSED && + 13 !== request$jscomp$1.status + ) { var prevContext = currentActiveSnapshot, prevDispatcher = ReactSharedInternals.H; ReactSharedInternals.H = HooksDispatcher; @@ -6507,7 +6510,7 @@ __DEV__ && erroredReplay( request$jscomp$0, request.blockedBoundary, - 1 === request$jscomp$0.status + 12 === request$jscomp$0.status ? request$jscomp$0.fatalError : x, errorInfo, @@ -6558,7 +6561,7 @@ __DEV__ && var x$jscomp$0 = thrownValue === SuspenseException ? getSuspendedThenable() - : 1 === request.status + : 12 === request.status ? request.fatalError : thrownValue; if ( @@ -7224,10 +7227,10 @@ __DEV__ && } function startWork(request) { request.flushScheduled = null !== request.destination; - null !== request.trackedPostpones - ? performWork(request) - : (performWork(request), - safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks)); + performWork(request); + 10 === request.status && (request.status = 11); + null === request.trackedPostpones && + safelyEmitEarlyPreloads(request, 0 === request.pendingRootTasks); } function enqueueFlush(request) { if ( @@ -7243,7 +7246,7 @@ __DEV__ && } } function startFlowing(request, destination) { - if (2 === request.status) + if (13 === request.status) (request.status = CLOSED), destination.destroy(request.fatalError); else if (request.status !== CLOSED && null === request.destination) { request.destination = destination; @@ -7256,7 +7259,7 @@ __DEV__ && } } function abort(request, reason) { - 0 === request.status && (request.status = 1); + if (11 === request.status || 10 === request.status) request.status = 12; try { var abortableTasks = request.abortableTasks; if (0 < abortableTasks.size) { @@ -8776,7 +8779,7 @@ __DEV__ && COMPLETED = 1, FLUSHED = 2, POSTPONED = 5, - CLOSED = 3, + CLOSED = 14, currentRequest = null, didWarnAboutBadClass = {}, didWarnAboutContextTypes = {}, @@ -8802,5 +8805,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.0.0-www-modern-76aee6f3-20240926"; + exports.version = "19.0.0-www-modern-67fee58b-20240926"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 52a58afb8d6b5..bfc32bd0e9e67 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -2680,16 +2680,16 @@ function createRenderState(resumableState, generateStaticMarkup) { "\x3c/script>" ); bootstrapScriptContent = idPrefix + "P:"; - var JSCompiler_object_inline_segmentPrefix_1633 = idPrefix + "S:"; + var JSCompiler_object_inline_segmentPrefix_1630 = idPrefix + "S:"; idPrefix += "B:"; - var JSCompiler_object_inline_preconnects_1647 = new Set(), - JSCompiler_object_inline_fontPreloads_1648 = new Set(), - JSCompiler_object_inline_highImagePreloads_1649 = new Set(), - JSCompiler_object_inline_styles_1650 = new Map(), - JSCompiler_object_inline_bootstrapScripts_1651 = new Set(), - JSCompiler_object_inline_scripts_1652 = new Set(), - JSCompiler_object_inline_bulkPreloads_1653 = new Set(), - JSCompiler_object_inline_preloads_1654 = { + var JSCompiler_object_inline_preconnects_1644 = new Set(), + JSCompiler_object_inline_fontPreloads_1645 = new Set(), + JSCompiler_object_inline_highImagePreloads_1646 = new Set(), + JSCompiler_object_inline_styles_1647 = new Map(), + JSCompiler_object_inline_bootstrapScripts_1648 = new Set(), + JSCompiler_object_inline_scripts_1649 = new Set(), + JSCompiler_object_inline_bulkPreloads_1650 = new Set(), + JSCompiler_object_inline_preloads_1651 = { images: new Map(), stylesheets: new Map(), scripts: new Map(), @@ -2726,7 +2726,7 @@ function createRenderState(resumableState, generateStaticMarkup) { scriptConfig.moduleScriptResources[href] = null; scriptConfig = []; pushLinkImpl(scriptConfig, props); - JSCompiler_object_inline_bootstrapScripts_1651.add(scriptConfig); + JSCompiler_object_inline_bootstrapScripts_1648.add(scriptConfig); bootstrapChunks.push('