{"action":"opened","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation-redux-helpers/issues/53","repository_url":"https://api.github.com/repos/react-navigation/react-navigation-redux-helpers","labels_url":"https://api.github.com/repos/react-navigation/react-navigation-redux-helpers/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation-redux-helpers/issues/53/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation-redux-helpers/issues/53/events","html_url":"https://github.com/react-navigation/react-navigation-redux-helpers/issues/53","id":343015418,"node_id":"MDU6SXNzdWUzNDMwMTU0MTg=","number":53,"title":"reduxifyNavigator is causing this.props.navigation.addListener('didFocus') to not work","user":{"login":"diegoddox","id":2768497,"node_id":"MDQ6VXNlcjI3Njg0OTc=","avatar_url":"https://avatars3.githubusercontent.com/u/2768497?v=4","gravatar_id":"","url":"https://api.github.com/users/diegoddox","html_url":"https://github.com/diegoddox","followers_url":"https://api.github.com/users/diegoddox/followers","following_url":"https://api.github.com/users/diegoddox/following{/other_user}","gists_url":"https://api.github.com/users/diegoddox/gists{/gist_id}","starred_url":"https://api.github.com/users/diegoddox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegoddox/subscriptions","organizations_url":"https://api.github.com/users/diegoddox/orgs","repos_url":"https://api.github.com/users/diegoddox/repos","events_url":"https://api.github.com/users/diegoddox/events{/privacy}","received_events_url":"https://api.github.com/users/diegoddox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T08:19:56Z","updated_at":"2018-07-20T08:19:56Z","closed_at":null,"author_association":"NONE","body":"**First thanks for the lib.**\r\n\r\n**Description**\r\nI encounter a strange behavior while upgrading to `react-navigation@2`. Following the example in the docs I noticed that the `navigation.AddListener('didFcous'` was not working on every screen.\r\n\r\nAfter many hours of debugging, I found out that by removing the `reduxifyNavigator` all screen that was listening for the event `didFocus` was working normally.\r\n\r\n**The issue**\r\nThis accour when you have a screen that is listening for `didFcous/some other events` and is connected to redux and by `dispatching` an action inside of the first `didFocus` the next `didFcous` on the stack will not work.\r\n\r\nI've used some time to create a repo that can reproduce this issue.\r\nhttps://github.com/diegoddox/navigation-redux-helper\r\n\r\nThis is the file that you wanna take a look.\r\nhttps://github.com/diegoddox/navigation-redux-helper/blob/master/Route.js\r\n\r\n**dependencies.**\r\nreact: 16.4.1\r\nreact-native: 0.54.0 | 0.56.0\r\nreact-navigation: 2.6.2 | 2.8.0\r\nreact-navigation-redux-helpers: 2.0.2\r\nreact-redux: 5.0.7\r\nredux: 4.0.0"}}
{"actor":{"display_login":"diegoddox"}}