From 9e50f2a78b7e5f8b08af4fa6c0bef3dad19e288f Mon Sep 17 00:00:00 2001 From: kassens Date: Tue, 14 Nov 2023 15:20:17 +0000 Subject: [PATCH] Add a feature flag to enable expiration of retry lanes (#27694) An attempt to see if we can bring back expiration of retry lanes to avoid cases resolving Suspense can be starved by frequent updates. In the past, this caused increase browser crashes, but a lot of time has passed since then. Just trying if we can re-enable this. Old PR that reverted adding the timeout: https://github.com/facebook/react/pull/21300 DiffTrain build for [593ecee66a609d4a4c2b36b39b1e5e23b2456dd1](https://github.com/facebook/react/commit/593ecee66a609d4a4c2b36b39b1e5e23b2456dd1) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- compiled/facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 5 +++-- compiled/facebook-www/ReactART-dev.modern.js | 5 +++-- compiled/facebook-www/ReactART-prod.classic.js | 7 ++++--- compiled/facebook-www/ReactART-prod.modern.js | 7 ++++--- compiled/facebook-www/ReactDOM-dev.classic.js | 5 +++-- compiled/facebook-www/ReactDOM-dev.modern.js | 5 +++-- compiled/facebook-www/ReactDOM-prod.classic.js | 9 +++++---- compiled/facebook-www/ReactDOM-prod.modern.js | 9 +++++---- compiled/facebook-www/ReactDOM-profiling.classic.js | 9 +++++---- compiled/facebook-www/ReactDOM-profiling.modern.js | 9 +++++---- compiled/facebook-www/ReactDOMServer-dev.modern.js | 2 +- compiled/facebook-www/ReactDOMServer-prod.modern.js | 2 +- compiled/facebook-www/ReactDOMTesting-dev.classic.js | 5 +++-- compiled/facebook-www/ReactDOMTesting-dev.modern.js | 5 +++-- compiled/facebook-www/ReactDOMTesting-prod.classic.js | 9 +++++---- compiled/facebook-www/ReactDOMTesting-prod.modern.js | 9 +++++---- 20 files changed, 62 insertions(+), 48 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index cfa5ac07a239d..6cc40e1e7242f 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -432b9f1d9729aaea010730d546bda89b9842eaa1 +593ecee66a609d4a4c2b36b39b1e5e23b2456dd1 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 5b5bd64b0cbcf..71eac61d79e73 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -24,7 +24,7 @@ if (__DEV__) { ) { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = "18.3.0-www-classic-ff1f37f1"; + var ReactVersion = "18.3.0-www-classic-32c0f8a4"; // ATTENTION // When adding new symbols to this file, diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index cbcb5cfc96dda..0b34b069e1b66 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -579,4 +579,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-www-modern-7fb93a7a"; +exports.version = "18.3.0-www-modern-226f03d3"; diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index 2af7e4992f188..84297a440873f 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -583,7 +583,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactCurrentDispatcher.current.useTransition(); }; -exports.version = "18.3.0-www-modern-c340a59e"; +exports.version = "18.3.0-www-modern-b10cb56c"; "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 96b0a0ea4836c..78e17c648d81d 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -66,7 +66,7 @@ if (__DEV__) { return self; } - var ReactVersion = "18.3.0-www-classic-845b4481"; + var ReactVersion = "18.3.0-www-classic-324338d3"; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -170,6 +170,7 @@ if (__DEV__) { enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, @@ -2004,7 +2005,7 @@ if (__DEV__) { // crashes. There must be some other underlying bug; not super urgent but // ideally should figure out why and fix it. Unfortunately we don't have // a repro for the crashes, only detected via production metrics. - return NoTimestamp; + return enableRetryLaneExpiration ? currentTime + 5000 : NoTimestamp; case SelectiveHydrationLane: case IdleHydrationLane: diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index edd2ef6cdd869..ecdafe82b0bbb 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -66,7 +66,7 @@ if (__DEV__) { return self; } - var ReactVersion = "18.3.0-www-modern-b4d8ae24"; + var ReactVersion = "18.3.0-www-modern-7ac3e370"; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -170,6 +170,7 @@ if (__DEV__) { enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, @@ -2001,7 +2002,7 @@ if (__DEV__) { // crashes. There must be some other underlying bug; not super urgent but // ideally should figure out why and fix it. Unfortunately we don't have // a repro for the crashes, only detected via production metrics. - return NoTimestamp; + return enableRetryLaneExpiration ? currentTime + 5000 : NoTimestamp; case SelectiveHydrationLane: case IdleHydrationLane: diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index c1cfaaf5afff4..e099a1baf2d2f 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -68,6 +68,7 @@ var ReactSharedInternals = enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, @@ -505,7 +506,7 @@ function computeExpirationTime(lane, currentTime) { case 8388608: case 16777216: case 33554432: - return -1; + return enableRetryLaneExpiration ? currentTime + 5e3 : -1; case 67108864: case 134217728: case 268435456: @@ -10235,7 +10236,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "18.3.0-www-classic-f80f5bf8", + version: "18.3.0-www-classic-61fbad1d", rendererPackageName: "react-art" }; var internals$jscomp$inline_1322 = { @@ -10266,7 +10267,7 @@ var internals$jscomp$inline_1322 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-classic-f80f5bf8" + reconcilerVersion: "18.3.0-www-classic-61fbad1d" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1323 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 010e273e726b0..0b7f733d433b9 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -68,6 +68,7 @@ var ReactSharedInternals = enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, @@ -393,7 +394,7 @@ function computeExpirationTime(lane, currentTime) { case 8388608: case 16777216: case 33554432: - return -1; + return enableRetryLaneExpiration ? currentTime + 5e3 : -1; case 67108864: case 134217728: case 268435456: @@ -9904,7 +9905,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "18.3.0-www-modern-d15e6948", + version: "18.3.0-www-modern-fc53dc79", rendererPackageName: "react-art" }; var internals$jscomp$inline_1302 = { @@ -9935,7 +9936,7 @@ var internals$jscomp$inline_1302 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-modern-d15e6948" + reconcilerVersion: "18.3.0-www-modern-fc53dc79" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1303 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 1075feca7f9ee..c3a6e396b44ac 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -135,6 +135,7 @@ if (__DEV__) { enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -2174,7 +2175,7 @@ if (__DEV__) { // crashes. There must be some other underlying bug; not super urgent but // ideally should figure out why and fix it. Unfortunately we don't have // a repro for the crashes, only detected via production metrics. - return NoTimestamp; + return enableRetryLaneExpiration ? currentTime + 5000 : NoTimestamp; case SelectiveHydrationLane: case IdleHydrationLane: @@ -34884,7 +34885,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-www-classic-d456dfab"; + var ReactVersion = "18.3.0-www-classic-b7cd3754"; function createPortal$1( children, diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 3b2a95cefd7db..3c51d49aadf84 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -121,6 +121,7 @@ if (__DEV__) { enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -1529,7 +1530,7 @@ if (__DEV__) { // crashes. There must be some other underlying bug; not super urgent but // ideally should figure out why and fix it. Unfortunately we don't have // a repro for the crashes, only detected via production metrics. - return NoTimestamp; + return enableRetryLaneExpiration ? currentTime + 5000 : NoTimestamp; case SelectiveHydrationLane: case IdleHydrationLane: @@ -34705,7 +34706,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-www-modern-81cc9bc4"; + var ReactVersion = "18.3.0-www-modern-04110a6d"; function createPortal$1( children, diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index 1bf2fefaba889..d6f3a2cf513f9 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -47,6 +47,7 @@ var ReactSharedInternals = enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -549,7 +550,7 @@ function computeExpirationTime(lane, currentTime) { case 8388608: case 16777216: case 33554432: - return -1; + return enableRetryLaneExpiration ? currentTime + 5e3 : -1; case 67108864: case 134217728: case 268435456: @@ -16539,7 +16540,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1796 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-classic-a25c651c", + version: "18.3.0-www-classic-55fb1194", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2142 = { @@ -16569,7 +16570,7 @@ var internals$jscomp$inline_2142 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-classic-a25c651c" + reconcilerVersion: "18.3.0-www-classic-55fb1194" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2143 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16906,4 +16907,4 @@ exports.useFormState = function () { exports.useFormStatus = function () { throw Error(formatProdErrorMessage(248)); }; -exports.version = "18.3.0-www-classic-a25c651c"; +exports.version = "18.3.0-www-classic-55fb1194"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 1fb80c523e9a2..f60a343946ba5 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -50,6 +50,7 @@ var assign = Object.assign, enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -311,7 +312,7 @@ function computeExpirationTime(lane, currentTime) { case 8388608: case 16777216: case 33554432: - return -1; + return enableRetryLaneExpiration ? currentTime + 5e3 : -1; case 67108864: case 134217728: case 268435456: @@ -16065,7 +16066,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1755 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-modern-42ac5998", + version: "18.3.0-www-modern-5b908043", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2106 = { @@ -16096,7 +16097,7 @@ var internals$jscomp$inline_2106 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-modern-42ac5998" + reconcilerVersion: "18.3.0-www-modern-5b908043" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2107 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16361,4 +16362,4 @@ exports.useFormState = function () { exports.useFormStatus = function () { throw Error(formatProdErrorMessage(248)); }; -exports.version = "18.3.0-www-modern-42ac5998"; +exports.version = "18.3.0-www-modern-5b908043"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index a6f076174a043..ee4627b14aa5b 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -51,6 +51,7 @@ var ReactSharedInternals = enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -657,7 +658,7 @@ function computeExpirationTime(lane, currentTime) { case 8388608: case 16777216: case 33554432: - return -1; + return enableRetryLaneExpiration ? currentTime + 5e3 : -1; case 67108864: case 134217728: case 268435456: @@ -17308,7 +17309,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1881 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-classic-30fe3ed5", + version: "18.3.0-www-classic-48ec6736", rendererPackageName: "react-dom" }; (function (internals) { @@ -17352,7 +17353,7 @@ var devToolsConfig$jscomp$inline_1881 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-classic-30fe3ed5" + reconcilerVersion: "18.3.0-www-classic-48ec6736" }); assign(Internals, { ReactBrowserEventEmitter: { @@ -17676,7 +17677,7 @@ exports.useFormState = function () { exports.useFormStatus = function () { throw Error(formatProdErrorMessage(248)); }; -exports.version = "18.3.0-www-classic-30fe3ed5"; +exports.version = "18.3.0-www-classic-48ec6736"; "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 7a521c8460d8b..43a88a72b3b0e 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -54,6 +54,7 @@ var assign = Object.assign, enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -419,7 +420,7 @@ function computeExpirationTime(lane, currentTime) { case 8388608: case 16777216: case 33554432: - return -1; + return enableRetryLaneExpiration ? currentTime + 5e3 : -1; case 67108864: case 134217728: case 268435456: @@ -16828,7 +16829,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1840 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-modern-63d98969", + version: "18.3.0-www-modern-3c3305d8", rendererPackageName: "react-dom" }; (function (internals) { @@ -16873,7 +16874,7 @@ var devToolsConfig$jscomp$inline_1840 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-modern-63d98969" + reconcilerVersion: "18.3.0-www-modern-3c3305d8" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.createPortal = function (children, container) { @@ -17125,7 +17126,7 @@ exports.useFormState = function () { exports.useFormStatus = function () { throw Error(formatProdErrorMessage(248)); }; -exports.version = "18.3.0-www-modern-63d98969"; +exports.version = "18.3.0-www-modern-3c3305d8"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 9e04f7be6520a..5f13a8c899ba3 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 = "18.3.0-www-modern-b4d8ae24"; + var ReactVersion = "18.3.0-www-modern-7ac3e370"; // This refers to a WWW module. var warningWWW = require("warning"); diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index d3ce5ac566612..91e1a0bea77b0 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -5343,4 +5343,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 = "18.3.0-www-modern-d15e6948"; +exports.version = "18.3.0-www-modern-fc53dc79"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index f3e7e6905f690..567902337cbe7 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -127,6 +127,7 @@ if (__DEV__) { enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -2166,7 +2167,7 @@ if (__DEV__) { // crashes. There must be some other underlying bug; not super urgent but // ideally should figure out why and fix it. Unfortunately we don't have // a repro for the crashes, only detected via production metrics. - return NoTimestamp; + return enableRetryLaneExpiration ? currentTime + 5000 : NoTimestamp; case SelectiveHydrationLane: case IdleHydrationLane: @@ -35508,7 +35509,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-www-classic-adaf3ac3"; + var ReactVersion = "18.3.0-www-classic-013758d2"; function createPortal$1( children, diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index a4f9ef5d0715e..0880f269d7f5d 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -113,6 +113,7 @@ if (__DEV__) { enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -1521,7 +1522,7 @@ if (__DEV__) { // crashes. There must be some other underlying bug; not super urgent but // ideally should figure out why and fix it. Unfortunately we don't have // a repro for the crashes, only detected via production metrics. - return NoTimestamp; + return enableRetryLaneExpiration ? currentTime + 5000 : NoTimestamp; case SelectiveHydrationLane: case IdleHydrationLane: @@ -35329,7 +35330,7 @@ if (__DEV__) { return root; } - var ReactVersion = "18.3.0-www-modern-7fb93a7a"; + var ReactVersion = "18.3.0-www-modern-226f03d3"; function createPortal$1( children, diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 7a81c01fc6e08..007747cafaee2 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -47,6 +47,7 @@ var ReactSharedInternals = enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -549,7 +550,7 @@ function computeExpirationTime(lane, currentTime) { case 8388608: case 16777216: case 33554432: - return -1; + return enableRetryLaneExpiration ? currentTime + 5e3 : -1; case 67108864: case 134217728: case 268435456: @@ -16868,7 +16869,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1825 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-classic-ff1f37f1", + version: "18.3.0-www-classic-32c0f8a4", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2176 = { @@ -16898,7 +16899,7 @@ var internals$jscomp$inline_2176 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-classic-ff1f37f1" + reconcilerVersion: "18.3.0-www-classic-32c0f8a4" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2177 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17386,4 +17387,4 @@ exports.useFormState = function () { exports.useFormStatus = function () { throw Error(formatProdErrorMessage(248)); }; -exports.version = "18.3.0-www-classic-ff1f37f1"; +exports.version = "18.3.0-www-classic-32c0f8a4"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 747ad761c7fc3..84b6b6d1b6d7b 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -50,6 +50,7 @@ var assign = Object.assign, enableLazyContextPropagation = dynamicFeatureFlags.enableLazyContextPropagation, enableUnifiedSyncLane = dynamicFeatureFlags.enableUnifiedSyncLane, + enableRetryLaneExpiration = dynamicFeatureFlags.enableRetryLaneExpiration, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableCustomElementPropertySupport = dynamicFeatureFlags.enableCustomElementPropertySupport, @@ -311,7 +312,7 @@ function computeExpirationTime(lane, currentTime) { case 8388608: case 16777216: case 33554432: - return -1; + return enableRetryLaneExpiration ? currentTime + 5e3 : -1; case 67108864: case 134217728: case 268435456: @@ -16445,7 +16446,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1784 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-modern-c340a59e", + version: "18.3.0-www-modern-b10cb56c", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2140 = { @@ -16476,7 +16477,7 @@ var internals$jscomp$inline_2140 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-www-modern-c340a59e" + reconcilerVersion: "18.3.0-www-modern-b10cb56c" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2141 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -16892,4 +16893,4 @@ exports.useFormState = function () { exports.useFormStatus = function () { throw Error(formatProdErrorMessage(248)); }; -exports.version = "18.3.0-www-modern-c340a59e"; +exports.version = "18.3.0-www-modern-b10cb56c";