react-router4 实现按需加载并利用withRouter传递props

bundle.jsxreact import React, {Component} from 'react' export default class Bundle extends Component { componentWillMount() { this.load(this.props) } componentWillReceiveProps(nextProps)
相关文章
相关标签/搜索