Put in order · JavaScript and React course · Module 6: React Router
Nested routing
Arrange the steps for configuring nested routes:
Items to put in order
- Place <Outlet /> in the layout component
- Add an index route as the default child route
- Nest child routes inside the parent route
- Define the parent route with a layout component
You can check the correct answer by solving this task in the CodeWorlds game.