last updated 12 months agoStart for Free
This course is up to date, guaranteed
We'll start the course off with some housekeeping items. You'll learn about the best strategy for getting the most out of the course as well as what you'll build during the course.
React's type definitions come with some types that we can use in our code to help us model some of the ways that React components and elements interact.
Context lets you pass values deep into your app, and TypeScript makes it so the types come with them! In this section, we'll learn how to add those types to our context creator, and how to use context in the most helpful way.
It doesn't take much to set up TypeScript to work with React. By the end of this section, you'll know everything you need to get started.
TypeScript makes it so we always use our React Hooks correctly, so we don't have any surprises. We'll dive into the most common hooks.
Refs are used to store bits of data, including references to DOM elements. TypeScript helps us use these refs in a type safe way.
Components are the heart and soul of React, so we'll learn how to add annotations to props and state for class components and function components.
Props are one of the most important parts of using React, and annotating them is as easy as adding types to a function. During this section, we'll learn how to model some of the tricker, more advanced props patterns you might find.
We'll apply what we've learned by converting an entire React Hooks codebase to TypeScript.
This is the part where we're supposed to tell you how great the course is. Even better if we get other "famous" developers to give their "reviews". Instead, we'll let those who have actually taken the course do that.
I hated TypeScript when I dealt with it at work because I didn't know how to use it and only produced red lines! Now, can't say I'm an expert but an app without TS is full of distractions and more complicated! Thanks, Alexander for such a great course!
Good course. Exactly what I needed.
Its's awesome. I got all the doubts cleared in clear and concise manner especially related to useState and useReducer type checking. This coursed has boosted my confidence to use typescript in React.
Loved the course. It was shorter than the other ones but it still covers everything you'd need to know about React + TS.
Was part of the beta group. Really enjoyed this course. It's a solid follow up to the TypeScript course for those who use React.