import { createStore, compose } from 'redux'
const composeEnhancers = (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(reducer, composeEnhancers())
import { createStore, compose } from 'redux'
const composeEnhancers = (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
const store = createStore(reducer, composeEnhancers())
本文标题:redux中redux-devtools的使用
本文链接:https://www.haomeiwen.com/subject/nkugchtx.html
网友评论