我知道,为了创建一个操作,从而启动事件的redux链,必须使用dispatch调用操作创建者。但是,当我们有一个redux-thunk返回一个函数,该函数将在我们的操作创建者上调用dispatch时,为什么还必须用dispatch调用redux-thunk?例如,以下面的redux-thunk为例:
function savePerson(person: Pers
/actions';// other imports...
const { width } = Dimensions.getundefined is not an object...evaluating this.props.loginAction(arg1, arg2) 编辑:我相信这些操作可以通过mapDispatchToProps函数访问我不完全理解动作函数的这一部分,但没有它就不能工作。 可以进