Module 4

TypeScript for React

TypeScript for React

In this module, we'll work our way from using plain JavaScript in our React apps and see how to leverage the power of TypeScript.

Even if you've never worked with TypeScript before, we'll see how to go, step-by-step from using no types to making our apps more secure and reliable using additional info available through adding types to our React components.

We'll learn the basics of integrating type with React components, including how to pass props, children props, HTML props and more.

Additionally, we'll see how to combine types with all of the major React hooks, including useState, useEffect, useRef, Context and useReducer.