我是 react-router v4 的新手。我们将如何在 react router v4 中做这样的事情?
<Route path="/foo" render={props => { asyncMethod(props).then(() => <Foo />) }} />
reactjs react-router react-router-v4
react-router ×1
react-router-v4 ×1
reactjs ×1