Land enableHiddenSubtreeInsertionEffectCleanup (#34372)

Fixes a bug where insertion effects were not cleaned up if a hidden
Activity is unmounted.
This commit is contained in:
Ricky
2025-10-01 16:31:30 -04:00
committed by GitHub
parent aef8b1b562
commit 7f9d99749c

View File

@@ -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`.