Is there a way for gradual route by route migration by passing the routes as a config? #9119
Unanswered
jamessspanggg
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently in the v5 -> v6 migration guide, we are able to upgrade route by route via using the
CompatRoute
component.But what about the use cases if we want to define the routes as a route config and pass to the
useRoutes
hook? Is there a way to gradually migrate route by route in this case? Currently for my use case, I am using therenderRoutes
fromreact-router-config
package.Beta Was this translation helpful? Give feedback.
All reactions