redux devtools extension
npm install --save redux-devtools-extension const store = createStore(
reducer, /* preloadedState, */
+ window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
); window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__() const store = createStore(
reducer, /* preloadedState, */
+ window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
);
//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),
Also in JavaScript:
- can we use two versions of jquery in same page
- setAttribute()
- var let const javascript
- terminal tree command
- ISS proxy express
- how to reload the same page using javascript
- how i create array in javascript
- document.addEventListener("backbutton
- what does the useReducer do in react
- find all checkbox inside div jquery
- make random letter capital in string javascript
- use callback vs use memo
- resolve vs return promise js
- moment js get date 1 month
- angular read config from json
- javascript find object in array and replace it
- position of the mouse cursor javascript
- vue js tutorial
- math.min
- Find parent and child from array javascript
- js change contenteditable value
- how to get a bot online on discord
- javascript open new window
- react clear input value