client/modules/Home/Components/List.js
// Retrieve data from store as props
Retrieve data from store as props
Retrieve data from store as props
function mapStateToProps(state) {
  return {
    newsList: getNewsList(state),
    newsVipList: getNewsVipList(state),
    loading: getLoading(state),
    pageHeader: getPageHeader(state),
    currentPage: getCurrentPage(state),
    maxPage: getMaxPage(state),
  };
}
function mapStateToProps ( state ) { return { newsList : getNewsList ( state ) , newsVipList : getNewsVipList ( state ) , loading : getLoading ( state ) , pageHeader : getPageHeader ( state ) , currentPage : getCurrentPage ( state ) , maxPage : getMaxPage ( state ) , } ; }
Retrieve data from store as props
Retrieve data from store as props