Hello folks!
I have just started a application from BrowserRouter to RouterProvider but I am struggling on how to setup the routes, my application has some very deeply nested routes, which is working perfectly using the BrowserRouter and <Routes>, <Route> setup. Since each page/component can just have its own <Routes>. But it seems like with RouterProvider I need to define all routes in the root of my application which means importing everything there as well.
Now I am curious how others have made this transition, and what your folder/route setup looks like.
I would love to have a brainstorm session on what would be the best setup for me!