Skip to content

Commit c9d9f52

Browse files
authored
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.
1 parent 1a49e2d commit c9d9f52

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/shared/forks/ReactFeatureFlags.www-dynamic.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export const enableUnifiedSyncLane = __VARIANT__;
2626
export const enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay =
2727
__VARIANT__;
2828
export const enableTransitionTracing = __VARIANT__;
29+
export const enableCustomElementPropertySupport = __VARIANT__;
30+
2931
// Enable this flag to help with concurrent mode debugging.
3032
// It logs information to the console about React scheduling, rendering, and commit phases.
3133
//

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export const {
3232
enableUnifiedSyncLane,
3333
enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay,
3434
enableTransitionTracing,
35+
enableCustomElementPropertySupport,
3536
} = dynamicFeatureFlags;
3637

3738
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
@@ -100,8 +101,6 @@ export const enableServerContext = true;
100101
// Some www surfaces are still using this. Remove once they have been migrated.
101102
export const enableUseMutableSource = true;
102103

103-
export const enableCustomElementPropertySupport = __EXPERIMENTAL__;
104-
105104
export const useModernStrictMode = false;
106105
export const enableFizzExternalRuntime = true;
107106

0 commit comments

Comments
 (0)