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

https://github.com/takp/react-redux-tdd-hands-on


https://github.com/takp/react-redux-tdd-hands-on

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# react-redux-tdd-hands-on

## Run

Use [create-react-app](https://github.com/facebookincubator/create-react-app)

```
$ yarn global add create-react-app
$ create-react-app react-redux-tdd-hands-on
```

Redux

```
$ yarn add redux
$ yarn add redux-thunk
$ yarn add redux-mock-store --dev
```

Install Enzyme

```
$ yarn add enzyme --dev
$ yarn add react-test-renderer --dev
```

Install react-redux
```
$ yarn add react-redux
```

```
$ yarn start
```

Go to `http://localhost:4000`

## Ref

- [About Reducer](https://github.com/reactjs/redux/blob/master/docs/basics/Reducers.md)
- [redux: combineReducers](http://redux.js.org/docs/api/combineReducers.html)
- [react-redux: api](https://github.com/reactjs/react-redux/blob/master/docs/api.md)