What is the purpose of the connect() function in Redux? code example Example: redux import connect import { connect } from 'react-redux'