Form Validation with Zod

In Building Forms in React, I covered how to structure controlled inputs, wire up React Hook Form, and keep form state out of the render path where it doesn't belong.