Redux Duplicate Action Monitor
This is a redux middleware that detects duplicate actions & shows this in the console. Ideal for ensuring good redux practices. Development use only!
Supports Node 10.x +
Usage
if (__DEV__) {
const reduxDuplicateActions = require("redux-duplicate-actions")(true);
reduxMiddleware.push(reduxDuplicateActions);
const reduxDuplicateActions = require("redux-duplicate-actions")(false);
reduxMiddleware.push(reduxDuplicateActions);
}
Test
Run the following commands to test the module:
npm install && npm test
Contributing
All contributions are very welcome, please read my CONTRIBUTING.md first. You can submit any ideas as pull requests or as GitHub issues. If you'd like to improve code, please feel free!
License
![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdaviemakz%2Fredux-duplicate-actions.svg?type=large)