Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

89,542 Aufrufe • vor 1 Jahr •via X (Twitter)

10 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 React Universe Conf | Sept 2-4, 2025
React Universe Conf | Sept 2-4, 2025vor 1 Jahr

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:

Profilbild von Nick Gabe
Nick Gabevor 1 Jahr

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

Profilbild von ProEvilz
ProEvilzvor 1 Jahr

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

Profilbild von Petar Ivanov
Petar Ivanovvor 1 Jahr

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

Profilbild von George Moller
George Mollervor 1 Jahr

Yes! agree!

Profilbild von sandhilt 🐧
sandhilt 🐧vor 1 Jahr

But… why?

Profilbild von rong-sen-e/acc
rong-sen-e/accvor 1 Jahr

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

Profilbild von Rafael Michels Motta
Rafael Michels Mottavor 1 Jahr

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

Profilbild von Toyyib 💙
Toyyib 💙vor 1 Jahr

@Rhoy__b @ibr9heem

Ähnliche Videos