title: Why es6 react component works only with "export default"?
body: <p>This component does work:</p>
  
  <pre><code>export class Template extends React.Component {
      render() {
          return (
              &lt;div&gt; component &lt;/div&gt;
          );
      }
  };
  export default Template;
  </code></pre>
  
  <p>If i remove last row, it doesn't work.</p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'toUpperCase' of undefined
  </code></pre>
  
  <p>I guess, I don't understand something in es6 syntax. Isn't it have to export without sign "default"? </p>