title: React - passing 'this' as a prop
body: <p>Is there any side effect I do not see by doing this ?</p>
  <pre><code>class App extends React.Component {
      hello() {
          console.log(&quot;hello&quot;)
      }
  
      render() {
          return &lt;Layout app={this}&gt;
      }
  }
  </code></pre>
  <p>So later on I can refer to this.props.app.hello (and others) from Layout ?</p>