title: How do I pass parent state to its child components?
body: <p>I am new in React ES6 and I think I am modifying the state in a wrong way. My code is like this when I set state on parent component:</p>
  
  <pre><code>class App extends React.Component  {
  constuctor(props)  {
       super(props);
       this.state = {name:"helloworld"};
  }
   render() { 
    return( 
     &lt;ChildComponent parentObj={this} /&gt; // parentObj for parent context as props on child components  
    ); 
   } 
  }
  </code></pre>
  
  <p>My problem is in other child components, I have to do it repeatitively, is there another way of doing it? I have no problem with React.createClass, but I want to code in es6 so i have this problem. </p>