Uploaded May 2023 | Updated November 2026, 1 day ago
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn how to use TypeScript & Zod validation together in this tutorial. We will also apply TypeScript & Zod with React-Hook-Form to provide both user input validation and feedback. TS + Zod together provides both type safety and runtime type checking!
π Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Web Developer: bit.ly/WebDevMaster
- Master the Coding Interview: bit.ly/FAANGInterview
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/zod-typescript-react-hook-form
π Typescript Playlist: bit.ly/3GcNJ78
Typescript & Zod tutorial with React-Hook-Form
(00:00) Intro
(00:05) Welcome
(00:28) What is Zod? And does Zod do?
(01:35) Starter Code & Dependencies
(02:30) Basic Zod Examples
(04:48) User API Data
(05:07) Basic User Schema with Zod
(10:05) Inferring Types, Fetching & Parsing Data
(12:47) Merging & Extending Zod Schemas
(18:34) React-Hook-Form dependencies
(19:21) React-Hook-Form docs
(20:54) zodResolver & React-Hook-Form
π Tutorial References:
π Zod Official Website: https://zod.dev/
π React-Hook-Form Official Website: react-hook-form.com
π NPM @hookform/resolvers: npmjs.com/package/@hookform/resolvers
π {JSON} Placeholder: jsonplaceholder.typicode.com/users
β Web Dev Tools:
π Vite: https://vitejs.dev/
π Tailwind CSS setup for Vite: tailwindcss.com/docs/guides/vite
π Chrome Browser: google.com/chrome
π Visual Studio Code (VS Code): code.visualstudio.com
Was this Zod & TypeScript tutorial with React-Hook-Form helpful? If so, please share. Let me know your thoughts in the comments.
#typescript #zod #tutorial
Web Dev Roadmap for Beginners (Free!): bit.ly/DaveGrayWebDevRoadmap
Learn how to use TypeScript & Zod validation together in this tutorial. We will also apply TypeScript & Zod with React-Hook-Form to provide both user input validation and feedback. TS + Zod together provides both type safety and runtime type checking!
π Become a full-stack web dev with Zero To Mastery Courses:
- The Complete Web Developer: bit.ly/WebDevMaster
- Master the Coding Interview: bit.ly/FAANGInterview
- Junior to Senior Dev Roadmap: bit.ly/WebDevRoadmap-JrtoSr
π© Subscribe β bit.ly/3nGHmNn
π¬ Course Updates β https://courses.davegray.codes/
β Questions - Please post them to my Discord β discord.gg/neKghyefqh
β Buy Me A Coffee β buymeacoffee.com/davegray
π Follow Me On Social Media:
GitHub: github.com/gitdagray
Twitter: twitter.com/yesdavidgray
LinkedIn: linkedin.com/in/davidagray
π Source Code: github.com/gitdagray/zod-typescript-react-hook-form
π Typescript Playlist: bit.ly/3GcNJ78
Typescript & Zod tutorial with React-Hook-Form
(00:00) Intro
(00:05) Welcome
(00:28) What is Zod? And does Zod do?
(01:35) Starter Code & Dependencies
(02:30) Basic Zod Examples
(04:48) User API Data
(05:07) Basic User Schema with Zod
(10:05) Inferring Types, Fetching & Parsing Data
(12:47) Merging & Extending Zod Schemas
(18:34) React-Hook-Form dependencies
(19:21) React-Hook-Form docs
(20:54) zodResolver & React-Hook-Form
π Tutorial References:
π Zod Official Website: https://zod.dev/
π React-Hook-Form Official Website: react-hook-form.com
π NPM @hookform/resolvers: npmjs.com/package/@hookform/resolvers
π {JSON} Placeholder: jsonplaceholder.typicode.com/users
β Web Dev Tools:
π Vite: https://vitejs.dev/
π Tailwind CSS setup for Vite: tailwindcss.com/docs/guides/vite
π Chrome Browser: google.com/chrome
π Visual Studio Code (VS Code): code.visualstudio.com
Was this Zod & TypeScript tutorial with React-Hook-Form helpful? If so, please share. Let me know your thoughts in the comments.
#typescript #zod #tutorial










