From ae1187dc201b8e79c2632f58a6fa0bf7f285b4cc Mon Sep 17 00:00:00 2001 From: Ricky Date: Tue, 30 Jan 2024 14:24:41 -0500 Subject: [PATCH] Update www flags (#28150) Adds an experiment for `enableFormActions` and hardcodes `enableCustomElementPropertySupport` on www since this is shipped. --- packages/shared/forks/ReactFeatureFlags.www-dynamic.js | 2 +- packages/shared/forks/ReactFeatureFlags.www.js | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/shared/forks/ReactFeatureFlags.www-dynamic.js b/packages/shared/forks/ReactFeatureFlags.www-dynamic.js index 74c0ab2f6f5fd..775dced6d1009 100644 --- a/packages/shared/forks/ReactFeatureFlags.www-dynamic.js +++ b/packages/shared/forks/ReactFeatureFlags.www-dynamic.js @@ -23,9 +23,9 @@ export const enableLazyContextPropagation = __VARIANT__; export const forceConcurrentByDefaultForTesting = __VARIANT__; export const enableUnifiedSyncLane = __VARIANT__; export const enableTransitionTracing = __VARIANT__; -export const enableCustomElementPropertySupport = __VARIANT__; export const enableDeferRootSchedulingToMicrotask = __VARIANT__; export const enableAsyncActions = __VARIANT__; +export const enableFormActions = __VARIANT__; export const alwaysThrottleRetries = __VARIANT__; export const enableDO_NOT_USE_disableStrictPassiveEffect = __VARIANT__; export const enableUseDeferredValueInitialArg = __VARIANT__; diff --git a/packages/shared/forks/ReactFeatureFlags.www.js b/packages/shared/forks/ReactFeatureFlags.www.js index f289e37dedbb3..fdba6012e729b 100644 --- a/packages/shared/forks/ReactFeatureFlags.www.js +++ b/packages/shared/forks/ReactFeatureFlags.www.js @@ -26,9 +26,9 @@ export const { enableUnifiedSyncLane, enableRetryLaneExpiration, enableTransitionTracing, - enableCustomElementPropertySupport, enableDeferRootSchedulingToMicrotask, enableAsyncActions, + enableFormActions, alwaysThrottleRetries, enableDO_NOT_USE_disableStrictPassiveEffect, disableSchedulerTimeoutInWorkLoop, @@ -53,6 +53,7 @@ export const createRootStrictEffectsByDefault = false; export const enableSuspenseAvoidThisFallback = true; export const enableSuspenseAvoidThisFallbackFizz = false; +export const enableCustomElementPropertySupport = true; export const enableCPUSuspense = true; export const enableFloat = true; export const enableUseMemoCacheHook = true; @@ -72,8 +73,6 @@ export const enableLegacyCache = true; export const enableCacheElement = true; export const enableFetchInstrumentation = false; -export const enableFormActions = false; - export const enableBinaryFlight = false; export const enableTaint = false;