
Stop Writing Your ID Types Like This
Branded types are a niche TypeScript feature that don’t make much sense in small projects, but as soon as your project grows in size or complexity they are a must have. In this video I explain everything you need to know about branded types as well as how to integrate them with Drizzle and Zod.
? Materials/References:
Data Access Layer Video: https://youtu.be/Av7KqJVLiYc
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:29 - Problem Branded Types Solves
02:50 - Creating Basic Branded Type
08:50 - Advanced Branded Types
10:46 - Zod Integration
12:48 - Other Branded Type Integrations
#TypeScript #WDS #BrandedTypes
? Materials/References:
Data Access Layer Video: https://youtu.be/Av7KqJVLiYc
? Find Me Here:
My Blog: https://blog.webdevsimplified.com
My Courses: https://courses.webdevsimplified.com
Patreon: https://www.patreon.com/WebDevSimplified
Twitter: https://twitter.com/DevSimplified
Discord: https://discord.gg/7StTjnR
GitHub: https://github.com/WebDevSimplified
CodePen: https://codepen.io/WebDevSimplified
⏱️ Timestamps:
00:00 - Introduction
00:29 - Problem Branded Types Solves
02:50 - Creating Basic Branded Type
08:50 - Advanced Branded Types
10:46 - Zod Integration
12:48 - Other Branded Type Integrations
#TypeScript #WDS #BrandedTypes
Web Dev Simplified
Web Dev Simplified is all about teaching web development skills and techniques in an efficient and practical manner. If you are just getting started in web development Web Dev Simplified has all the tools you need to learn the newest and most popular tech...