我是React-Redux的新手。正在处理一个应用程序。问题是我可能遇到了一些异步执行ReduxactionCreator的问题。下面是我的组件。比如,我想从componentDidMount()或onclick事件监听器调用actionCreator。classDashboardextendsPureComponent{componentDidMount(){this.props.getProductsAndPackages();letsomething=[];something=this.props.products;}...............................