From 501a78881e356bae2bc66be3d25966e87f5aa757 Mon Sep 17 00:00:00 2001 From: adasq Date: Mon, 24 Feb 2020 15:49:13 +0100 Subject: [PATCH] runAllPassiveEffectDestroysBeforeCreates's feature flag description typo fixed (#18115) --- packages/shared/ReactFeatureFlags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared/ReactFeatureFlags.js b/packages/shared/ReactFeatureFlags.js index 1008cd05fd6a2..eab16bb07932d 100644 --- a/packages/shared/ReactFeatureFlags.js +++ b/packages/shared/ReactFeatureFlags.js @@ -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;