next-redux-wrapper
Advanced tools
Comparing version
{ | ||
"name": "next-redux-wrapper", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "Redux wrapper for Next.js", | ||
@@ -50,3 +50,6 @@ "main": "src/index.js", | ||
] | ||
}, | ||
"dependencies": { | ||
"object.assign": "^4.0.4" | ||
} | ||
} |
@@ -76,3 +76,3 @@ Redux wrapper for Next.js | ||
- `createStore` (required, function) : the `makerStore` function as described above | ||
- `createStore` (required, function) : the `makeStore` function as described above | ||
- `storeKey` (optional, string) : the key used on `window` to persist the store on the client | ||
@@ -138,3 +138,3 @@ - `debug` (optional, boolean) : enable debug logging | ||
// Nasty duck typing, you should find a better way to detect | ||
if (!!initialState.toJS) initialState = Immutable.fromJS(initialState); | ||
if (!initialState.toJS) initialState = Immutable.fromJS(initialState); | ||
return createStore(reducer, initialState, applyMiddleware(thunk)); | ||
@@ -141,0 +141,0 @@ } |
var React = require('react'); | ||
var ReactRedux = require('react-redux'); | ||
var assign = require('object.assign'); | ||
@@ -18,3 +19,3 @@ var connect = ReactRedux.connect; | ||
var options = Object.assign({}, config, { | ||
var options = assign({}, config, { | ||
isServer: isServer, | ||
@@ -21,0 +22,0 @@ req: req, |
21411
0.07%307
0.33%3
50%7
-12.5%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added