Рет қаралды 130,618
Zod is an amazing validation library that focuses on type safety and ease of use. I love Zod and feel that it makes TypeScript even better. It also makes working with user data incredibly easy and in this video I will show you everything you need to know about Zod.
📚 Materials/References:
What Is Zod Video: • Zod Makes TypeScript E...
JavaScript Map Video: • Another 5 Must Know Ja...
JavaScript Map Article: blog.webdevsimplified.com/202...
JavaScript Set Video: • Another 5 Must Know Ja...
JavaScript Set Article: blog.webdevsimplified.com/202...
🌎 Find Me Here:
My Blog: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:33 - What is Zod?
01:15 - Basic usage
05:03 - Basic types
07:00 - Basic validation
13:25 - Object type
16:52 - Array type
18:02 - Tuple types
20:00 - Union type
21:58 - Record type
23:37 - Map type
24:55 - Set type
25:35 - Promise type
26:40 - Advanced validation
27:55 - Error handling
#Zod #WDS #TypeScript