Skip to content

Commit

Permalink
Enable enableSuspenseLayoutEffectSemantics for OSS flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Jun 1, 2021
1 parent 78728a4 commit f27b230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/ReactFeatureFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const deletedTreeCleanUpLevel = 1;
// Destroy layout effects for components that are hidden because something suspended in an update
// and recreate them when they are shown again (after the suspended boundary has resolved).
// Note that this should be an uncommon use case and can be avoided by using the transition API.
export const enableSuspenseLayoutEffectSemantics = false;
export const enableSuspenseLayoutEffectSemantics = true;

// --------------------------
// Future APIs to be deprecated
Expand Down

0 comments on commit f27b230

Please sign in to comment.