Zod: TypeScript Schema Validation Without the Boilerplate
Originally published at recca0120.github.io
Do you validate the data your backend API returns?
Most people just use as to cast the type and hope the data matches expectations.
Zod lets you define a schema once and get both runtime validation and Type...
recca0120.hashnode.dev5 min read