title: Catch all redirect for create-react-app in netlify
body: <p>I have a built using <code>create-react-app</code> and hosted in <code>netlify</code>.</p>
  
  <p>In this <a href="https://www.netlify.com/docs/redirects/#history-pushstate-and-single-page-apps" rel="noreferrer">link</a> it is mentioned that I need to write redirect rules for SPAs. </p>
  
  <pre><code>/*    /index.html   200
  </code></pre>
  
  <p>But redirecting to <code>index.html</code> is not working since no view is rendered with that URL.
  I also tried redirecting to <code>/</code> like</p>
  
  <pre><code>[[redirects]]
    from = "/*"
    to = "/"
  </code></pre>
  
  <p>but this is also not working. </p>
  
  <p>How do I do a catch-all redirect for <code>create-react-app</code>?</p>