Put in order · JavaScript and React course · Module 6: React Router
Cosmic routing hierarchy
Arrange the routing hierarchy in a space application:
Items to put in order
- Page Component - the target page component
- Layout Component - component with Outlet
- Routes - container for routes
- BrowserRouter - the main application router
- Route - definition of a single route
You can check the correct answer by solving this task in the CodeWorlds game.