标签: reactjs react-redux
如何在类组件中使用这个 useSelector?
const mapState = ({ user }) => ({ currentUser: user.currentUser, });