title: I am getting an error in React and I'm not sure why
body: <p>I am just learning React and I'm at a lose with this one. The tutorials I am watching are giving me the quick ES6 version of setting up arrow functions with implicit returns. Thank you for the help! I am getting no errors on webpack with babel-loader and eslint is giving no errors as well.</p>
  
  <p>Here is the error: </p>
  
  <p>Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of <code>App</code>.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>const React = require('react')
  const ReactDOM = require('react-dom')
  const Landing = require('./Landing')
  const ReactRouter = require('react-router')
  const { Router, Route, hashHistory } = ReactRouter
  
  const App = () =&gt; (
    &lt;Router history={hashHistory}&gt;
      &lt;Route path='/' component={Landing} /&gt;
    &lt;/Router&gt;
  )
  ReactDOM.render(&lt;App /&gt;, document.getElementById('app'))
  </code></pre>
  
  <p>and the page it's suppose to go to:</p>
  
  <pre><code>const React = require('react')
  const Landing = () =&gt; (
    &lt;div className='app-container'&gt;
      &lt;div className='home-info'&gt;
        &lt;h1 className='title'&gt;svideo&lt;/h1&gt;
        &lt;input className='search' type='text' placeholder='Search' /&gt;
        &lt;a className='browse-all'&gt;or Browse All&lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  )
  
  module.exports = Landing
  
     &lt;!DOCTYPE html&gt;
      &lt;html lang="en"&gt;
      &lt;head&gt;
        &lt;meta charset="UTF-8"&gt;
        &lt;title&gt;Vidflix&lt;/title&gt;
        &lt;link rel="stylesheet" href="./public/normalize.css" /&gt;
        &lt;link rel="stylesheet" href="./public/style.css" /&gt;
      &lt;/head&gt;
      &lt;body&gt;
        &lt;div id="app"&gt;&lt;/div&gt;
        &lt;script src="public/bundle.js"&gt;&lt;/script&gt;
     &lt;/body&gt;
     &lt;/html&gt;
  </code></pre>
  
  <p>this is the HTML to go with it</p>