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.
This commit is contained in:
Andrew Clark 2023-02-17 15:45:03 -05:00 committed by GitHub
parent 1a49e2d833
commit c9d9f524d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,8 @@ export const enableUnifiedSyncLane = __VARIANT__;
export const enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay =
__VARIANT__;
export const enableTransitionTracing = __VARIANT__;
export const enableCustomElementPropertySupport = __VARIANT__;
// Enable this flag to help with concurrent mode debugging.
// It logs information to the console about React scheduling, rendering, and commit phases.
//

View File

@ -32,6 +32,7 @@ export const {
enableUnifiedSyncLane,
enableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay,
enableTransitionTracing,
enableCustomElementPropertySupport,
} = dynamicFeatureFlags;
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
@ -100,8 +101,6 @@ export const enableServerContext = true;
// Some www surfaces are still using this. Remove once they have been migrated.
export const enableUseMutableSource = true;
export const enableCustomElementPropertySupport = __EXPERIMENTAL__;
export const useModernStrictMode = false;
export const enableFizzExternalRuntime = true;