title: React Router v4 not working
body: <p>I have the following code for router setup:</p>
  
  <pre><code>import React from 'react'; 
  import { Router, Route, browserHistory } from 'react-router'; 
  import App from './App'; 
  
  export default () =&gt; ( 
    &lt;Router history={browserHistory}&gt; 
      &lt;Route name="demo" path="/mydemo" component={App} /&gt; 
    &lt;/Router&gt;
  );
  </code></pre>
  
  <p>However, I'm getting the following error: </p>
  
  <pre><code>Warning: Failed prop type: The prop `history` is marked as required in `Router`, but its value is `undefined`. in Router (at Router.js:12)    
  Uncaught TypeError: Cannot read property 'location' of undefined at new Router (Router.js:43)
  </code></pre>