title: React: How to pass a pointer to one component to a second component
body: <p>How can you pass a pointer to component 1 to component 2 (so that you can work with component 1 inside component 2, e.g. get its properties)</p>
  <pre><code>&lt;Component1 /&gt;
  &lt;Component2 target = {Component1} /&gt;
  </code></pre>
  <p>In part, this problem can be solved by handling events from component 1, because in this case a зpointer to it (event.target) will be available, but what about before such an event occurs?</p>