Replies: 1 comment 2 replies
-
You technically do the same thing and use a layout root at the root and place all of your routes inside of that… but that’s going to create some noise in the route ID namespace. I think I would rather add an InnerWrap option or just allow for composition inside of the RouterProvider with something. Thoughts? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
react-router-dom has the BrowserRouter used to wrap the entire application. It enables the use of the routing features in the child components.
When using auth0 providers for example we need to wrap it inside a router.
How do we achieve the same using tanstack/react-router?
more info: remix-run/react-router#9324 (comment)
Beta Was this translation helpful? Give feedback.
All reactions