I have a component with a built-in Switch component. The entire component is clickable. When you click this component, it will trigger dispatch (modify the redux store) and cause this component to
Tag: REDUX
ReactJS – React-Redux: Can’t find MapDispatchToprops
My impression is that the methods added to mapDispatchToProps should be accessible by this.props. When I call these methods, it will raise “Uncaught TypeError: this.props.onHighlight is not Functio