Skip to content

Commit

Permalink
Enable strict effects mode for React Native Facebook builds (#21354)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn authored Apr 26, 2021
1 parent 84b9162 commit 7212383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/forks/ReactFeatureFlags.native-fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const enableSuspenseLayoutEffectSemantics = false;
export const enableNewReconciler = false;
export const deferRenderPhaseUpdateToNextBatch = true;

export const enableStrictEffects = false;
export const enableStrictEffects = __DEV__;
export const createRootStrictEffectsByDefault = false;
export const enableUseRefAccessWarning = false;

Expand Down

0 comments on commit 7212383

Please sign in to comment.