React Server Side Async Rendering
Update I think
react-router has better support for server rendering now.
Solutions for server-side rendering of asynchronously initialized React.js component: No perfect solution, at least for now.
Here’re some links discussing this issue:
- Strategies for server-side rendering of asynchronously initialized React.js components
- Make componentWillMount async
Seems the only reasonable way is to pre-fetch data in React Router transition hook