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.
To get started with this project, follow these steps:
1.Clone the Repository
git clone [email protected]:Emmanuel-Xs/rhf-uas.git
cd rhf-uas2.Install Dependencies
pnpm install3.Run the Development Server
pnpm devYour app will be available at http://localhost:3000.