initialState = {};
reducer = combineReducers(reducers);
state = reducer(initialState);
store = applyMiddleware(thunk, logger)(createStore)(reducer, state);
I was expecting to get what's returned by CONSTRUCT as state.query, but it fails with the error Uncaught Error: Action parameter value must be an object.
I think this is a bug. Please update me if I am missing something (/ doing something wrong).
This is my reducer:
This is how I am creating the store:
I was expecting to get what's returned by
CONSTRUCT
asstate.query
, but it fails with the errorUncaught Error: Action parameter value must be an object.
I think this is a bug. Please update me if I am missing something (/ doing something wrong).