React with TypeScript

Intermediate
(0)
Matt Pocock's avatar
Matt Pocock

Hey, I'm Matt! I'm an educator, content creator, and engineer. I used to be a voice coach, then worked at Vercel - now I teach TypeScript full-time!

Total TypeScript logo Total TypeScript
React
TypeScript

About this course

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.

Price FREE
Duration 21 Lessons
Level Intermediate
Certificate Included

What you'll learn

Adding React to a TypeScript Project

TypeScript in React Frameworks

Navigating JSX Types

Ensure Props are Present and Defined

Typing a Component as a Function

Solving the any Problem with Children

Typing Event Handlers

Using HTML Props in React Components

Overriding and Removing Component Props

Extracting Props from Custom Components

Properly Typing useState

Typing useState with undefined

Calling useState with Excess Properties

Solving Errors with useEffect

Typing the useCallback Hook

Typing the useMemo Hook

Basic useRef Typing

Refs in React

useRef with HTML Elements

Making a Read-Only Ref Mutable

Typing State and Actions for useReducer

Reviews

(0)
No reviews yet. Be the first to review this course...