rsnext/examples/with-react-hook-form/README.md
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

1.3 KiB

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