Skip to content

Emmanuel-Xs/rhf-uas

Repository files navigation

Next.js 15 Form Handling with react-hook-form and useActionState

This project demonstrates how to combine the power of react-hook-form and the new useActionState hook in React 19 to create a seamless and resilient form handling experience. It includes both client-side and server-side validation for enhanced form functionality.

Installation

To get started with this project, follow these steps:

1.Clone the Repository

git clone [email protected]:Emmanuel-Xs/rhf-uas.git

cd rhf-uas

2.Install Dependencies

pnpm install

3.Run the Development Server

pnpm dev

Your app will be available at http://localhost:3000.

About

Using `react-hook-form` with `useActionState` in Nextjs15

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published