November 2018
Beginner
502 pages
10h 22m
English
We'll follow the usual steps for scaffolding a React and TypeScript app:
npx create-react-app repo-search --typescript
Note that the version of React we use needs to be at least version 16.7.0-alpha.0. We can check this in the package.json file. If the version of React in package.json is less than 16.7.0-alpha.0, then we can install this version using the following command:
npm install react@16.7.0-alpha.0npm install react-dom@16.7.0-alpha.0
Read now
Unlock full access