TRPC + Zod: How to automatically connect your forms to backend field-level validations.
Why do I need this?
Hooking up form-level and field-level errors to Zod validations in TRPC is very powerful because it saves you a lot of effort.
You never have to do frontend validations again.
You can generically hook up forms with TRPC actions....
monarchwadia.com3 min read