No BS TS #25 - Typescript/React - useContext
Автор: Jack Herrington
Загружено: 2021-06-01
Просмотров: 18759
We start off exploring global state management by having a look at useContext and how to properly use and type it.
00:00 Introduction
00:30 Project review
02:22 createContext
04:42 Creating the Provider
07:48 Using the Provider
08:51 Custom hooks with context
10:33 Consuming context
12:37 Outroduction
Code: https://github.com/jherr/no-bs-ts/tre...
If you liked this video, buy me a coffee! https://www.buymeacoffee.com/bluecoll...
👉 What's my theme? Night Wolf [dark blue]
👉 What's that font? MonoLisa
👉 Jack is also on the React Round Up podcast: https://devchat.tv/podcasts/react-rou...
👉 Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ
👉 Discord server signup: / discord
💢 Watch our other videos:
💟 Hacking your Github contribution graph: • Hacking Your Github Contribution Graph || ...
💟 More Typescript videos: • JavaScript to TypeScript: Beginner to Master
Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.
#typescript #NoBSTS #react
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: