rsnext/examples/with-react-hook-form
Nicholas Ramkissoon 2af441cfb7
chore(examples): Convert with-react-hook-form example to TypeScript (#38796)
Converted `with-react-hook-form` example to TypeScript as it is pointed out in the contributing docs that examples
should be converted to TS.

- updated dependencies
- fixed/added types where necessary

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)


Co-authored-by: Balázs Orbán <18369201+balazsorban44@users.noreply.github.com>
2022-09-29 23:09:57 +00:00
..
pages chore(examples): Convert with-react-hook-form example to TypeScript (#38796) 2022-09-29 23:09:57 +00:00
styles Use Font Optimization in examples (#39977) 2022-08-26 18:27:59 +00:00
.gitignore Update default gitignore templates (#39051) 2022-07-26 20:08:40 -05:00
package.json chore(examples): Convert with-react-hook-form example to TypeScript (#38796) 2022-09-29 23:09:57 +00:00
README.md docs(examples): improve DX while copying command to create new project (#38410) 2022-07-26 21:57:48 -05:00
tsconfig.json chore(examples): Convert with-react-hook-form example to TypeScript (#38796) 2022-09-29 23:09:57 +00:00

with react-hook-form

This example shows how to integrate react-hook-form in Next.js

Form handling doesn't have to be painful. React Hook Form will help you write less code while achieving better performance. For more information, see react-hook-form

Deploy your own

Deploy the example using Vercel or preview live with StackBlitz

Deploy with Vercel

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

npx create-next-app --example with-react-hook-form with-react-hook-form-app
yarn create next-app --example with-react-hook-form with-react-hook-form-app
pnpm create next-app --example with-react-hook-form with-react-hook-form-app

Deploy it to the cloud with Vercel (Documentation).