import {createStore, combinedReducers, applyMiddleware, compose} from 'redux';
import {productListReducer} from './reducers/productReducers';
import thunk from 'redux-thunk'
const initialState = {};
const reducer = combinedReducers({
productList: productListReducer
})
const composeEnhancer = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(reducer, initialState, composeEnhancer(applyMiddleware(thunk)));
export default store;
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (3)
I think it is
combineReducers
, without a "d".Thanks!!
You're welcome!