{"action":"created","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3440","repository_url":"https://api.github.com/repos/react-navigation/react-navigation","labels_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3440/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3440/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3440/events","html_url":"https://github.com/react-navigation/react-navigation/pull/3440","id":294655447,"node_id":"MDExOlB1bGxSZXF1ZXN0MTY3MzM3MDI1","number":3440,"title":"StackNavigator Replace Action","user":{"login":"ericvicenti","id":1483597,"node_id":"MDQ6VXNlcjE0ODM1OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/1483597?v=4","gravatar_id":"","url":"https://api.github.com/users/ericvicenti","html_url":"https://github.com/ericvicenti","followers_url":"https://api.github.com/users/ericvicenti/followers","following_url":"https://api.github.com/users/ericvicenti/following{/other_user}","gists_url":"https://api.github.com/users/ericvicenti/gists{/gist_id}","starred_url":"https://api.github.com/users/ericvicenti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericvicenti/subscriptions","organizations_url":"https://api.github.com/users/ericvicenti/orgs","repos_url":"https://api.github.com/users/ericvicenti/repos","events_url":"https://api.github.com/users/ericvicenti/events{/privacy}","received_events_url":"https://api.github.com/users/ericvicenti/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-02-06T07:18:08Z","updated_at":"2018-07-02T20:41:08Z","closed_at":"2018-02-06T20:59:16Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/react-navigation/react-navigation/pulls/3440","html_url":"https://github.com/react-navigation/react-navigation/pull/3440","diff_url":"https://github.com/react-navigation/react-navigation/pull/3440.diff","patch_url":"https://github.com/react-navigation/react-navigation/pull/3440.patch"},"body":"The long awaited action to replace a route in StackNavigator!\r\n\r\nHas a nearly identical API to navigate, except the key is mandatory. Currently the behavior will keep the same key intact, and simply allow changing of the routeName, params, and child router action.\r\n\r\nAlternatively, we could decide that replacement means the key changes. In that case, the action would need to be able to specify the new key, in addition to the key of the route being replaced. Would this be named \"replaceKey\"?"},"comment":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/comments/401928084","html_url":"https://github.com/react-navigation/react-navigation/pull/3440#issuecomment-401928084","issue_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/3440","id":401928084,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTkyODA4NA==","user":{"login":"lfkwtz","id":1746853,"node_id":"MDQ6VXNlcjE3NDY4NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/1746853?v=4","gravatar_id":"","url":"https://api.github.com/users/lfkwtz","html_url":"https://github.com/lfkwtz","followers_url":"https://api.github.com/users/lfkwtz/followers","following_url":"https://api.github.com/users/lfkwtz/following{/other_user}","gists_url":"https://api.github.com/users/lfkwtz/gists{/gist_id}","starred_url":"https://api.github.com/users/lfkwtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfkwtz/subscriptions","organizations_url":"https://api.github.com/users/lfkwtz/orgs","repos_url":"https://api.github.com/users/lfkwtz/repos","events_url":"https://api.github.com/users/lfkwtz/events{/privacy}","received_events_url":"https://api.github.com/users/lfkwtz/received_events","type":"User","site_admin":false},"created_at":"2018-07-02T20:41:08Z","updated_at":"2018-07-02T20:41:08Z","author_association":"NONE","body":"@ericvicenti Is there a reason that key is required on this action (since it is optional when replace is used on the helper)?\r\n\r\nI set it to just pull the last index if key isn't found on a local branch, which works the same way as the helper.\r\n\r\nI'll open a PR if you're alright with an optional key on this."}}
{"actor":{"display_login":"lfkwtz"}}