TypeScript's features and developer experience make a great combination with React, but it can be confusing to get started.
What's the best way to type component props? What are these weird useRef
errors?
That's where this React with TypeScript tutorial comes in!
Starting from the very beginning of bringing TS support to a React project, you'll soon find yourself properly typing hooks and mastering components. You'll learn everything you need to know to get productive with React and TypeScript.
React.FC
function componentsComponentProps
to extract properties from imported components or HTML DOM elements1. Adding React to a TypeScript Project
2. TypeScript in React Frameworks
3. Navigating JSX Types
Complete all lessons to unlock this certificate.