目标:创建一个返回promise、接受参数并利用分派的操作。/actions';// other imports...
const { width } = Dimensions.get它会导致一个错误:TypeError: undefined is not an object...evaluating this.props.loginAction(arg1, arg2) 编辑:我相信这些操作可以通过
如果我使用redux定义,当我尝试绑定异步操作创建者时,bindActionCreators的验证就会失败(我正在使用redux-thunk)。在使用redux-thunk时,如何继续使用流和绑定异步操作创建者?代码示例():import type { Dispatch } from 'redux';
t