Put in order · Next.js course · Module 5: Rendering Strategies

Order: import { useActionState } -> from 'react'

Arrange the elements in correct order: importing the useActionState hook and the start of its call

Items to put in order

  • import { useActionState }
  • formAction]
  • const [state,
  • from 'react'

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