in React JS by
Q:
REACTDOM unmountComponentAtNode()

▼ Show 1 Answer

0 votes
by
ReactDOM.unmountComponentAtNode(container)

Remove a mounted React component from the DOM and clean up its event handlers and state. If no component was mounted in the container, calling this function does nothing. Returns true if a component was unmounted and false if there was no component to unmount.

React JS
Learn More with Madanswer

Related questions

0 votes
0 votes
0 votes
asked Dec 14, 2019 in React JS by AdilsonLima
...