useSelector is the hook which acts as a closed equivalent to the mapStateToProps function. So it is used to get hold of any state that is maintained i.
確定! 回上一頁