mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Make enableLegacyFBSupport flag dynamic for www (#18551)
This commit is contained in:
@@ -18,6 +18,8 @@ export const enableComponentStackLocations = __VARIANT__;
|
||||
export const disableModulePatternComponents = __VARIANT__;
|
||||
export const disableInputAttributeSyncing = __VARIANT__;
|
||||
export const enableFilterEmptyStringAttributesDOM = __VARIANT__;
|
||||
export const enableModernEventSystem = __VARIANT__;
|
||||
export const enableLegacyFBSupport = __VARIANT__;
|
||||
|
||||
// These are already tested in both modes using the build type dimension,
|
||||
// so we don't need to use __VARIANT__ to get extra coverage.
|
||||
@@ -29,4 +31,3 @@ export const replayFailedUnitOfWorkWithInvokeGuardedCallback = __DEV__;
|
||||
// to __VARIANT__.
|
||||
export const enableTrustedTypesIntegration = false;
|
||||
export const disableSchedulerTimeoutBasedOnReactExpirationTime = false;
|
||||
export const enableModernEventSystem = false;
|
||||
|
||||
@@ -25,6 +25,7 @@ export const {
|
||||
replayFailedUnitOfWorkWithInvokeGuardedCallback,
|
||||
enableModernEventSystem,
|
||||
enableFilterEmptyStringAttributesDOM,
|
||||
enableLegacyFBSupport,
|
||||
} = dynamicFeatureFlags;
|
||||
|
||||
// On WWW, __EXPERIMENTAL__ is used for a new modern build.
|
||||
@@ -69,8 +70,6 @@ export const disableTextareaChildren = __EXPERIMENTAL__;
|
||||
|
||||
export const warnUnstableRenderSubtreeIntoContainer = false;
|
||||
|
||||
export const enableLegacyFBSupport = !__EXPERIMENTAL__;
|
||||
|
||||
// Internal-only attempt to debug a React Native issue. See D20130868.
|
||||
export const throwEarlyForMysteriousError = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user