import { createStore } from 'redux';
import reducer from './reducer';
const storeCreator = reduxedStorageCreatorFactory({ createStore });
storeCreator(reducer).then(store => {
const state = store.getState();
...
});