title: react router url issues after deployment
body: <p>I am using React router to change routes. This works well when I develop locally.</p>
  
  <p>My router code looks like this and everything works perfectly.</p>
  
  <pre><code>&lt;Router&gt;
      &lt;Route exact path="/" render={(routeProps)=&gt; &lt;Homepage {...routeProps} /&gt;}/&gt;
      &lt;Route path="/graph" render={(routeProps)=&gt; &lt;AboutPage {...routeProps} /&gt;}/&gt;            
  &lt;/Router&gt;
  </code></pre>
  
  <p>The issue I am having is when I deploy it to my github page, <code>http://exampleuser.github.io/react-project</code>.</p>
  
  <p>As the project is in a react-project folder this <code>"/"</code> refers to the actual route which is <code>http://exampleuser.github.io/</code></p>
  
  <p>Can anyone advise how the path should look so it works when deployed?</p>