title: React Router Renders Blank Page
body: <p>I am building a react application and the react router renders a black page. I've googled around and can't seem to figure out what's going on.</p>
  
  <p>index</p>
  
  <pre><code>import React from 'react'
  import {render} from 'react-dom'
  import routes from './routes'
  render(routes, document.getElementById('root'))
  </code></pre>
  
  <p>routes </p>
  
  <pre><code>import React, { Component } from 'react'
  import { Router, Route, hashHistory } from 'react-router'
  import Home from './Home.js'
  import Name from './Name.js'
  //import level from './level.js'
  //import level1 from './level1.js'
  //import level2 from './level2.js'
  //import result from './result.js'
  
  const routes = (
    &lt;Router history={hashHistory}&gt;
      &lt;Route path='/' component={Home} /&gt;
      &lt;Route path='/name' component={Name} /&gt;
    &lt;/Router&gt;
  );
  
  export default routes;
  </code></pre>
  
  <p>component that doesn't render by navigating /name</p>
  
  <pre><code>import React, { Component } from 'react'
  import appState from './state.js'
  import { Router } from 'react-router'
  
  class Name extends Component {
    constructor() {
      super();
      this.state = {username: ''};
    }
  
    onUpdateUser = (e) =&gt; {
      this.appState.username = e.target.value;
      Router.push({
        pathname: '/level'
      })
    }
  
    render() {
      return (
        &lt;div className="row"&gt;
          &lt;div claassName="col-md-12"&gt;
            &lt;div className="nameBox"&gt;
              &lt;form className="form-inline" onSubmit={this.onUpdateUser()}&gt;
                &lt;input type="text" className="form-control" placeholder="Desiered Username" onChange={this.onUpdateUser} value={this.state.username} /&gt;
                &lt;button type="submit" className="btn btn-success"&gt;Submit&lt;/button&gt;
              &lt;/form&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      )
    }
  }
  
  export default Name
  </code></pre>
  
  <p>Any help would be appreciated!PS The index route works fine.</p>