标签: javascript react-redux es6-modules reducers
下面是一段代码:
这是错误:
答案 0 :(得分:0)
假设减少者'是你的组合/根减速器,试试这个:
import { createStore, applyMiddleware, compose } from 'redux'; const store = createStore( reducers, compose( applyMiddleware( ReduxPromise )) )
然后:
<Provider store={ store } >