Developer Tools Master the Zen of the Zod Brand Brands, particularly the Zod brand, have been game-changers for me. Zod can be hugely beneficial not just for types, but for data validation.
UX & Design How to Use Zod Transform for Custom Form Validation and Manipulation One strategy for custom validation is using the Zod transform method to manipulate and validate an entry and customize the error message.
JavaScript JavaScript’s Backtick Strings are Likely the Wrong Tool for Your Job It's way too common to try to put together query strings using JavaScript's template strings. Thankfully, there's an easy and much better way.
TypeScript How to Create Typed Generic Validators with Zod It's easy to use z.infer to get the output type of a Zod validator. But what if you have a generic validator that depends on another type?
TypeScript Why Zod is a Developer-Friendly Validation Library Zod is a validation library that allows you to define schemas in code. It’s a plus to have autocomplete built-in.
TypeScript Validate All the Things with Zod If you want peace of mind for all of your data, I highly recommend integrating Zod (or another schema validation library) into your project.