Semantic portal
Main
Courses
Domains
Terminology
About
ReactDOM
ReactDOM: unmountComponentAtNode()
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.
Related concepts
State
React
ReactDOM
→
unmountComponentAtNode()
ReactDOM: unmountComponentAtNode() — Structure map
Clickable & Draggable!
ReactDOM: unmountComponentAtNode() — Related pages:
ReactDOM