I have some components that are done such that:
var Example = React.createClass({
render: function(){
return(
<div>
...
<SomeComponentName />
</div>
);
}
});
When this component is mounted is there away to say unmount the SomeComponentName? Can I do that on the fly or do I have top find the node that SomeComponentName is attached to and then unmount it via the node like the docs state.
Right now it only seems like you can unmount by node but if you could unmount by component name that would make life a lot easier in some cases where on route change you only ant to unmount specific components via their name.
Maybe I missing something?