title: Why does my React Component Export not work?
body: <p>I was just getting into react and trying it out for myself. After hours of configuring webpack just to get a hello world on my screen I thought I could get going now but after trying to render another component from a file the next problem.</p>
  
  <p>My main file is app.js, which renders everything:</p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import {Hello} from './hello';
  
  ReactDOM.render(
     &lt;Hello/&gt;,
     document.getElementById('app')
  );
  </code></pre>
  
  <p>The Hello component comes from my hello.js in the same folder:</p>
  
  <pre><code>import React from 'react';
  
  class Hello extends React.Component{
     render(){
         return (
             &lt;h1&gt;Hello, world!&lt;/h1&gt;
         )
      }
  }
  
  export default Hello;
  </code></pre>
  
  <p>It was rendering fine when I was doing everything just in app.js without the import/export. It also compiles fine. But there are a lot of errors now in the console. So what am I missing?</p>
  
  <p>Thanks</p>
  
  <p>Gerd</p>