dillon1000/react

Commit

Clear memoizedState on unmount of fiber to avoid memory leak (#14218)

* Clear properties on unmount of fiber to ensure objects are not retained
Browse files
Changed paths1 file
First-parent comparison
M packages/react-reconciler/src/ReactFiberCommitWork.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…