title: React-Router 5 - BrowserRouter fallback redirect on page refresh only if there's no match
body: <p>So far I have not bee able to find a way to redirect to <code>/home</code> if the router fails to match, when refreshing the page.  If you're on <code>Bar</code> and refresh, you will always go to <code>/home</code> instead of <code>Bar</code>.  Without the <code>redirect</code> you can refresh and stay on <code>Bar</code>.  Is there way to know when the <code>Switch</code> fails to match any of the defined routes?  </p>
  
  <pre><code>&lt;Switch&gt; 
      &lt;Route path={ '/foo' }&gt;
          &lt;Foo /&gt;
      &lt;/Route&gt;
      &lt;Route path={ '/bar' }&gt;
         &lt;Bar /&gt;
      &lt;/Route&gt;                          
      &lt;Route path={ '/home' }&gt;
          &lt;Home /&gt;
      &lt;/Route&gt;
      &lt;Route path={ '/' }&gt;
          &lt;Redirect to={ '/home' } /&gt;
      &lt;/Route&gt;
  &lt;/Switch&gt;
  </code></pre>