title: ReactJS. How to get states of elements inside react component
body: <p>Help me please to get states of elements inside react component or other some custom features with information which I need. Every of td tags contains react component Block1.
  Simplified code structure below</p>
  
  <pre><code>class Block2 extends React.Component {
  render() {
    return (
      &lt;table&gt;
        &lt;tbody&gt;
          &lt;tr&gt;
            &lt;td&gt;
              &lt;Block1 /&gt;
            &lt;/td&gt;
            &lt;td&gt;
              &lt;Block1 /&gt;
            &lt;/td&gt;
          &lt;/tr&gt;
        &lt;/tbody&gt;
      &lt;/table&gt;
    )}}
  </code></pre>
  
  <p>Block1 - react component which contain div elements.
  Block2 is inside component Block3. How to get states of Block1 from Block3 by  click on some button?
  Now, I can get list of Block1 and may see props, but I can't see states. Or I can get DOM td elements and see children classNames (which I looking for in states) but I can't see props...</p>