dispatch and assign a value for a variable in redux code example
Example: redux connect
//Connects your component to Redux-store
export default connect(mapState, mapDispatch)(Component)
//Connects your component to Redux-store
export default connect(mapState, mapDispatch)(Component)