If you’re using react-redux then you should be familiar with the code below.
// SomeContainer.jsx
const mapDispatchToProps = (dispatch) => ({ ...});