filmov
tv
Check out React 18's useExternalStore hook with TypeScript and generics

Показать описание
👉 VS Code theme and font? Night Wolf [black] and JETBrains Mono
0:00 Introduction
1:00 Project Recap
9:02 Typescript Setup
11:24 Converting The Store
13:24 Converting The Components
15:40 Removing Context
18:55 Moving useStore to the Store
21:19 Typescript Generics 101
26:30 Making useStore Generic
27:11 Making The Whole Store Generic
28:33 Deriving The Store Type
29:15 Outroduction
#react18 #useExternalStore
Комментарии