react redux connect component initial state code example Example: redux import connect import { connect } from 'react-redux'