examples/redux-with-actions/src/MainPage.js
function mapDispatchToProps(dispatch) {
  return {
    onChangeArr: (arr) => dispatch(changeArr(arr)),
    onChangeFoo: (foo) => dispatch(changeFoo(foo)),
    onChangeBar: (bar) => dispatch(changeBar(bar)),
    onChangeBaz: (baz) => dispatch(changeBaz(baz)),
    onChangeMany: (foo) => dispatch(changeMany({ foo })),
  };
}
function mapDispatchToProps(dispatch) {
  return {
    onChangeArr: (arr) => dispatch(changeArr(arr)),
    onChangeFoo: (foo) => dispatch(changeFoo(foo)),
    onChangeBar: (bar) => dispatch(changeBar(bar)),
    onChangeBaz: (baz) => dispatch(changeBaz(baz)),
    onChangeMany: (foo) => dispatch(changeMany({ foo })),
  };
}
function mapDispatchToProps ( dispatch ) { return { onChangeArr : ( arr ) => dispatch ( changeArr ( arr ) ) , onChangeFoo : ( foo ) => dispatch ( changeFoo ( foo ) ) , onChangeBar : ( bar ) => dispatch ( changeBar ( bar ) ) , onChangeBaz : ( baz ) => dispatch ( changeBaz ( baz ) ) , onChangeMany : ( foo ) => dispatch ( changeMany ( { foo } ) ) , } ; }
Standard react-redux mapDispatchToProps
Standard react - redux mapDispatchToProps