RTK Query in React (Complete Tutorial)
Cosden Solutions
0:00 / 0:00
RTK Query in React (Complete Tutorial)
40 922 просмотра · 1 год назад
Cosden Solutions
182 тыс. подписчиков
40 922 просмотра · 1 год назад
Try Brilliant Free for 30 days + 20% Off Premium Membership → https://brilliant.org/CosdenSolutions
🚀 Project React → https://cosden.solutions/project-react
📥 Import React (Newsletter) → https://cosden.solutions/newsletter?s...
Source Code → https://github.com/cosdensolutions/co...
Join The Discord! → https://discord.cosden.solutions
VSCode Theme | Font → Material Theme Darker | Menlo, Monaco "monospace"
In this video we will learn how to handle Zod validation in React. We will learn how to create a schema with Zod, how to specify different properties such as strings, numbers, arrays, and objects, and we will learn where we typically use Zod for validation in our React applications!
TIMESTAMPS
00:00 Intro
01:05 Project overview
03:01 API slice setup
06:36 Query endpoint
11:39 Brilliant
13:07 Fetching data in component
20:12 Adding types to query
23:01 Mutation endpoint
29:03 Outro