unmountComponentAtNode function
Removes a React Component
from the DOM that was mounted via render
and cleans up its event handlers and state.
- Returns
false
if aComponent
was not mounted in themountNode
. - Returns
true
if aComponent
was mounted in themountNode
.
Proxies
react_dom.unmountComponentAtNode
.
Implementation
bool unmountComponentAtNode(Element mountNode) {
return react_dom.unmountComponentAtNode(mountNode) as bool;
}