Enable enableSuspenseLayoutEffectSemantics flag statically for Facebook (#22050)
Brian Vaughn committed
Aug 9, 2021 at 15:45 UTC
ecd73e17bcdecc092cb56259999787d832d6510a
2 files changed
+2
-2
packages/shared/forks/ReactFeatureFlags.www-dynamic.js
-1
@@ -18,7 +18,6 @@ export const disableInputAttributeSyncing = __VARIANT__;
18
export const enableFilterEmptyStringAttributesDOM = __VARIANT__;
19
export const enableLegacyFBSupport = __VARIANT__;
20
export const skipUnmountedBoundaries = __VARIANT__;
21
-export const enableSuspenseLayoutEffectSemantics = __VARIANT__;
21
22
// Enable this flag to help with concurrent mode debugging.
23
// It logs information to the console about React scheduling, rendering, and commit phases.
packages/shared/forks/ReactFeatureFlags.www.js
+2
-1
@@ -26,7 +26,6 @@ export const {
26
enableDebugTracing,
27
skipUnmountedBoundaries,
28
createRootStrictEffectsByDefault,
29
- enableSuspenseLayoutEffectSemantics,
29
enableUseRefAccessWarning,
30
disableNativeComponentFrames,
31
disableSchedulerTimeoutInWorkLoop,
@@ -47,6 +46,8 @@ export const enableProfilerNestedUpdateScheduledHook =
46
__PROFILE__ && dynamicFeatureFlags.enableProfilerNestedUpdateScheduledHook;
47
export const enableUpdaterTracking = __PROFILE__;
48
49
+export const enableSuspenseLayoutEffectSemantics = true;
50
+
51
// Logs additional User Timing API marks for use with an experimental profiling tool.
52
export const enableSchedulingProfiler =
53
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;