Tag: BrowserRouter

  • SPA get 404 error when refreshing the page or access directly and SEO?

    When developing and deploying SPA app, eg: Reactjs, the navigation between pages works perfectly by clicking through several routes and everything seemed fine. Somehow the URL looks like: http://abc.com/job/431 …until we refreshed the page or tried to access a route directly. We got a 404 error. One of working around solution: Use HashRouter instead of…