{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/925","repository_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example","labels_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/925/labels{/name}","comments_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/925/comments","events_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/925/events","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/925","id":133734472,"number":925,"title":"how to change route when the state updates after api call","user":{"login":"AnuragSinghTomarr","id":17065997,"avatar_url":"https://avatars.githubusercontent.com/u/17065997?v=3","gravatar_id":"","url":"https://api.github.com/users/AnuragSinghTomarr","html_url":"https://github.com/AnuragSinghTomarr","followers_url":"https://api.github.com/users/AnuragSinghTomarr/followers","following_url":"https://api.github.com/users/AnuragSinghTomarr/following{/other_user}","gists_url":"https://api.github.com/users/AnuragSinghTomarr/gists{/gist_id}","starred_url":"https://api.github.com/users/AnuragSinghTomarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnuragSinghTomarr/subscriptions","organizations_url":"https://api.github.com/users/AnuragSinghTomarr/orgs","repos_url":"https://api.github.com/users/AnuragSinghTomarr/repos","events_url":"https://api.github.com/users/AnuragSinghTomarr/events{/privacy}","received_events_url":"https://api.github.com/users/AnuragSinghTomarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-15T15:02:17Z","updated_at":"2016-02-15T15:21:13Z","closed_at":null,"body":" @erikras On a particular page suppose \"Widget\" I am making a API call on click event, as soon as the reducer updates the application state on the API success. I want to change the route. how to implement this any help will be useful"},"comment":{"url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/comments/184251135","html_url":"https://github.com/erikras/react-redux-universal-hot-example/issues/925#issuecomment-184251135","issue_url":"https://api.github.com/repos/erikras/react-redux-universal-hot-example/issues/925","id":184251135,"user":{"login":"erikras","id":4396759,"avatar_url":"https://avatars.githubusercontent.com/u/4396759?v=3","gravatar_id":"","url":"https://api.github.com/users/erikras","html_url":"https://github.com/erikras","followers_url":"https://api.github.com/users/erikras/followers","following_url":"https://api.github.com/users/erikras/following{/other_user}","gists_url":"https://api.github.com/users/erikras/gists{/gist_id}","starred_url":"https://api.github.com/users/erikras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikras/subscriptions","organizations_url":"https://api.github.com/users/erikras/orgs","repos_url":"https://api.github.com/users/erikras/repos","events_url":"https://api.github.com/users/erikras/events{/privacy}","received_events_url":"https://api.github.com/users/erikras/received_events","type":"User","site_admin":false},"created_at":"2016-02-15T15:21:13Z","updated_at":"2016-02-15T15:21:13Z","body":"You could change the route in the \"resolve\" branch of the promise returned by the client middleware from `dispatch()`."}}