Write Controlled and Uncontrolled Components for Forms with React and TypeScript

Shawn Wang
InstructorShawn Wang

Share this video with your friends

Send Tweet

There are many ways to type event handlers with TypeScript, and we use the case study of controlled components to explore the 3 major ways to do this. Then we refactor to use the createRef API to write uncontrolled components, and explore the typing strategies for that as well.