Enhance Reducer
![npm version](https://badge.fury.io/js/enhance-reducer.svg)
a group of utility functions for composing additional functionality into a reducer. Available for JavaScript and TypeScript.
Getting Started
npm install --save enhance-reducer
yarn add enhance-reducer
All functions are available on the top level import.
import { pipe, withLoadable, withResetState } from 'enhance-reducer';
enhance-reducer
can be used to...
- Handle loading flags for async code
- Handle setting, add to, updating, deleting collections
- Resetting a reducer state back to it's initial state
- Nest reducers
API Docs
Read them here
Contributing
git clone https://github.com/<GH_USERNAME>/enhance-reducer.git
cd enhance-reducer
yarn install