reactjs – react-router withRouter不提供mapStateToProps中的道具?
我目前正面临一个奇怪的问题,即react-router提供的HOC withRouter不会将props传递给mapStateToProps函数.我在这做错了吗? import React, { Component } from 'react';
import { Link, withRouter } from 'react-router';
import { connect } from 're