Skip to content

Commit 843fa4c

Browse files
Brian Vaughnzhengjitf
Brian Vaughn
authored andcommitted
Enable enableSuspenseLayoutEffectSemantics flag statically for Facebook (facebook#22050)
1 parent 618b8be commit 843fa4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export const disableInputAttributeSyncing = __VARIANT__;
1818
export const enableFilterEmptyStringAttributesDOM = __VARIANT__;
1919
export const enableLegacyFBSupport = __VARIANT__;
2020
export const skipUnmountedBoundaries = __VARIANT__;
21-
export const enableSuspenseLayoutEffectSemantics = __VARIANT__;
2221

2322
// Enable this flag to help with concurrent mode debugging.
2423
// It logs information to the console about React scheduling, rendering, and commit phases.

packages/shared/forks/ReactFeatureFlags.www.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export const {
2626
enableDebugTracing,
2727
skipUnmountedBoundaries,
2828
createRootStrictEffectsByDefault,
29-
enableSuspenseLayoutEffectSemantics,
3029
enableUseRefAccessWarning,
3130
disableNativeComponentFrames,
3231
disableSchedulerTimeoutInWorkLoop,
@@ -47,6 +46,8 @@ export const enableProfilerNestedUpdateScheduledHook =
4746
__PROFILE__ && dynamicFeatureFlags.enableProfilerNestedUpdateScheduledHook;
4847
export const enableUpdaterTracking = __PROFILE__;
4948

49+
export const enableSuspenseLayoutEffectSemantics = true;
50+
5051
// Logs additional User Timing API marks for use with an experimental profiling tool.
5152
export const enableSchedulingProfiler =
5253
__PROFILE__ && dynamicFeatureFlags.enableSchedulingProfiler;

0 commit comments

Comments
 (0)