title: When accessing front-end SPA-links from browser, back-end fires finding no route
body: <p>I have a working front-end single-page-application written in JS (ReactJS), and a working back-end in Phoenix (Elixir). Everything works out fine as long as navigation happens within the application. However, when I try to access a page in the SPA from the browser, I get a route error fired from Phoenix. For example:</p>
  
  <pre><code>no route found for GET /search (PhoenixApp.Router)
  </code></pre>
  
  <p>is what I get when I access <a href="http://localhost:4000/search" rel="nofollow noreferrer">http://localhost:4000/search</a> from the browser.</p>
  
  <p>When I access <a href="http://localhost:4000/search" rel="nofollow noreferrer">http://localhost:4000/search</a> from the navigation inside the SPA, I get a working page from ReactJS.</p>
  
  <p>So my question: How can I get ReactJS to get the page, rather than Phoenix?</p>