Use of redux-devtools

File found in the entrance of the project in place createStore function call, add it to the second argument window .__ REDUX_DEVTOOLS_EXTENSION__ && window .__ REDUX_DEVTOOLS_EXTENSION __ ()

const store = createStore(
  reducers,
  window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
);

https://www.cnblogs.com/zhuzhenwei918/p/7249357.html

https://github.com/zalmoxisus/redux-devtools-extension#usage

Guess you like

Origin www.cnblogs.com/answercard/p/11601310.html