Eduardo Grajeda Blandón

Eduardo Grajeda Blandón

Software Engineer at Criteo

Last updated on September 5, 2019

TypeScript with React: Setup

A handy setup to use when working with TypeScript and React.

Use Create React App to create the project:

$ create-react-app <name> --typescript

Use Prettier to prettify the code:

$ yarn add prettier --dev --exact
$ yarn run prettier --write src/**/*.tsx