@samitouri / QOS-React-2 / commits / 501a78881e

runAllPassiveEffectDestroysBeforeCreates's feature flag description typo fixed (#18115)

adasq committed Feb 24, 2020 at 15:49 UTC 501a78881e356bae2bc66be3d25966e87f5aa757
1 file changed +1 -1
packages/shared/ReactFeatureFlags.js
+1 -1
@@ -95,7 +95,7 @@ export const enableNativeTargetAsInstance = false;
95
96 // Controls sequence of passive effect destroy and create functions.
97 // If this flag is off, destroy and create functions may be interleaved.
98 -// When the falg is on, all destroy functions will be run (for all fibers)
98 +// When the flag is on, all destroy functions will be run (for all fibers)
99 // before any create functions are run, similar to how layout effects work.
100 // This flag provides a killswitch if that proves to break existing code somehow.
101 export const runAllPassiveEffectDestroysBeforeCreates = false;