We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 156cb5c + cab5f03 commit 7c13ff3Copy full SHA for 7c13ff3
README.md
@@ -53,9 +53,7 @@ const initialState = Immutable.fromJS({
53
54
export default (state = initialState, action) => {
55
if (action.type === LOCATION_CHANGE) {
56
- return state.merge({
57
- locationBeforeTransitions: action.payload
58
- });
+ return state.set('locationBeforeTransitions', action.payload);
59
}
60
61
return state;
@@ -74,7 +72,7 @@ import {
74
72
75
73
const history = syncHistoryWithStore(browserHistory, store, {
76
selectLocationState (state) {
77
- return state.get('routing').toJS();
+ return state.get('routing').toObject();
78
79
});
80
```
0 commit comments