redux-duplicate-actions
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "redux-duplicate-actions", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "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!", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -15,6 +15,6 @@ # Redux Duplicate Action Monitor | ||
// To throw a fatal error use the below: | ||
const reduxDuplicateActions = require('redux-duplicate-actions')(true) | ||
const reduxDuplicateActions = require('redux-duplicate-actions')(true) | ||
reduxMiddleware.push(reduxDuplicateActions) | ||
// To just show a warning: | ||
const reduxDuplicateActions = require('redux-duplicate-actions')() | ||
const reduxDuplicateActions = require('redux-duplicate-actions')(false) | ||
reduxMiddleware.push(reduxDuplicateActions) | ||
@@ -21,0 +21,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12093