What is the difference between passing mapDispatchToProps vs. passing an object? How does connect handle these differently? code example
Example: redux connect
//Connects your component to Redux-store
export default connect(mapState, mapDispatch)(Component)