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

twitter logo ・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.

twitter logo DISCUSS
Classic DEV Post from Jan 28

Three Arguments for Why You Should Write More

Learn to Code profile image