title: Uncaught Error: _registerComponent(...): Target container is not a DOM element
body: <p>I created a Reactjs component running in webpack and looks like this:</p>
  
  <pre><code>class Application extends React.Component {
      render() {
          //debugger
          console.log('hi there')
          return &lt;div&gt;
              &lt;h1&gt;hello world&lt;/h1&gt;
          &lt;/div&gt;;
      }
  }
  
  /*
   * 
   */
  ReactDOM.render(&lt;Application /&gt;, document.getElementById('root'));
  </code></pre>
  
  <p>Part of my index.html looks like this:</p>
  
  <pre><code>&lt;body&gt;
  
  &lt;div id="root"&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p>I am getting the error see above when goin to <a href="http://localhost:9999/bundletje#/" rel="nofollow noreferrer">http://localhost:9999/bundletje#/</a>. How can I fix this?</p>