Question · React Native course · Module 5: Forms

yupResolver

How do you connect Yup with react-hook-form?

Answer options

  • validation={yupSchema}
  • resolver: yupResolver(schema)
  • yup={schema}
  • useYup(schema)

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