For my React site, I want to be able to properly use routes using pushstate. Is that possible with Netlify?
Using a rewrite, I have already managed to avoid the 404 when a user refreshes the website that occurred because part of the url is ‘virtual’ (as in: part of a React route). But now the user is always redirected to the default page of my website upon refreshing or after following a deep link instead of being presented with the route he or she was at.
Is it possible to let Netlify respond with the index when the user visits a non-existing url, but without redirecting to the index url so that my React site can serve the route that was requested?