From 0210f0b082c95f5aec08f356d796c512eab44fc4 Mon Sep 17 00:00:00 2001 From: Ricky Date: Thu, 25 May 2023 21:33:07 -0400 Subject: [PATCH] Update enableSyncDefaultUpdates for www (#26857) If this is false, it dead code eliminates the path to use the root flag. Will follow up to clean this up. --- packages/shared/forks/ReactFeatureFlags.www.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index 8fd36ca635..88951390b1 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -105,8 +105,7 @@ export const enableUseMutableSource = true; export const useModernStrictMode = false; export const enableFizzExternalRuntime = true; -// This is only used in VARIANT tests, setting it to true does nothing. -export const enableSyncDefaultUpdates = false; +export const enableSyncDefaultUpdates = true; // Flow magic to verify the exports of this file match the original version. ((((null: any): ExportsType): FeatureFlagsType): ExportsType);