@acpaas-ui/js-redux-utils
Advanced tools
Comparing version 1.0.1-alpha.3 to 1.0.1
{ | ||
"name": "@acpaas-ui/js-redux-utils", | ||
"version": "1.0.1-alpha.3", | ||
"version": "1.0.1", | ||
"description": "", | ||
"main": "js-redux-utils.umd.js", | ||
"browser": "js-redux-utils.cjs.js", | ||
"module": "js-redux-utils.es.js", | ||
"es2015": "js-redux-utils.es.js", | ||
"main": "acpaas-ui-js-redux-utils.umd.js", | ||
"browser": "acpaas-ui-js-redux-utils.cjs.js", | ||
"module": "acpaas-ui-js-redux-utils.es.js", | ||
"es2015": "acpaas-ui-js-redux-utils.es.js", | ||
"typings": "acpaas-ui-js-redux-utils.d.ts", | ||
@@ -10,0 +10,0 @@ "author": "", |
# ACPaaS UI JS Redux Utils | ||
[![js-redux-utils-status]][js-redux-utils-package] | ||
The Redux Utils package provides some helpers and bootstrap utils to ease the redux setup. | ||
@@ -9,3 +12,3 @@ | ||
``` | ||
npm i -S @acpaas-ui/js-redux-utils | ||
npm install @acpaas-ui/js-redux-utils --save | ||
``` | ||
@@ -34,3 +37,3 @@ | ||
``` | ||
``` javascript | ||
{ | ||
@@ -49,3 +52,3 @@ loading: true/false, | ||
``` | ||
``` javascript | ||
{ | ||
@@ -60,3 +63,3 @@ type: 'DO_STUFF', | ||
``` | ||
``` javascript | ||
const myReducer = (state, action) => { | ||
@@ -102,3 +105,3 @@ if (action.type === 'STUFF_LOAD') { | ||
``` | ||
``` javascript | ||
const newsReducer = basicType({ | ||
@@ -111,3 +114,3 @@ type: 'NEWS' | ||
``` | ||
``` javascript | ||
dispatch({ | ||
@@ -126,3 +129,3 @@ type: 'NEWS/LOAD', // <TYPE>/LOAD | ||
``` | ||
``` javascript | ||
const newsReducer = basicType({ | ||
@@ -136,3 +139,3 @@ type: 'NEWS', | ||
``` | ||
``` javascript | ||
dispatch({ | ||
@@ -149,3 +152,3 @@ type: 'NEWS/LOAD', | ||
``` | ||
``` javascript | ||
dispatch({ | ||
@@ -167,3 +170,3 @@ type: 'NEWS/LOAD_MORE', | ||
``` | ||
``` javascript | ||
const newsReducer = basicType({ | ||
@@ -178,3 +181,3 @@ type: 'NEWS', | ||
``` | ||
``` javascript | ||
dispatch({ | ||
@@ -191,3 +194,3 @@ type: 'NEWS/LOAD', | ||
``` | ||
``` javascript | ||
{ | ||
@@ -204,3 +207,3 @@ filters: { | ||
``` | ||
``` javascript | ||
const filterReducer = targetReducer({ type: 'FILTERS' }, myFilterReducer, {}); | ||
@@ -215,3 +218,3 @@ ``` | ||
``` | ||
``` javascript | ||
dispatch({ | ||
@@ -226,3 +229,3 @@ type: 'FILTERS/LOAD', | ||
``` | ||
``` javascript | ||
{ | ||
@@ -239,3 +242,3 @@ filters: { | ||
``` | ||
``` javascript | ||
const filterReducer = targetReducer({ | ||
@@ -249,3 +252,3 @@ type: 'FILTERS', | ||
``` | ||
``` javascript | ||
dispatch({ | ||
@@ -260,3 +263,3 @@ type: 'FILTERS/LOAD', | ||
``` | ||
``` javascript | ||
{ | ||
@@ -273,1 +276,4 @@ filters: { | ||
``` | ||
[js-redux-utils-package]: https://www.npmjs.com/package/@acpaas-ui/js-redux-utils | ||
[js-redux-utils-status]: https://img.shields.io/npm/v/@acpaas-ui/js-redux-utils.svg |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
44472
1
260