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

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

На главную

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

89,542 просмотров • 1 год назад •via X (Twitter)

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

Фото профиля 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 ↓

Фото профиля React Universe Conf | Sept 2-4, 2025
React Universe Conf | Sept 2-4, 20251 год назад

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
Nick Gabe1 год назад

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

Фото профиля ProEvilz
ProEvilz1 год назад

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

Фото профиля Petar Ivanov
Petar Ivanov1 год назад

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

Фото профиля George Moller
George Moller1 год назад

Yes! agree!

Фото профиля sandhilt 🐧
sandhilt 🐧1 год назад

But… why?

Фото профиля rong-sen-e/acc
rong-sen-e/acc1 год назад

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

Фото профиля Rafael Michels Motta
Rafael Michels Motta1 год назад

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

Фото профиля Toyyib 💙
Toyyib 💙1 год назад

@Rhoy__b @ibr9heem

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