Is it possible to have a component with child components that will be mounted to different DOM objects?
Some pseudo-code to explain what I wanna archieve:
import ChildComponent1 from './Components/ChildComponent1';
import ChildComponent2 from './Components/ChildComponent2';
var MyParentComponent = React.createClass({
  render: function() {
    <ChildComponent1 />,
    document.querySelector('#component-1')
    <ChildComponent2 />,
    document.querySelector('#component-2')
  }
});
ReactDOM.render(
  <MyParentComponent />,
  //Inherit DOM mounts
);
This might not be the right way to handle it though - I'm open for suggestions. I want to do like this, to make MyParentComponent take care of the state values etc. If I just add multiple ReactDOM.render() I won't have any parent component.
 
     
     
     
     
    