This is an example implementation of the latest create-react-app (with typescript), redux, and redux-thunk, and tests with enzyme/jest. Below are the versions used in this example.
npx create-react-app hello --typescript
File structure, redux setup, and component taken from https://github.com/Microsoft/TypeScript-React-Starter
- Node 11.3.0
- React 16.6
- TypeScript 3.2
- Redux 4.0
- redux-thunk 2.3
- enzyme 3.7
Pull this repo, change to node version 11.3.0 then:
yarn install
yarn start
To run the tests:
yarn test
