title: Removing # from HashRouter
body: <p>I'm using <code>react-router-dom</code> for my routing and, since I'm also using GitHub Pages, I need to use <code>HashRouter</code> in my <code>Router.jsx</code> like so</p>
  
  <pre><code>import React from 'react';
  import { HashRouter as Router, Route, Switch } from 'react-router-dom';
  
  import Home from './Home';
  import Customer from './Customer';
  
  const MyRouter = () =&gt; (
    &lt;Router&gt;
      &lt;Switch&gt;
        &lt;Route path="/customer" component={Customer} /&gt;
        &lt;Route path="/" component={Home} /&gt;
      &lt;/Switch&gt;
    &lt;/Router&gt;
  );
  
  export default MyRouter;
  </code></pre>
  
  <p>In my <code>Home.jsx</code> component  I have defined my propTypes like so</p>
  
  <pre><code>Homepage.propTypes = {
    history: PropTypes.shape({ // set by react-router
      push: PropTypes.func.isRequired,
    }).isRequired,
  };
  </code></pre>
  
  <p>My problem is that everytime I get a <code>#</code> in my URL and I would like to know why is it there all the time and why does my localhost without <code>#</code> redirect me to the same URL but with <code>#</code>(like if I go to <a href="http://localhost:4000/myApp/" rel="noreferrer">http://localhost:4000/myApp/</a> it will redirect me to <a href="http://localhost:4000/myApp/#/" rel="noreferrer">http://localhost:4000/myApp/#/</a>). I would like to get rif of it for tracking purposes. I've tried using <code>BrowserRouter</code> but it won't work, as well as the history parameter for the Router like <code>history={createHashHistory({ queryKey: false })}</code> or <code>history={browserHistory}</code>.</p>
  
  <p>Thank you very much (and sorry for my English)</p>