Make enableCustomElementPropertySupport a dynamic flag in www build (#26194)
Turns enableCustomElementPropertySupport into a dynamic flag in the www build so we can turn it on behind a GK.
Andrew Clark committed
Feb 17, 2023 at 15:45 UTC
c9d9f524d7deaf3ec94e3d13dc84240bd63cded2
2 files changed
+3
-2
packages/shared/forks/ReactFeatureFlags.www-dynamic.js
+2
@@ -26,6 +26,8 @@ export const enableUnifiedSyncLane = __VARIANT__;
26
export const enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay =
27
__VARIANT__;
28
export const enableTransitionTracing = __VARIANT__;
29
+export const enableCustomElementPropertySupport = __VARIANT__;
30
+
31
// Enable this flag to help with concurrent mode debugging.
32
// It logs information to the console about React scheduling, rendering, and commit phases.
33
//
packages/shared/forks/ReactFeatureFlags.www.js
+1
-2
@@ -32,6 +32,7 @@ export const {
32
enableUnifiedSyncLane,
33
enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay,
34
enableTransitionTracing,
35
+ enableCustomElementPropertySupport,
36
} = dynamicFeatureFlags;
37
38
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
@@ -100,8 +101,6 @@ export const enableServerContext = true;
101
// Some www surfaces are still using this. Remove once they have been migrated.
102
export const enableUseMutableSource = true;
103
103
-export const enableCustomElementPropertySupport = __EXPERIMENTAL__;
104
-
104
export const useModernStrictMode = false;
105
export const enableFizzExternalRuntime = true;
106