I\'m trying to unmount a React.js node with this._rootNodeID
handleClick: function() { React.unmountComponentAtNode(this.
Unmount components from the same DOM element that you mount them in. So if you did something like:
ReactDOM.render( , document.getElementById('container'));
Then you would unmount it with:
ReactDOM.unmountComponentAtNode(document.getElementById('container'));
Here is a simple JSFiddle where we mount the component and then unmount it after 3 seconds.