Refreshing a page on the server leads to a GET / error. This likely happens because the instance of React Router only works on the landing page and not on subsequent routes - because they're being served by SSR.
Technical Criteria
There are a couple of ways to solve this, but the simplest at this time would be a hybrid approach - and to load the React Router on all Not Found pages - by setting up a index.html redirect.
Acceptance Criteria
Test it on your local
Inspect element and make sure there are no react-axe errors related to the component you're working on.
Merge your branch into the develop branch and push.
Task Description
Refreshing a page on the server leads to a GET / error. This likely happens because the instance of React Router only works on the landing page and not on subsequent routes - because they're being served by SSR.
Technical Criteria
There are a couple of ways to solve this, but the simplest at this time would be a hybrid approach - and to load the React Router on all Not Found pages - by setting up a
index.html
redirect.Acceptance Criteria
react-axe
errors related to the component you're working on.develop
branch and push.stable
branch for Fatima to review.