mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01: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:
parent
aef8b1b562
commit
7f9d99749c
|
|
@ -166,7 +166,7 @@ export const renameElementSymbol: boolean = true;
|
||||||
/**
|
/**
|
||||||
* Enables a fix to run insertion effect cleanup on hidden subtrees.
|
* 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`.
|
* Removes legacy style context defined using static `contextTypes` and consumed with static `childContextTypes`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user