title: Access child state of child from parent component in react
body: <p>I want to access <code>&lt;Child2&gt;</code> state from parent component.</p>
  
  <pre><code>&lt;Parent&gt;
     &lt;Child1&gt;
        &lt;Child2&gt;
     &lt;/Child1&gt;
  &lt;/Parent&gt;
  </code></pre>
  
  <p>How it can be achieved?</p>