const finalCreateStore = compose( applyMiddleware(logger, thunk), reduxReactRouter({ routes, createHistory }), window.devToolsExtension ? window.devToolsExtension() : f => f )(createStore);