Question · JavaScript and React course · Module 6: React Router

Outlet component in React Router

The Outlet component in React Router is used for:

Answer options

  • Rendering nested routes in the parent component
  • Displaying error messages
  • Exporting components from the application
  • Creating modals and popups

You can check the correct answer by solving this task in the CodeWorlds game.