这是我的代码段:
import { createStore, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import devTools from 'remote-redux-devtools';
import StockApp from '../reducers';
// create a store that has redux-thunk middleware enabled
const createStoreWithMiddleware = applyMiddleware(
thunk
)(createStore);
alert("inside production");
export default function configureStore() {
return createStoreWithMiddleware(StockApp);
}
每当我尝试导入remote-redux-devtools时,它都会在屏幕下方显示
如果我尝试删除remote-redux-devtools
导入语句一切顺利,请建议或指出当我在
答案 0 :(得分:0)