HashHistory vs. BrowserHistory
<p>I am using Node with Webpack-Dev-Server and React-Router.</p>

<p>In my <code>app.js</code> file I have:</p>

<pre><code>&lt;Router history={browserHistory}&gt;
  &lt;Route path="/" component={Layout}&gt;
    &lt;IndexRoute component={FindFriends} /&gt;
    &lt;Route path="/you" component={YouAndYourFriends} /&gt;
  &lt;/Route&gt;
&lt;/Router&gt;
</code></pre>

<p>Using <code>browserHistory</code> the browser returns an error: <code>Cannot GET /you</code></p>

<p>When I change <code>browserHistory</code> to <code>hashHistory</code>, everything works fine.</p>

<p>Where is my mistake? Or what should you do using <code>browserHistory</code>?</p>