mirror of
https://github.com/facebook/react.git
synced 2026-02-21 19:31:52 +00:00
Land enableHiddenSubtreeInsertionEffectCleanup (#34372)
Fixes a bug where insertion effects were not cleaned up if a hidden Activity is unmounted.
This commit is contained in:
@@ -166,7 +166,7 @@ export const renameElementSymbol: boolean = true;
|
||||
/**
|
||||
* Enables a fix to run insertion effect cleanup on hidden subtrees.
|
||||
*/
|
||||
export const enableHiddenSubtreeInsertionEffectCleanup: boolean = false;
|
||||
export const enableHiddenSubtreeInsertionEffectCleanup: boolean = true;
|
||||
|
||||
/**
|
||||
* Removes legacy style context defined using static `contextTypes` and consumed with static `childContextTypes`.
|
||||
|
||||
Reference in New Issue
Block a user