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

TL;DR
✅ Result:
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
🛠️ ...