Question · React Native course · Module 5: Forms

useForm hook

What does the useForm hook from react-hook-form return?

Answer options

  • Only the form state
  • control, handleSubmit, formState and others
  • Only the submit function
  • A reference to the form

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