dillon1000/react

Commit

Avoid indexOf() during unmounting a root in the hook (#7496)

* Avoid indexOf() during unmounting a root in the hook

* Check for (Map|Set).prototype.keys
Browse files
Changed paths2 files
First-parent comparison
M src/isomorphic/hooks/ReactComponentTreeHook.js ModifiedM src/renderers/shared/hooks/__tests__/ReactComponentTreeHook-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…