I am writing an isomorphic app with react, redux, react-router, react-router-redux.
I am calling syncHistoryWithStore on client.js. But on initial load, router.locationBeforeTransitions is always null. It is populated once I navigate though.
const history = syncHistoryWithStore(browserHistory, store);
...
<Router routes={routes} history={history} />
Above code is from client.js
Should I fire LOCATION_CHANGE action on server side manually to populate initial state of react-router-redux?