Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "fluxury", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Add luxury sugar to simplify implementing Facebook's flavor of Flux architecture.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -98,3 +98,3 @@ # fluxury | ||
Create a new store with a name and a reducer. | ||
Create a new store with a name, initialState, reducer and optionally an object with queries and an array with dispatch tokens sent to waitFor. | ||
@@ -110,2 +110,4 @@ ```js | ||
return state; | ||
}, { | ||
getCount: (state) => state // state is the count itself! | ||
}); | ||
@@ -112,0 +114,0 @@ ``` |
14693
243