use redux connect in a functional compoenent code example Example: redux import connect import { connect } from 'react-redux'