Route action on server side
When your react app is being rendered on the server side, the module react-redux-router-engine will handle these chores:
- use react-router to match the URL to your routes in
- call your async actions to retrieve data and create a [redux] store
- matching the HTTP method that's allowed for the route
- use ReactDom's
renderToStringto render your React Component into HTML
See Redux Router Engine for details on its APIs and options.