Skip to content

How can I remove my <Routes> in order to upgrade to v6.4+? #10373

Closed Answered by brophdawg11
jasikpark asked this question in v5 to v6 Migration
Discussion options

You must be logged in to vote

<Routes> are incompatible w/ createBrowserRouter

Sorry for any confusion but this is definitely not the case! They're very much intended to be used together while apps migrate to RouterProvider. We're going to work on enhancing the docs to make this more clear, but for now there is additional context in this comment and in #10317 which does expose a small bug around sibling <Routes> and error boundaries. This bug is fixed by #10374.

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@jasikpark
Comment options

@brophdawg11
Comment options

@jasikpark
Comment options

@jasikpark
Comment options

@jasikpark
Comment options

Answer selected by MichaelDeBoey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants