An open API service indexing awesome lists of open source software.

https://github.com/aaronvb/typescript-react-redux-thunk-example

Latest TypeScript, React, Redux, and redux-thunk example implementation.
https://github.com/aaronvb/typescript-react-redux-thunk-example

enzyme react redux redux-thunk typescript

Last synced: 9 months ago
JSON representation

Latest TypeScript, React, Redux, and redux-thunk example implementation.

Awesome Lists containing this project

README

          

# TypeScript React Redux w/ redux-thunk Example

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.

### Project generated using
```
npx create-react-app hello --typescript
```

File structure, redux setup, and component taken from https://github.com/Microsoft/TypeScript-React-Starter

### Versions

- Node 11.3.0
- React 16.6
- TypeScript 3.2
- Redux 4.0
- redux-thunk 2.3
- enzyme 3.7

## Preview
![example](https://user-images.githubusercontent.com/100900/49724593-c124f800-fc0d-11e8-8087-9a6a8d034f23.gif)

## Use the example
Pull this repo, change to node version 11.3.0 then:
```
yarn install
yarn start
```

To run the tests:
```
yarn test
```