You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to update react-router-dom and dependencies related to it to ensure React 18 compatibility and cleanup our code from deprecated usages. This is also a great opportunity for us to remove unused react-router-redux as it's not working since react-router v4 and it hasn't been used in our code for over 3 years.
Acceptance Criteria:
react-router-dom is updated to latest v5 version (5.3.4 at the time of creating this issue)
@types/react-router-dom is updated to version compatible with the updated react-router-dom
react-router is removed and imports are updated to use react-router-dom instead
importing from both react-router and react-router-dom can cause router context being null or invalid
react-router-redux is removed as it's no longer used or supported by modern react-router versions
history is removed in favor of <HashRouter>
The text was updated successfully, but these errors were encountered:
We need to update react-router-dom and dependencies related to it to ensure React 18 compatibility and cleanup our code from deprecated usages. This is also a great opportunity for us to remove unused
react-router-redux
as it's not working since react-router v4 and it hasn't been used in our code for over 3 years.Acceptance Criteria:
react-router-dom
is updated to latest v5 version (5.3.4 at the time of creating this issue)@types/react-router-dom
is updated to version compatible with the updatedreact-router-dom
react-router
is removed and imports are updated to usereact-router-dom
insteadreact-router-redux
is removed as it's no longer used or supported by modern react-router versionshistory
is removed in favor of<HashRouter>
The text was updated successfully, but these errors were encountered: