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

Veröffentlicht am: 06 Juni 2022
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video React Form Validation Tutorial 2022 | react-hook-form and zod mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Austin Shelby 06 Juni 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8,497 Mal angesehen und es wurde von 221 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!