Handling nested routes (migrating from react-router dom)
There is a way to describe nested routes in a component without importing them into the router.tsx (code-based way) here is tsx return
that is, the route declared in the router.tsx also has internal routers that have props based on the logic of the component, how to declare them correctly? It is also possible that nested routes may also have a similar structure
that is, the route declared in the router.tsx also has internal routers that have props based on the logic of the component, how to declare them correctly? It is also possible that nested routes may also have a similar structure