Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

⚛️ How to use conditional types in TypeScript and React ↓

42,383 Aufrufe • vor 1 Jahr •via X (Twitter)

6 Kommentare

Profilbild von George Moller
George Mollervor 1 Jahr

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

Profilbild von David GG
David GGvor 1 Jahr

I understand that this is a simplification, but my first choice would have been to create 3 methods. Plus, I’m not entirely convinced about having to specify the type as an argument, which could be avoided with function overloading.

Profilbild von Enrique Moreno
Enrique Morenovor 1 Jahr

Typescript syntax gives me eye cancer

Profilbild von George Moller
George Mollervor 1 Jahr

🤣 it’s verbose for sure

Profilbild von Kosta Stratis
Kosta Stratisvor 1 Jahr

Is type coersion really necessary when using conditional types?

Profilbild von حودة
حودةvor 1 Jahr

ارهقتنا معك يا رجل

Ähnliche Videos