What they don’t explain when migrating to react-router v6
How to migrate your code when you use the magical renderRoutes
Published in
2 min readFeb 25, 2022
I like react-router. It is easy to use, has a lot of functionality, and since v5 they started using React hooks.
I also like to define all my routes from the beginning so I was using their package react-router-config and the magical…