Migrating from v5 to RouterProvider #10513
Unanswered
rohit-gohri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
I have a very large micro-frontends based application and we are currently on react-router-dom@v5 along with some incremental migration to
react-router-dom-v5-compat
in some places.I'd like to make use of the new
RouterProvider
and Data APIs and rather than doing 2 migrations : once from v5 to v6 and then from v6Routes
toRouterProvider
, I was thinking if there is a way to implement a reverseCompatRouter
for mappingRouterProvider
to v5BrowserRouter
which allows me to use DataAPIs in new routes while still keeping existing code running with v5 APIs.Current
Possible?
Beta Was this translation helpful? Give feedback.
All reactions