react-redux how to use connect with a functional component code example Example: redux import connect import { connect } from 'react-redux'