React Form Validation Tutorial 2022 | react-hook-form and zod

Опубликовано: 06 Июнь 2022
на канале: Austin Shelby
8,151
223

In this tutorial you will learn how to build a form in React with validation using react-hook-form and zod.

Clone this project: https://github.com/AustinShelby/react...

We will cover how to validate form fields such as an email field, a required checkbox, and radio buttons. You will learn how to use react-hook-form to check different form states like when the form has an error or when the form is submitting. You will learn how to use zod to make your own custom error messages.

After watching this tutorial you will have the necessary skills to use react-hook-form and zod to build your own forms and validations.

00:00 - Introduction
00:28 - zod form validation
02:49 - react-hook-form
03:21 - Form debugging
03:38 - Registering inputs
04:18 - Form submission
05:12 - Form errors
06:19 - Custom error messages
07:00 - Async form submission
08:28 - Disabling form


Смотрите видео React Form Validation Tutorial 2022 | react-hook-form and zod онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Austin Shelby 06 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,151 раз и оно понравилось 223 людям.