export const mapDispatchToProps redux next code example Example: redux import connect import { connect } from 'react-redux'