网址 https://github.com/zalmoxisus/redux-devtools-extension
1.const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
2.import { createStore,compose} from 'redux';
3.const stroe =createStore(reducer,composeEnhancers());
网址 https://github.com/zalmoxisus/redux-devtools-extension
1.const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
2.import { createStore,compose} from 'redux';
3.const stroe =createStore(reducer,composeEnhancers());