DEV Community


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

learntocodez profile image Learn to Code ・1 min read

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)

Editor guide