title: React redirect - Redirect component on react-router-dom
body: <p>I'm trying to build a simple component that will make one API call and after 2 seconds will redirect to another page.
  For that, I tried to use the Redirect component from react-router-dom,
  but the import fails</p>
  <pre><code>import { Redirect } from &quot;react-router-dom&quot;
  </code></pre>
  <p>I'm getting the error: &quot;react-router-dom has no exported member 'Redirect'.&quot;</p>
  <p>version &quot;react-router-dom&quot;: &quot;^6.0.0-beta.0&quot;,</p>