Migrating from v5 to RouterProvider #13144
Unanswered
rohit-gohri
asked this question in
v5 to v6 Migration
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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?
This is reposted from remix-run/remix#10513, I posted there accidentally because the github new issues link in this repo point to that repo
Beta Was this translation helpful? Give feedback.
All reactions