rsnext/examples/with-react-hook-form
Shubh Porwal 0c7c49588b
Update with-react-hook-form example (#66253)
Updates `with-react-hook-form` example by bumping react-hook-form and
other dependencies to their latest versions, along with a minor cleanup
of the UI.

---------

Co-authored-by: Sam Ko <sam@vercel.com>
2024-05-28 18:52:34 +00:00
..
pages Update with-react-hook-form example (#66253) 2024-05-28 18:52:34 +00:00
public Update with-react-hook-form example (#66253) 2024-05-28 18:52:34 +00:00
styles Update with-react-hook-form example (#66253) 2024-05-28 18:52:34 +00:00
.gitignore Add .yarn/install-state.gz to .gitignore (#56637) 2023-10-18 16:34:48 +00:00
next-env.d.ts Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
package.json Update with-react-hook-form example (#66253) 2024-05-28 18:52:34 +00:00
README.md Update with-react-hook-form example (#66253) 2024-05-28 18:52:34 +00: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 demonstrates how to integrate React Hook Form with Next.js, helping you write less code and avoid unnecessary re-renders for improved performance.

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).