Back to Browse

No BS TS #22 - Typescript/React - Advanced Properties

12.2K views
May 26, 2021
11:40

We figure out the right way to send state setting actions to nested components. As well as how to wrap html elements with all the appropriate properties using DetailedHTMLProps. 00:00 Introduction 00:59 Typing useState as props 03:48 Using ReturnType 06:40 DetailedHTMLProps 09:50 Adding custom props 11:14 Outroduction Types: https://unpkg.com/@types/[email protected]/index.d.ts Code: https://github.com/jherr/no-bs-ts/tree/master/series-1/episode-22 If you liked this video, buy me a coffee! https://www.buymeacoffee.com/bluecollarcoder πŸ‘‰ What's my theme? Night Wolf [dark blue] πŸ‘‰ What's that font? MonoLisa πŸ‘‰ Jack is also on the React Round Up podcast: https://devchat.tv/podcasts/react-round-up/ πŸ‘‰ Don't forget to subscribe to this channel for more updates: https://bit.ly/2E7drfJ πŸ‘‰ Discord server signup: https://discord.gg/ddMZFtTDa5 πŸ’’ Watch our other videos: πŸ’Ÿ Hacking your Github contribution graph: https://youtu.be/_ZQSPYDlk3U πŸ’Ÿ More Typescript videos: https://www.youtube.com/playlist?list=PLNqp92_EXZBIKO8lqN3089jgZUi-FUFXX Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel. #typescript #NoBSTS #react

Download

1 formats

Video Formats

360pmp426.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

No BS TS #22 - Typescript/React - Advanced Properties | NatokHD