From Dev.to
A spam-resistant contact form in the Next.js App Router (Server Actions, Zod, useActionState)
Almost every business website needs a contact form, and almost every contact form ends up as a target for bots. In the Next.js App Router you no longer need a separate API route for this: a Server Act...
