Choose sync vs async validation
Decide between validate and validateSync based on whether the schema is async.
Validate a form
Turn a form submission into a typed validation result, attaching issues back to fields.
Validate with Zod
Validate unknown input against a Zod schema and get a Result back.