react-router4 實現按需加載並利用withRouter傳遞props

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