Skip to content

Commit

Permalink
runAllPassiveEffectDestroysBeforeCreates's feature flag description t…
Browse files Browse the repository at this point in the history
…ypo fixed (#18115)
  • Loading branch information
adasq authored Feb 24, 2020
1 parent be76966 commit 501a788
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 @@ -95,7 +95,7 @@ export const enableNativeTargetAsInstance = false;

// Controls sequence of passive effect destroy and create functions.
// If this flag is off, destroy and create functions may be interleaved.
// When the falg is on, all destroy functions will be run (for all fibers)
// When the flag is on, all destroy functions will be run (for all fibers)
// before any create functions are run, similar to how layout effects work.
// This flag provides a killswitch if that proves to break existing code somehow.
export const runAllPassiveEffectDestroysBeforeCreates = false;
Expand Down

0 comments on commit 501a788

Please sign in to comment.