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

useParams syntax in React Router

Arrange the useParams destructuring elements from left to right:

Items to put in order

  • const
  • ()
  • useParams
  • { id }
  • =

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