react-redux-saga-example
Inspired by https://github.com/yelouafi/redux-saga-beginner-tutorial/tree/sagas
Useful Resources
https://gotocon.com/dl/goto-chicago-2015/slides/CaitieMcCaffrey_ApplyingTheSagaPattern.pdf
This application provides a basic example of how redux-saga can be applied to a counter
Background
The whole state of your app is stored in an object tree inside a single store. The only way to change the state tree is to emit an action, an object describing what happened. To specify how the actions transform the state tree, you write pure reducers.
Redux is a predictable state container for JavaScript apps.
It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test.
On top of that, it provides a great developer experience, such as live code editing combined with a time traveling debugger.
You can use Redux together with React, or with any other view library. It is tiny (2kB, including dependencies).
Installation
To install the stable version:
npm install --save redux
Other dependencies
npm install --save react-redux npm install --save-dev redux-devtools
Other dependencies / tools
Instructions
Setup
npm install
Run the demo
npm start
Run tests
npm test