JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q24781F
  • License MIT

This is a redux middleware that detects duplicate actions & shows this in the console. You can choose to make them fatal errors or friendly warnings! Development use only!

Package Exports

  • redux-duplicate-actions

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (redux-duplicate-actions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

npm Build Status Downloads GitHub issues GitHub pull requests FOSSA Status NPM

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