DEV Community

Learn to Code
Learn to Code

Posted on

Using Typescript with modern React (i.e. hooks, context, suspense)

In this video you will learn how to add typescript to a create-react-app project as well as adding it to a react project from scratch with webpack and babel. You will learn a bit about react hooks, (useState, useContext, useReducer and useEffect), in a react typescript project as well as using suspense to lazy load a component. We will also attempt to recreate redux, (or the redux principles) with useReducer and Context.

Discussion (0)