React Router Breaks When Deployed To Firebase Hosting
I created a React Vite Js project a few weeks ago utilizing React Router with BrowserRouter and it was working fine. When I went to deploy some changes today, nothing of which messes with react router, the routing system broke. I shouldn’t say broke but it is super finicky. The base path loads with no problem. When the route is switched it is a toss up of what issue follows. It either gets re-routed back to the base path, like a refresh, or a firebase error pop up saying this path doesn’t exist.