redux dev tools react implementation] code example
Example 1: redux devtools
//without middleware
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
// With middleware
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(reducer, composeWithDevTools(
applyMiddleware(...middleware),
Example 2: redux devtools
npm install --save redux-devtools-extension