Click in order · JavaScript and React course · Module 6: React Router

Dynamic parameters in paths

Arrange the Route syntax with a dynamic parameter:

Items to click

  • '/planets/:planetId'
  • element=
  • />
  • {<PlanetDetails />}
  • <Route
  • path=

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