title: ReactDOM.render vs React Component render difference
body: <p>I have started leaning React. render() method is used at two places:</p>
  
  <ol>
  <li>With ReactDOM.render()</li>
  </ol>
  
  <pre class="lang-js prettyprint-override"><code>ReactDOM.render( &lt;
    Test / &gt; ,
    document.getElementById('react-application')
  );
  </code></pre>
  
  
  
  <ol start="2">
  <li>Other is inside class which extends component.</li>
  </ol>
  
  <pre class="lang-js prettyprint-override"><code>class Test extends React.Component {
    render() {
      return ( &lt;
        div &gt; Hello &lt; /div&gt;
      )
    }
  }
  </code></pre>
  
  
  
  <p>What is the exact difference between these two render methods?</p>