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

Publié le: 06 juin 2022
sur la chaîne: Austin Shelby
8,497
221

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


Sur cette page du site, vous pouvez voir la vidéo en ligne React Form Validation Tutorial 2022 | react-hook-form and zod durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Austin Shelby 06 juin 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 8,497 fois et il a aimé 221 téléspectateurs. Bon visionnage!