You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loving the ReduxImmutable library and using it's implementation of combineReducers for my root state without problem. However, I have a node off the state tree called forecast which I'd like to further separate into a set of reducers with the following:
import ReduxImmutable from 'npm:redux-immutable';
const { combineReducers } = ReduxImmutable;
import meta from './forecast/meta';
import history from './forecast/history';
import versions from './forecast/versions';
export default combineReducers({
meta,
history,
versions
});
When I do this however, I get the message:
reducer is not a function
From the following code block:
Any idea why this would be? For reference sake, here is the root reducer (which works so long as "forecast" is a regular reducer and not a combineReducer mutex):
import ReduxImmutable from 'npm:redux-immutable';
const { combineReducers } = ReduxImmutable;
import accounts from './accounts';
import counterparties from './counterparties';
import firebase from './firebase';
import forecast from './forecast';
import org from './org';
import registration from './registration';
import users from './users';
import userProfile from './userProfile';
export default combineReducers({
accounts,
counterparties,
firebase,
forecast,
org,
registration,
users,
userProfile
});
The text was updated successfully, but these errors were encountered:
Loving the ReduxImmutable library and using it's implementation of
combineReducers
for my root state without problem. However, I have a node off the state tree called forecast which I'd like to further separate into a set of reducers with the following:When I do this however, I get the message:
From the following code block:
Any idea why this would be? For reference sake, here is the root reducer (which works so long as "forecast" is a regular reducer and not a combineReducer mutex):
The text was updated successfully, but these errors were encountered: