Refactor a React TypeScript Function Component into a Class Component with defaultProps

InstructorShawn Wang

Share this video with your friends

Send Tweet

In this lesson we see how to refactor a function component into a class component with typed props and state as well as defaultProps.