title: react router 4 and express : cannot GET
body: <p>I'm trying to use react router 4, with an Express server.</p>
  
  <p>If I set the path to "/", it works.
  But if I set the path "/test", and visit test, I get "Cannot GET /test".
  Is it because React Router 4 is incompatible with Express ?</p>
  
  <p>app-client.js:</p>
  
  <pre><code>import { BrowserRouter, Route, Switch } from 'react-router-dom';
  import Board from './components/Board';
  
  ReactDOM.render(
      &lt;BrowserRouter&gt;
          &lt;div&gt;
              &lt;Route path="/test" component={Board} /&gt;
          &lt;/div&gt;
      &lt;/BrowserRouter&gt;
      , document.getElementById('react-container'));
  </code></pre>
  
  <p>Board.js:</p>
  
  <pre><code>var React = require('react');
  var createReactClass = require('create-react-class');
  
  var Board = createReactClass({
      render(){
          return (&lt;h1&gt;Board&lt;/h1&gt;)
      }    
  });
  
  export default Board;
  </code></pre>