-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Learn React with TypeScript
By :

In this section, we will learn about React Hook Form and use it to improve the validation user experience in our contact form. We will also learn about its benefits compared to native HTML form validation.
As the name suggests, React Hook Form is a React library for building forms. It is very flexible and can be used for simple forms such as our contact form, as well as large forms with complex validation and submission logic. It is also very performant and optimized not to cause unnecessary re-renders. It is very popular with tens of thousands of GitHub stars and maturing nicely, having been first released in 2019.
A key feature that React Hook Form enables is client-side validation. Client-side validation improves the user experience by informing the user of a problematic entry before a server submission. It also helps server scalability because it won’t deal with as many...