Both-sides Form Validation with Next.js (React Hook Form & next-safe-action)

TL;DR ✅ Result:&#xA;a form that submits to a server-side action shared validation logic on both client and server browser-side form state management: loading, success, and error states 🛠️ Tech stack:&#xA;Next.js Server Actions next-safe-action Zod React Hook Form 📦 Code: https://github.com/arnaudrenaud/nextjs-forms-both-sides-validation&#xA;The problem Forms have been – and still are – a pain…