Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

⚛️ How to use discriminated unions in TypeScript to represent mutually exclusive states in React↓

28,192 görüntüleme • 1 yıl önce •via X (Twitter)

9 Yorum

George Moller profil fotoğrafı
George Moller1 yıl önce

I've been working professionally with React for more than 8 years and I compiled all my knowledge into 100+ infographics and 77 video tutorials just like this one. Check them out ↓

Ndeye Fatou Diop 🚢 💻 | DEV | 🇸🇳🇫🇷 profil fotoğrafı
Ndeye Fatou Diop 🚢 💻 | DEV | 🇸🇳🇫🇷1 yıl önce

This is the best way to represent loading data and the one I use. Unfortunately I often see this representation type Response<T, E> = { isPending: Boolean, error: T | null, data: T} which can represent invalid states

George Moller profil fotoğrafı
George Moller1 yıl önce

Glad you liked it :)

David K 🎹 profil fotoğrafı
David K 🎹1 yıl önce

This is nice!

Daan profil fotoğrafı
Daan1 yıl önce

Really like your new video style! Can you point out a good Typescript course?

Wk - Kevin profil fotoğrafı
Wk - Kevin1 yıl önce

I have another one, its called “react-query”

kmylo profil fotoğrafı
kmylo1 yıl önce

shouldn't be better an enum or even better an obj as const? instead of work with literal strings?

Youry profil fotoğrafı
Youry1 yıl önce

@_georgemoller thanks for sharing it! Just wondering what tool do you use to record the videos? They are really good 👍

Casey Key profil fotoğrafı
Casey Key1 yıl önce

How did your create this animation?

Benzer Videolar