A reusable pattern for building type-safe, validated forms in React using:
- react-hook-form: For ergonomic form state management.
 - zod: For schema-based validation and type inference.
 - TypeScript: For full type safety throughout your forms.
 
defineForm(schema): Generates a custom hook for your form, automatically wiring up Zod validation and type inference.