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 Even Better
JavaScript Map Video: • Another 5 Must Know JavaScript Featur...
JavaScript Map Article: https://blog.webdevsimplified.com/202...
JavaScript Set Video: • Another 5 Must Know JavaScript Featur...
JavaScript Set Article: https://blog.webdevsimplified.com/202...
Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: https://github.com/WebDevSimplified
CodePen: https://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