Writing a Custom React Hook with TypeScript

Опубликовано: 12 Октябрь 2024
на канале: Harry Wolff
6,765
199

Last part of my 3 part series on writing custom React Hooks!

This one converts the Hook to use TypeScript!

Source code: https://github.com/hswolff/youtube/bl...

Part 1, Writing the Hook:    • Writing a Custom Hook: useEventListener  
Part 2, Conditional Hooks:    • Writing a Custom Hook: Conditional Hooks  

——

NEWSLETTER: https://tinyletter.com/hswolff/subscribe

PATREON:   / hswolff  

TWITTER:   / hswolff  

SITE: https://hswolff.com/