Lazily loaded grouped routes
I have quite a dilemma regarding grouping some routes together in a one lazy load. For example I have some basic routes like
and it makes sense to this point, though let's say that if neither login nor reset routes are matched, I want to go to another router for dashboard related routes, but instead of loading each dashboard subpage lazily one by one, I want to load them at once and additionally use some wrapper (like
and it makes sense to this point, though let's say that if neither login nor reset routes are matched, I want to go to another router for dashboard related routes, but instead of loading each dashboard subpage lazily one by one, I want to load them at once and additionally use some wrapper (like
Router's root=) on the dashboard routes. I came up with something like:
Solid API