{"action":"opened","issue":{"url":"https://api.github.com/repos/reactjs/react-router/issues/3520","repository_url":"https://api.github.com/repos/reactjs/react-router","labels_url":"https://api.github.com/repos/reactjs/react-router/issues/3520/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-router/issues/3520/comments","events_url":"https://api.github.com/repos/reactjs/react-router/issues/3520/events","html_url":"https://github.com/reactjs/react-router/issues/3520","id":158865096,"number":3520,"title":"replace() doesn't work inside of a resolved Promise","user":{"login":"thibmaek","id":6213695,"avatar_url":"https://avatars.githubusercontent.com/u/6213695?v=3","gravatar_id":"","url":"https://api.github.com/users/thibmaek","html_url":"https://github.com/thibmaek","followers_url":"https://api.github.com/users/thibmaek/followers","following_url":"https://api.github.com/users/thibmaek/following{/other_user}","gists_url":"https://api.github.com/users/thibmaek/gists{/gist_id}","starred_url":"https://api.github.com/users/thibmaek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thibmaek/subscriptions","organizations_url":"https://api.github.com/users/thibmaek/orgs","repos_url":"https://api.github.com/users/thibmaek/repos","events_url":"https://api.github.com/users/thibmaek/events{/privacy}","received_events_url":"https://api.github.com/users/thibmaek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-07T08:19:27Z","updated_at":"2016-06-07T08:19:27Z","closed_at":null,"body":"## Version\r\n2.4.0\r\n\r\n## Test Case\r\nhttp://jsbin.com/sabovu/edit?html,js,output\r\n\r\n## Steps to reproduce\r\n1. Resolve a new Promise\r\n2. When the promise is resolved, try and call `replace()` which will not work\r\n3. Calling `browserHistory.push()` will work\r\n\r\n## Expected Behavior\r\n`Router.replace()` replaces the history with given pathname\r\n\r\n## Actual Behavior\r\n`Router.replace()` doesn't work inside a resolved promise (`.then()`) but browserHistory.push does.\r\n"}}
{"actor":{"display_login":"thibmaek"}}