redux dev tools chrome extension code example

Example 1: redux-devtools-extension npm

npm install --save redux-devtools-extension

Example 2: redux devtools chrome

const store = createStore(
   reducer, /* preloadedState, */
+  window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
 );

Example 3: redux devtools extension

const store = createStore(
   reducer, /* preloadedState, */
+  window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
 );

Example 4: redux devtools

npm install --save redux-devtools-extension