title: mapStateToProps for functional component
body: <p>Is there any function similar to <code>mapStateToProps</code> so that we can connect Redux state to the functional component in React?</p>
  
  <p>Is passing the state as props from parent component the only solution?</p>