React Native Debugger 应用程序版本:v0.8.1
React Native 版本:0.57.3
我收到此错误
It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function
在我从 0.55 更新之前它正在工作。
这就是我创建商店的方式。
import { createStore, compose, applyMiddleware } from 'redux';
import thunk from 'redux-thunk';
import reducers from '../reducers';
const store = createStore(
reducers,
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__(),
compose(applyMiddleware(thunk)),
);
export default store;
当我使用 Chrome 进行调试时,它工作正常。
请帮忙,谢谢