{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-router-redux/issues/298","repository_url":"https://api.github.com/repos/reactjs/react-router-redux","labels_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/298/comments","events_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/298/events","html_url":"https://github.com/reactjs/react-router-redux/issues/298","id":135741499,"number":298,"title":"Officially document @@router/LOCATION_CHANGE","user":{"login":"StephenCleary","id":900597,"avatar_url":"https://avatars.githubusercontent.com/u/900597?v=3","gravatar_id":"","url":"https://api.github.com/users/StephenCleary","html_url":"https://github.com/StephenCleary","followers_url":"https://api.github.com/users/StephenCleary/followers","following_url":"https://api.github.com/users/StephenCleary/following{/other_user}","gists_url":"https://api.github.com/users/StephenCleary/gists{/gist_id}","starred_url":"https://api.github.com/users/StephenCleary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StephenCleary/subscriptions","organizations_url":"https://api.github.com/users/StephenCleary/orgs","repos_url":"https://api.github.com/users/StephenCleary/repos","events_url":"https://api.github.com/users/StephenCleary/events{/privacy}","received_events_url":"https://api.github.com/users/StephenCleary/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-23T13:45:35Z","updated_at":"2016-02-23T18:13:48Z","closed_at":null,"body":"I do have a use case for `@@router/LOCATION_CHANGE`: I have to show one element on my page after all other elements have completed loading (asynchronously). For this, I have a boolean flag in my state that is set to `false` on `@@router/LOCATION_CHANGE` and set to `true` by another action when all the elements have completed loading.\r\n\r\nPlease export a constant like what used to be done with `UPDATE_LOCATION`, so that I can use an officially documented action rather than a magic string."},"comment":{"url":"https://api.github.com/repos/reactjs/react-router-redux/issues/comments/187824750","html_url":"https://github.com/reactjs/react-router-redux/issues/298#issuecomment-187824750","issue_url":"https://api.github.com/repos/reactjs/react-router-redux/issues/298","id":187824750,"user":{"login":"gaearon","id":810438,"avatar_url":"https://avatars.githubusercontent.com/u/810438?v=3","gravatar_id":"","url":"https://api.github.com/users/gaearon","html_url":"https://github.com/gaearon","followers_url":"https://api.github.com/users/gaearon/followers","following_url":"https://api.github.com/users/gaearon/following{/other_user}","gists_url":"https://api.github.com/users/gaearon/gists{/gist_id}","starred_url":"https://api.github.com/users/gaearon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaearon/subscriptions","organizations_url":"https://api.github.com/users/gaearon/orgs","repos_url":"https://api.github.com/users/gaearon/repos","events_url":"https://api.github.com/users/gaearon/events{/privacy}","received_events_url":"https://api.github.com/users/gaearon/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T18:13:48Z","updated_at":"2016-02-23T18:13:48Z","body":"The name changed because the behavior changed. The previous action used to fire before the history was requested to change via action creators. The new action is fired after any history change, and regardless of how it’s done (e.g. `browserHistory.push()` will work too)."}}