React using React Router

Hey Webflow Community,

I have developed a React app that utilizes React Router and needs to run within a Webflow site. When I tested having the app load within a page in the site the initial page comes up just fine, however when I click on links that would go to a new page with the React app, Webflow’s routing takes over and I get an error page. This also happens if you try to reload the page after it has routed to a URL within the React app.
“oofta, looks like we led you astray…
THE PAGE YOU ARE LOOKING FOR DOESN’T EXIST OR HAS BEEN MOVED.”

I believe the solution is to switch to using URL hash routes instead of standard URLs but wanted to get input if anyone has gotten this scenario working before without hash routes.

Thanks for any guidance!

Mike

I have determined that the answer to this question is yes. Since any use of BrowserRouter within the React app will trigger the Webflow servers to attempt to load a page within the site.