Skip to content

Commit 501a788

Browse files
authored
runAllPassiveEffectDestroysBeforeCreates's feature flag description typo fixed (#18115)
1 parent be76966 commit 501a788

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shared/ReactFeatureFlags.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export const enableNativeTargetAsInstance = false;
9595

9696
// Controls sequence of passive effect destroy and create functions.
9797
// 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)
9999
// before any create functions are run, similar to how layout effects work.
100100
// This flag provides a killswitch if that proves to break existing code somehow.
101101
export const runAllPassiveEffectDestroysBeforeCreates = false;

0 commit comments

Comments
 (0)