How to redirect to a default child route?
What's the best way to automatically redirect from a parent route to a default child route?
Let's say we have an
and some child routes including this one:
All the routes under
Since
What would be the best way and place to do that?
Let's say we have an
editorRoute:and some child routes including this one:
All the routes under
/editor use the layout declared in the Editor component. Since
/editor path by itself does not display anything meaningful, I want it to automatically redirect to /editor/rooms.What would be the best way and place to do that?