dillon1000/react

Commit

Make unmountAndReleaseReactRootNode not throw

When there isn't any React node in the DOM, unmountAndReleaseReactRootNode
threw an exception because component was undefined. Instead, return whether we
were able to unmount the component.
Browse files
Changed paths1 file
First-parent comparison
M src/core/ReactMount.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…