Загрузка видео...

Не удалось загрузить видео

На главную

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

42,404 просмотров • 2 лет назад •via X (Twitter)

Комментарии: 6

Фото профиля George Moller
George Moller2 лет назад

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 ↓

Фото профиля David GG
David GG2 лет назад

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.

Фото профиля Enrique Moreno
Enrique Moreno2 лет назад

Typescript syntax gives me eye cancer

Фото профиля George Moller
George Moller2 лет назад

🤣 it’s verbose for sure

Фото профиля Kosta Stratis
Kosta Stratis2 лет назад

Is type coersion really necessary when using conditional types?

Фото профиля حودة
حودة2 лет назад

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

Похожие видео