Redux Process
An object oriented redux wrapper for writing maintainable actions and reducers at scale.
Redux process removes the need to maintain your redux reducer and actions in two different locations. Avoid the confusion when making updates to your redux suite. This package is great for large enterprise applications or small weekender projects.
Installation
Redux Process uses redux
and redux-thunk
under the hood for processing.
npm install ts-redux-process --save
Usage example
There are three parts to Redux Process: ReduxProcessStore
, ReduxProcessGroup
and a ReduxProcess
. Multiple ReduxProcess
belong to a ReduxProcessGroup
. ReduxProcessGroup
s are added to the ReduxProcessStore for processing. This enables dynamic reducers.
See docs/ for documentation of each component and advanced usage.
See the example/ folder for javascript and typescript examples.
Development setup
The package is written in typescript and javascript.
npm install
npm test
Release History
See CHANGELOG.md for more information.
Meta
Brian Olencki – brian.olencki.com
Distributed under the MIT license. See LICENSE for more information.
https://github.com/Olencki-Development/redux-process
Contributing
- Fork it (https://github.com/Olencki-Development/redux-process/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request