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
- Host: GitHub
- URL: https://github.com/takp/react-redux-tdd-hands-on
- Owner: takp
- Created: 2017-07-22T23:46:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-23T00:33:08.000Z (over 8 years ago)
- Last Synced: 2024-12-27T09:27:56.898Z (about 1 year ago)
- Language: JavaScript
- Size: 113 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)