Zod(@zodtypes) 's Twitter Profileg
Zod

@zodtypes

TypeScript-first schema validation with static type inference.
By @colinhacks
Docs https://t.co/W6H0OevG8K
Discord https://t.co/Vuy7uIhXYe

ID:1589348082638282752

linkhttps://github.com/colinhacks/zod calendar_today06-11-2022 20:04:58

23 Tweets

3,1K Followers

1 Following

Jordan Quagliatini(@jquagliatini) 's Twitter Profile Photo

For people using Colin McDonnell 's zod, the good news is that it's integrated in the library.

Simply use branded types and infer. I encourage you to read their doc on branded types, it's brilliant!

zod.dev/?id=brand

For people using @colinhacks 's zod, the good news is that it's integrated in the library. Simply use branded types and infer. I encourage you to read their doc on branded types, it's brilliant! zod.dev/?id=brand
account_circle
Colin McDonnell(@colinhacks) 's Twitter Profile Photo

Zod turns 3 today! That's like 50 in JavaScript-years!

Here's the original announcement post: colinhacks.com/essays/zod

Zod turns 3 today! That's like 50 in JavaScript-years! Here's the original announcement post: colinhacks.com/essays/zod
account_circle
trevor manz(@trevmanz) 's Twitter Profile Photo

I'd heard the 'parse, don't validate' mantra before but just recently tracked down Alexis King's original post and it finally clicked. Honestly a relief have such a concrete explanation of why using tools like Zod and Pydantic 'feels' so right. lexi-lambda.github.io/blog/2019/11/0…

account_circle
Asher Cohen πŸ€–πŸ€³(@code_tank_dev) 's Twitter Profile Photo

David K 🎹 Kent C. Dodds 🌌 We built schema based forms using πŸ“‹ React Hook Form + Zod + form components we created + custom components can be added.
We can manually compose forms, or generate from JSON and it really saves so much time (and so many calls to useState)

account_circle
James Cowling(@jamesacowling) 's Twitter Profile Photo

Did you know TypeScript doesn't provide runtime type safety? Zod is here to save you.

Plus it works great with Convex!

account_circle
Cyril Bonaccini(@BonacciniCyril) 's Twitter Profile Photo

Playing with Zod to validate some API results in my app, what a delight! 😍 I love the simplicity of the Zod API. No more excuse to protect your frontend app from bad data format πŸ”’

Playing with @zodtypes to validate some API results in my #reactnative app, what a delight! 😍 I love the simplicity of the @zodtypes API. No more excuse to protect your frontend app from bad data format πŸ”’
account_circle