The Redux Devtools Chrome plugin stopped working for me, possibly after a Chrome update. I removed and re-installed the plugin and it still wasn’t working. It was opening up ok but not picking up any of my Redux actions or state changes.
Checking the docs, it seems there’s been a name change with how you integrate the devtools into you app too. Since I’m adding the thunk middleware I need to use the compose approach. Before updating and before this naming change, I was using this approach, described in a previous post here:
import { devToolsEnhancer } from 'redux-devtools-extension'; import rootReducer from '../reducers/reducer'; let store = createStore(rootReducer, compose( applyMiddleware(thunk), window.devToolsExtension ? window.devToolsExtension() : f => f ) );
New approach with updates react-devtools and the extension:
import { composeWithDevTools } from 'redux-devtools-extension'; import rootReducer from '../reducers/reducer'; const store = createStore( rootReducer, composeWithDevTools( applyMiddleware(thunk) // other store enhancers if any ) );