正在加载视频...

视频加载失败

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

42,383 次观看 • 1 年前 •via X (Twitter)

6 条评论

George Moller 的头像
George Moller1 年前

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 GG1 年前

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 Moreno1 年前

Typescript syntax gives me eye cancer

George Moller 的头像
George Moller1 年前

🤣 it’s verbose for sure

Kosta Stratis 的头像
Kosta Stratis1 年前

Is type coersion really necessary when using conditional types?

حودة 的头像
حودة1 年前

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

相关视频