Enable enableSuspenseLayoutEffectSemantics flag statically for Facebook (#22050)

This commit is contained in:
Brian Vaughn
2021-08-09 15:45:12 -04:00
committed by GitHub
parent 64931821a9
commit ecd73e17bc
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,6 @@ export const disableInputAttributeSyncing = __VARIANT__;
export const enableFilterEmptyStringAttributesDOM = __VARIANT__;
export const enableLegacyFBSupport = __VARIANT__;
export const skipUnmountedBoundaries = __VARIANT__;
export const enableSuspenseLayoutEffectSemantics = __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

@@ -26,7 +26,6 @@ export const {
enableDebugTracing,
skipUnmountedBoundaries,
createRootStrictEffectsByDefault,
enableSuspenseLayoutEffectSemantics,
enableUseRefAccessWarning,
disableNativeComponentFrames,
disableSchedulerTimeoutInWorkLoop,
@@ -47,6 +46,8 @@ export const enableProfilerNestedUpdateScheduledHook =
__PROFILE__ && dynamicFeatureFlags.enableProfilerNestedUpdateScheduledHook;
export const enableUpdaterTracking = __PROFILE__;
export const enableSuspenseLayoutEffectSemantics = true;
// Logs additional User Timing API marks for use with an experimental profiling tool.
export const enableSchedulingProfiler =
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;