Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap
Zod provides type-safe schema validation, but what if there was an equivalent library that could send up to 10x less code to the browser? Check it out.
⭐ Become a full-stack web dev with Zero To Mastery Courses:
- Complete Next.js Developer: https://bit.ly/CompNextJSDev
- Advanced React: https://bit.ly/AdvReactDev
- Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr
Subscribe https://bit.ly/3nGHmNn
Course Updates https://courses.davegray.codes/
Questions - Please post them to my Discord https://discord.gg/neKghyefqh
Buy Me A Coffee https://www.buymeacoffee.com/davegray
Follow Me On Social Media:
GitHub: https://github.com/gitdagray
Twitter: https://twitter.com/yesdavidgray
LinkedIn: https://www.linkedin.com/in/davidagray/
Stop Using Zod!! This is 10x Smaller!
(00:00) Intro
(00:13) Welcome
(00:36) Valibot
(00:52) The difference between Zod and Valibot
(01:21) A familiar type-safe syntax
(01:58) Inferring types from schemas
(02:18) Parsing data with schemas
(02:39) Giving credit where it is due
(03:29) Final Verdict on Valibot
Tutorial References:
Valibot Builder.io article: https://www.builder.io/blog/introducing-valibot
Valibot on GitHub: https://github.com/fabian-hiller/valibot
Valibot.dev: https://valibot.dev/
Was this introduction to Valibot helpful? If so, please share. Let me know your thoughts in the comments.
#zod #valibot #typescript