DEV Community

Discussion on: Using Zod with TypeScript: A Guide for Frontend Developers

Collapse
 
jdgamble555 profile image
Jonathan Gamble

Zod is not tree shakable, so too big and slow, use Valibot.

Collapse
 
martinbaun profile image
Martin Baun

Zod has one of the best APIs and ecosystems, but fairly slow types and parsing compared to its competition. But also it’s good enough so if you like it just use it, why not :)

Collapse
 
sheraz4194 profile image
Sheraz Manzoor

I stand with you mate.
It is okay to use zod for small projects but for large scale project valibot is best choice