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