React useState With TypeScript (Typed useState TypeScript Tutorial)

Опубликовано: 08 Октябрь 2024
на канале: Cooper Codes
3,458
122

🎓 Join my learning platform for module based courses, learning exercises, and more: https://coderprep.com/

In this video I go over the basics of useState with React and TypeScript. I explain the goal of typed useStates and then I go into creating a project where we handle user input within a typed useState. This video is great for beginners and should give you a great understanding of React and also how types work with the React useState hook.

Final Code: https://github.com/coopercodes/TypedU...

Business inquiry? Email [email protected]
0:00 typed useState introduction
2:09 Create React TypeScript app
3:32 Create typed useState
5:26 Handle user inputs
7:00 Set typed state
9:03 Final project / TypeScript discussion
10:32 Thanks for watching!