title: How to delay the redirect of a React Router Link component for 1 second?
body: <p>When you click a link, the browser tries to redirect the user ASAP. How can I add a 1 second delay to this process?</p>
  
  <p>I have the following link:</p>
  
  <pre><code>  &lt;Link
      to={{
        pathname: `pathname`,
        hash: `#hash`,
      }}
      onClick={this.delayRedirect}
    &gt;
  </code></pre>
  
  <p>Here is what my delayRedirect function looks like:</p>
  
  <pre><code>  delayRedirect() {
      // not sure what to put here, to delay the redirect by 1 second
    }
  </code></pre>
  
  <p>Any ideas? Thanks!</p>