Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

⚛️ React + Typescript Tip: How to create short and easy to remember event types with Typescript ↓

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

10 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 70+ video tutorials just like this one. Check them out ↓

React Universe Conf | Sept 2-4, 2025 profil fotoğrafı
React Universe Conf | Sept 2-4, 20251 yıl önce

React Universe is a constantly evolving ecosystem—driving curiosity and continuous learning. And that's what we love about it! 🙌 Join us at React Universe Conf 2025 to future-proof your dev team:

Nick Gabe profil fotoğrafı
Nick Gabe1 yıl önce

there's a reason why those events are generic...

ProEvilz profil fotoğrafı
ProEvilz1 yıl önce

More useful, practical tip for React and Typescript: You can just hover over and just grab the type easily.

Petar Ivanov profil fotoğrafı
Petar Ivanov1 yıl önce

Using TypeScript improves the overall developer experience. I think it's a great productivity boost, especially in larger codebases.

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

Yes! agree!

sandhilt 🐧 profil fotoğrafı
sandhilt 🐧1 yıl önce

But… why?

rong-sen-e/acc profil fotoğrafı
rong-sen-e/acc1 yıl önce

ComponentProps<'input'>['onChange'] but why not onInput

Rafael Michels Motta profil fotoğrafı
Rafael Michels Motta1 yıl önce

When it’s simple, just write the function inline and get type inference for free. No need to import or declare any types

Toyyib 💙 profil fotoğrafı
Toyyib 💙1 yıl önce

@Rhoy__b @ibr9heem

Benzer Videolar