Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 838 Bytes

File metadata and controls

12 lines (7 loc) · 838 Bytes

easy-peasy-typescript + react-hook-form

An example implementation of using Typescript with react-hook-form and Easy Peasy.

React Hook Form is built based on uncontrolled input, which means you don't need to change input value via state by onChange. Registering forn inputs ensures that react-hook-form's handleSubmit function will receive the form data when form validation is successful.

The fully typed global state solution for React abstracts Redux boilerplate, and also grants access to all of its power.

react-hook-form supporting documentation