Put in order · JavaScript and React course · Module 3: State and Events

Importing the useState Hook

Arrange the syntax for importing the useState hook from React:

Items to put in order

  • { useState }
  • from
  • 'react'
  • import

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