From 7a5df10443912fc9209acacef72a1930532f34bd Mon Sep 17 00:00:00 2001 From: Ricky Date: Mon, 11 Mar 2024 11:40:48 -0400 Subject: [PATCH] Land enableClientRenderFallbackOnTextMismatch for www (#28538) This is landed, we can hardcode the flag --- packages/shared/forks/ReactFeatureFlags.www-dynamic.js | 1 - packages/shared/forks/ReactFeatureFlags.www.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.www-dynamic.js b/packages/shared/forks/ReactFeatureFlags.www-dynamic.js index 5219e1ed13a75..d3f28ec94c57e 100644 --- a/packages/shared/forks/ReactFeatureFlags.www-dynamic.js +++ b/packages/shared/forks/ReactFeatureFlags.www-dynamic.js @@ -29,7 +29,6 @@ export const enableUseDeferredValueInitialArg = __VARIANT__; export const enableRenderableContext = __VARIANT__; export const useModernStrictMode = __VARIANT__; export const enableRefAsProp = __VARIANT__; -export const enableClientRenderFallbackOnTextMismatch = __VARIANT__; export const enableRetryLaneExpiration = __VARIANT__; export const retryLaneExpirationMs = 5000; export const syncLaneExpirationMs = 250; diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index 4d6bfa56fb8bd..f5d9bc00c99fb 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -38,7 +38,6 @@ export const { enableRenderableContext, useModernStrictMode, enableRefAsProp, - enableClientRenderFallbackOnTextMismatch, } = dynamicFeatureFlags; // On WWW, __EXPERIMENTAL__ is used for a new modern build. @@ -49,7 +48,7 @@ export const enableProfilerTimer = __PROFILE__; export const enableProfilerCommitHooks = __PROFILE__; export const enableProfilerNestedUpdatePhase = __PROFILE__; export const enableUpdaterTracking = __PROFILE__; - +export const enableClientRenderFallbackOnTextMismatch = true; export const enableSuspenseAvoidThisFallback = true; export const enableSuspenseAvoidThisFallbackFizz = false;