-
Story
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
None
-
False
-
-
False
-
8
-
None
-
None
-
OCP Console - Sprint 283
Direct access of the history object (from public/components/utils/router.ts) and its dependents:
- setQueryArgument
- setQueryArguments
- setAllQueryArguments
- removeQueryArgument
- removeQueryArguments
- setOrRemoveQueryArgument
are not officially supported by react-router v7, so we should remove them and replace them with useLocation and related hooks when possible.
Note: this is a nice-to-have as react-router still """""supports""""" BYO history object, it's just not supported or recommended: https://api.reactrouter.com/v7/functions/react_router.unstable_HistoryRouter.html
- relates to
-
CONSOLE-4392 Dependencies: Upgrade to react-router v7
-
- To Do
-