이 라이브러리의 composeWithDevTools 함수를 리덕스 미들웨어와 함께 사용할 때는 그냥 applyMiddleware 부분을 감싸 주면 됩니다.
index.js
import React from 'react'; import ReactDOM from 'react-dom'; import { createStore, applyMiddleware } from 'redux'; import { Provider } from 'react-redux'; import './index.css'; import App from './App'; import * as serviceWorker from './serviceWorker'; import rootReducer, { rootSaga } from './modules'; // import loggerMiddleware from './lib/loggerMiddleware'; import { createLogger } from 'redux-logger'; import ReduxThunk from 'redux-thunk'; import createSagaMiddleware from 'redux-saga'; import { composeWithDevTools } from 'redux-devtools-extension'; const logger = createLogger(); const sagaMiddleware = createSagaMiddleware(); const store = createStore( rootReducer, composeWithDevTools(applyMiddleware(logger, ReduxThunk, sagaMiddleware)) ); sagaMiddleware.run(rootSaga); ReactDOM.render( <Provider store={store}> <App /> </Provider>, document.getElementById('root') ); serviceWorker.unregister();