diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index d83a118da1..ac73a4bcae 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -84239da896fd7395a667ab1e7ef1ef338a32de8f +f55d172bcf921d761733533395b798c5b3665e04 diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index deb705977f..1a947000b7 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-7d4c9d5a'; +var ReactVersion = '19.0.0-www-classic-df6992f9'; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -22696,7 +22696,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // the suspensey resources. The renderer is responsible for accumulating // all the load events. This all happens in a single synchronous // transaction, so it track state in its own module scope. diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 9fa3cc7dd1..f51f545d31 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-4793f209'; +var ReactVersion = '19.0.0-www-modern-e0053f93'; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -22055,7 +22055,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // the suspensey resources. The renderer is responsible for accumulating // all the load events. This all happens in a single synchronous // transaction, so it track state in its own module scope. diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index f83c756605..ea555884f0 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -9263,7 +9263,8 @@ function commitRootWhenReady( lanes, spawnedLane ) { - finishedWork.subtreeFlags & 8192 && + lanes = finishedWork.subtreeFlags; + (lanes & 8192 || 16785408 === (lanes & 16785408)) && accumulateSuspenseyCommitOnFiber(finishedWork); commitRoot( root, @@ -10648,7 +10649,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "19.0.0-www-classic-5df18b01", + version: "19.0.0-www-classic-aee192a3", rendererPackageName: "react-art" }; var internals$jscomp$inline_1358 = { @@ -10679,7 +10680,7 @@ var internals$jscomp$inline_1358 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-5df18b01" + reconcilerVersion: "19.0.0-www-classic-aee192a3" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1359 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 5c4f8c2386..fd9418a3f5 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -8787,7 +8787,8 @@ function commitRootWhenReady( lanes, spawnedLane ) { - finishedWork.subtreeFlags & 8192 && + lanes = finishedWork.subtreeFlags; + (lanes & 8192 || 16785408 === (lanes & 16785408)) && accumulateSuspenseyCommitOnFiber(finishedWork); commitRoot( root, @@ -10123,7 +10124,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "19.0.0-www-modern-0d2856c7", + version: "19.0.0-www-modern-4c2dd93a", rendererPackageName: "react-art" }; var internals$jscomp$inline_1345 = { @@ -10154,7 +10155,7 @@ var internals$jscomp$inline_1345 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-0d2856c7" + reconcilerVersion: "19.0.0-www-modern-4c2dd93a" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1346 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 808aaa968a..dd4965372b 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -27325,7 +27325,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // Before committing, ask the renderer whether the host tree is ready. // If it's not, we'll wait until it notifies us. startSuspendingCommit(); // This will walk the completed fiber tree and attach listeners to all @@ -30996,7 +30999,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-classic-6cb291b1'; +var ReactVersion = '19.0.0-www-classic-16ee3628'; 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 2f04320a45..eba0948b17 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -26631,7 +26631,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // Before committing, ask the renderer whether the host tree is ready. // If it's not, we'll wait until it notifies us. startSuspendingCommit(); // This will walk the completed fiber tree and attach listeners to all @@ -30171,7 +30174,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-modern-4d273f8e'; +var ReactVersion = '19.0.0-www-modern-f5ea7daf'; 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 de9b59742f..d368724162 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -11074,25 +11074,26 @@ function commitRootWhenReady( lanes, spawnedLane ) { - if ( - finishedWork.subtreeFlags & 8192 && - ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), - accumulateSuspenseyCommitOnFiber(finishedWork), - (finishedWork = waitForCommitToBeReady()), - null !== finishedWork) - ) { - root.cancelPendingCommit = finishedWork( - commitRoot.bind( - null, - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate - ) - ); - markRootSuspended(root, lanes, spawnedLane); - return; - } + var subtreeFlags = finishedWork.subtreeFlags; + if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) + if ( + ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), + accumulateSuspenseyCommitOnFiber(finishedWork), + (finishedWork = waitForCommitToBeReady()), + null !== finishedWork) + ) { + root.cancelPendingCommit = finishedWork( + commitRoot.bind( + null, + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate + ) + ); + markRootSuspended(root, lanes, spawnedLane); + return; + } commitRoot( root, recoverableErrors, @@ -17069,7 +17070,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1746 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-824db2c5", + version: "19.0.0-www-classic-a0e0535d", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2190 = { @@ -17099,7 +17100,7 @@ var internals$jscomp$inline_2190 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-824db2c5" + reconcilerVersion: "19.0.0-www-classic-a0e0535d" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2191 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17603,4 +17604,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-824db2c5"; +exports.version = "19.0.0-www-classic-a0e0535d"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 6ae0370401..c6a604a2fb 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -10569,25 +10569,26 @@ function commitRootWhenReady( lanes, spawnedLane ) { - if ( - finishedWork.subtreeFlags & 8192 && - ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), - accumulateSuspenseyCommitOnFiber(finishedWork), - (finishedWork = waitForCommitToBeReady()), - null !== finishedWork) - ) { - root.cancelPendingCommit = finishedWork( - commitRoot.bind( - null, - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate - ) - ); - markRootSuspended(root, lanes, spawnedLane); - return; - } + var subtreeFlags = finishedWork.subtreeFlags; + if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) + if ( + ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), + accumulateSuspenseyCommitOnFiber(finishedWork), + (finishedWork = waitForCommitToBeReady()), + null !== finishedWork) + ) { + root.cancelPendingCommit = finishedWork( + commitRoot.bind( + null, + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate + ) + ); + markRootSuspended(root, lanes, spawnedLane); + return; + } commitRoot( root, recoverableErrors, @@ -16432,7 +16433,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1713 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-3717c12a", + version: "19.0.0-www-modern-33a180b8", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2182 = { @@ -16462,7 +16463,7 @@ var internals$jscomp$inline_2182 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-3717c12a" + reconcilerVersion: "19.0.0-www-modern-33a180b8" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2183 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16836,4 +16837,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-3717c12a"; +exports.version = "19.0.0-www-modern-33a180b8"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 247e5a8420..87662ce68e 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -11667,25 +11667,26 @@ function commitRootWhenReady( lanes, spawnedLane ) { - if ( - finishedWork.subtreeFlags & 8192 && - ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), - accumulateSuspenseyCommitOnFiber(finishedWork), - (finishedWork = waitForCommitToBeReady()), - null !== finishedWork) - ) { - root.cancelPendingCommit = finishedWork( - commitRoot.bind( - null, - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate - ) - ); - markRootSuspended(root, lanes, spawnedLane); - return; - } + var subtreeFlags = finishedWork.subtreeFlags; + if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) + if ( + ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), + accumulateSuspenseyCommitOnFiber(finishedWork), + (finishedWork = waitForCommitToBeReady()), + null !== finishedWork) + ) { + root.cancelPendingCommit = finishedWork( + commitRoot.bind( + null, + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate + ) + ); + markRootSuspended(root, lanes, spawnedLane); + return; + } commitRoot( root, recoverableErrors, @@ -17833,7 +17834,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1832 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-2c907cc2", + version: "19.0.0-www-classic-643b8964", rendererPackageName: "react-dom" }; (function (internals) { @@ -17877,7 +17878,7 @@ var devToolsConfig$jscomp$inline_1832 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-2c907cc2" + reconcilerVersion: "19.0.0-www-classic-643b8964" }); function ReactDOMRoot(internalRoot) { this._internalRoot = internalRoot; @@ -18368,7 +18369,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-2c907cc2"; +exports.version = "19.0.0-www-classic-643b8964"; "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 4e8fb7f098..815b8fd4fc 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -11145,25 +11145,26 @@ function commitRootWhenReady( lanes, spawnedLane ) { - if ( - finishedWork.subtreeFlags & 8192 && - ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), - accumulateSuspenseyCommitOnFiber(finishedWork), - (finishedWork = waitForCommitToBeReady()), - null !== finishedWork) - ) { - root.cancelPendingCommit = finishedWork( - commitRoot.bind( - null, - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate - ) - ); - markRootSuspended(root, lanes, spawnedLane); - return; - } + var subtreeFlags = finishedWork.subtreeFlags; + if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) + if ( + ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), + accumulateSuspenseyCommitOnFiber(finishedWork), + (finishedWork = waitForCommitToBeReady()), + null !== finishedWork) + ) { + root.cancelPendingCommit = finishedWork( + commitRoot.bind( + null, + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate + ) + ); + markRootSuspended(root, lanes, spawnedLane); + return; + } commitRoot( root, recoverableErrors, @@ -17179,7 +17180,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1799 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-c13878e0", + version: "19.0.0-www-modern-261a4fd2", rendererPackageName: "react-dom" }; (function (internals) { @@ -17223,7 +17224,7 @@ var devToolsConfig$jscomp$inline_1799 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-c13878e0" + reconcilerVersion: "19.0.0-www-modern-261a4fd2" }); function ReactDOMRoot(internalRoot) { this._internalRoot = internalRoot; @@ -17584,7 +17585,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-c13878e0"; +exports.version = "19.0.0-www-modern-261a4fd2"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 41ef6c830b..df103a24e0 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -27891,7 +27891,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // Before committing, ask the renderer whether the host tree is ready. // If it's not, we'll wait until it notifies us. startSuspendingCommit(); // This will walk the completed fiber tree and attach listeners to all @@ -31562,7 +31565,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-classic-8d698026'; +var ReactVersion = '19.0.0-www-classic-fa9aeb29'; 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 3f3e518314..ca1a3fc5be 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -27197,7 +27197,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // Before committing, ask the renderer whether the host tree is ready. // If it's not, we'll wait until it notifies us. startSuspendingCommit(); // This will walk the completed fiber tree and attach listeners to all @@ -30737,7 +30740,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-modern-862feb58'; +var ReactVersion = '19.0.0-www-modern-87db12a9'; 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 066b3d3e54..83118b02d8 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -11346,25 +11346,26 @@ function commitRootWhenReady( lanes, spawnedLane ) { - if ( - finishedWork.subtreeFlags & 8192 && - ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), - accumulateSuspenseyCommitOnFiber(finishedWork), - (finishedWork = waitForCommitToBeReady()), - null !== finishedWork) - ) { - root.cancelPendingCommit = finishedWork( - commitRoot.bind( - null, - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate - ) - ); - markRootSuspended(root, lanes, spawnedLane); - return; - } + var subtreeFlags = finishedWork.subtreeFlags; + if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) + if ( + ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), + accumulateSuspenseyCommitOnFiber(finishedWork), + (finishedWork = waitForCommitToBeReady()), + null !== finishedWork) + ) { + root.cancelPendingCommit = finishedWork( + commitRoot.bind( + null, + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate + ) + ); + markRootSuspended(root, lanes, spawnedLane); + return; + } commitRoot( root, recoverableErrors, @@ -17398,7 +17399,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1776 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-5fe02461", + version: "19.0.0-www-classic-9e4355d6", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2225 = { @@ -17428,7 +17429,7 @@ var internals$jscomp$inline_2225 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-5fe02461" + reconcilerVersion: "19.0.0-www-classic-9e4355d6" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2226 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18083,4 +18084,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-5fe02461"; +exports.version = "19.0.0-www-classic-9e4355d6"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 23b57212d6..aaab1d1ddc 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -10900,25 +10900,26 @@ function commitRootWhenReady( lanes, spawnedLane ) { - if ( - finishedWork.subtreeFlags & 8192 && - ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), - accumulateSuspenseyCommitOnFiber(finishedWork), - (finishedWork = waitForCommitToBeReady()), - null !== finishedWork) - ) { - root.cancelPendingCommit = finishedWork( - commitRoot.bind( - null, - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate - ) - ); - markRootSuspended(root, lanes, spawnedLane); - return; - } + var subtreeFlags = finishedWork.subtreeFlags; + if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) + if ( + ((suspendedState = { stylesheets: null, count: 0, unsuspend: noop }), + accumulateSuspenseyCommitOnFiber(finishedWork), + (finishedWork = waitForCommitToBeReady()), + null !== finishedWork) + ) { + root.cancelPendingCommit = finishedWork( + commitRoot.bind( + null, + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate + ) + ); + markRootSuspended(root, lanes, spawnedLane); + return; + } commitRoot( root, recoverableErrors, @@ -16820,7 +16821,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1743 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-03570e44", + version: "19.0.0-www-modern-a9ff0c5d", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2217 = { @@ -16850,7 +16851,7 @@ var internals$jscomp$inline_2217 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-03570e44" + reconcilerVersion: "19.0.0-www-modern-a9ff0c5d" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2218 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17375,4 +17376,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-03570e44"; +exports.version = "19.0.0-www-modern-a9ff0c5d"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 918faaf3de..21378c9362 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -25085,7 +25085,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // Before committing, ask the renderer whether the host tree is ready. // If it's not, we'll wait until it notifies us. startSuspendingCommit(); // This will walk the completed fiber tree and attach listeners to all @@ -28794,7 +28797,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-classic-287510b9'; +var ReactVersion = '19.0.0-www-classic-2e0a93db'; /* * 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 0e4a7b6670..cae87c6aef 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -24444,7 +24444,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // Before committing, ask the renderer whether the host tree is ready. // If it's not, we'll wait until it notifies us. startSuspendingCommit(); // This will walk the completed fiber tree and attach listeners to all @@ -28060,7 +28063,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-modern-09c6ebdb'; +var ReactVersion = '19.0.0-www-modern-8a76092c'; /* * 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 264dfec0bd..1724665e5b 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -10053,25 +10053,26 @@ module.exports = function ($$$config) { lanes, spawnedLane ) { - if ( - finishedWork.subtreeFlags & 8192 && - (startSuspendingCommit(), - accumulateSuspenseyCommitOnFiber(finishedWork), - (finishedWork = waitForCommitToBeReady()), - null !== finishedWork) - ) { - root.cancelPendingCommit = finishedWork( - commitRoot.bind( - null, - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate - ) - ); - markRootSuspended(root, lanes, spawnedLane); - return; - } + var subtreeFlags = finishedWork.subtreeFlags; + if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) + if ( + (startSuspendingCommit(), + accumulateSuspenseyCommitOnFiber(finishedWork), + (finishedWork = waitForCommitToBeReady()), + null !== finishedWork) + ) { + root.cancelPendingCommit = finishedWork( + commitRoot.bind( + null, + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate + ) + ); + markRootSuspended(root, lanes, spawnedLane); + return; + } commitRoot( root, recoverableErrors, @@ -12645,7 +12646,7 @@ module.exports = function ($$$config) { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-16207949" + reconcilerVersion: "19.0.0-www-classic-1be1baa9" }; 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 c5973c67e7..8a3327a033 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -9624,25 +9624,26 @@ module.exports = function ($$$config) { lanes, spawnedLane ) { - if ( - finishedWork.subtreeFlags & 8192 && - (startSuspendingCommit(), - accumulateSuspenseyCommitOnFiber(finishedWork), - (finishedWork = waitForCommitToBeReady()), - null !== finishedWork) - ) { - root.cancelPendingCommit = finishedWork( - commitRoot.bind( - null, - root, - recoverableErrors, - transitions, - didIncludeRenderPhaseUpdate - ) - ); - markRootSuspended(root, lanes, spawnedLane); - return; - } + var subtreeFlags = finishedWork.subtreeFlags; + if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408)) + if ( + (startSuspendingCommit(), + accumulateSuspenseyCommitOnFiber(finishedWork), + (finishedWork = waitForCommitToBeReady()), + null !== finishedWork) + ) { + root.cancelPendingCommit = finishedWork( + commitRoot.bind( + null, + root, + recoverableErrors, + transitions, + didIncludeRenderPhaseUpdate + ) + ); + markRootSuspended(root, lanes, spawnedLane); + return; + } commitRoot( root, recoverableErrors, @@ -12158,7 +12159,7 @@ module.exports = function ($$$config) { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-d82cd544" + reconcilerVersion: "19.0.0-www-modern-b311bf05" }; 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 c2e3a86ea8..289f76db7a 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -20085,7 +20085,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // the suspensey resources. The renderer is responsible for accumulating // all the load events. This all happens in a single synchronous // transaction, so it track state in its own module scope. @@ -23274,7 +23277,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-classic-d66ba86c'; +var ReactVersion = '19.0.0-www-classic-20bcb906'; /* * 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 343f31294e..0469514dc2 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -20085,7 +20085,10 @@ function finishConcurrentRender(root, exitStatus, finishedWork, lanes) { function commitRootWhenReady(root, finishedWork, recoverableErrors, transitions, didIncludeRenderPhaseUpdate, lanes, spawnedLane) { // TODO: Combine retry throttling with Suspensey commits. Right now they run // one after the other. - if (finishedWork.subtreeFlags & ShouldSuspendCommit) { + var BothVisibilityAndMaySuspendCommit = Visibility | MaySuspendCommit; + var subtreeFlags = finishedWork.subtreeFlags; + + if (subtreeFlags & ShouldSuspendCommit || (subtreeFlags & BothVisibilityAndMaySuspendCommit) === BothVisibilityAndMaySuspendCommit) { // the suspensey resources. The renderer is responsible for accumulating // all the load events. This all happens in a single synchronous // transaction, so it track state in its own module scope. @@ -23274,7 +23277,7 @@ identifierPrefix, onUncaughtError, onCaughtError, onRecoverableError, transition return root; } -var ReactVersion = '19.0.0-www-modern-d66ba86c'; +var ReactVersion = '19.0.0-www-modern-20bcb906'; /* * The `'' + value` pattern (used in perf-sensitive code) throws for Symbol