text: import { createStore, applyMiddleware } from 'redux';
  import rootReducer from '../reducers';
  
  import reduxImmutableStateInvariant from 'redux-immutable-state-invariant';
  import thunk from 'redux-thunk';
  
  export default function storeConfig(initialState) {
    return createStore(
      rootReducer,
      initialState,
      applyMiddleware(thunk, reduxImmutableStateInvariant())
    );
  }
  