{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/3322","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3322/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3322/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3322/events","html_url":"https://github.com/wix/react-native-navigation/issues/3322","id":330669420,"node_id":"MDU6SXNzdWUzMzA2Njk0MjA=","number":3322,"title":"[V2] remx HOC problem","user":{"login":"yusufyildirim","id":22980987,"node_id":"MDQ6VXNlcjIyOTgwOTg3","avatar_url":"https://avatars2.githubusercontent.com/u/22980987?v=4","gravatar_id":"","url":"https://api.github.com/users/yusufyildirim","html_url":"https://github.com/yusufyildirim","followers_url":"https://api.github.com/users/yusufyildirim/followers","following_url":"https://api.github.com/users/yusufyildirim/following{/other_user}","gists_url":"https://api.github.com/users/yusufyildirim/gists{/gist_id}","starred_url":"https://api.github.com/users/yusufyildirim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yusufyildirim/subscriptions","organizations_url":"https://api.github.com/users/yusufyildirim/orgs","repos_url":"https://api.github.com/users/yusufyildirim/repos","events_url":"https://api.github.com/users/yusufyildirim/events{/privacy}","received_events_url":"https://api.github.com/users/yusufyildirim/received_events","type":"User","site_admin":false},"labels":[{"id":602711689,"node_id":"MDU6TGFiZWw2MDI3MTE2ODk=","url":"https://api.github.com/repos/wix/react-native-navigation/labels/v2","name":"v2","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-08T13:58:46Z","updated_at":"2018-06-11T10:49:03Z","closed_at":null,"author_association":"NONE","body":"### Issue Description\r\nI'm trying remx in one of my projects and have a problem with it. Whenever I wrap my component with connect() function, remx is works fine but react native navigation spesific events or functions like onNavigationButtonPressed(), componentDidAppear(), static get options() stops triggering. I looked remx's codes a bit and when we use connect, on the background remx wraps our component with HOC and returns a new component (as expected). This problem is probably remx's fault but I wanted to ask you guys here. There may be a integration problem.\r\n\r\n### Steps to Reproduce / Code Snippets / Screenshots\r\n* Implement remx to your project\r\n* Wrap your screen component with connect() function AND pass mapStateToProps as an argument (this is important)\r\n* Try to use events I mentioned above.\r\n\r\n### Environment\r\n* React Native Navigation version: v2@alpha\r\n* React Native version: 0.55.4\r\n* Platform(s) (iOS, Android, or both?): Both\r\n* Device info (Simulator/Device? OS version? Debug/Release?): All"},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/396202102","html_url":"https://github.com/wix/react-native-navigation/issues/3322#issuecomment-396202102","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/3322","id":396202102,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjIwMjEwMg==","user":{"login":"DanielZlotin","id":6660239,"node_id":"MDQ6VXNlcjY2NjAyMzk=","avatar_url":"https://avatars3.githubusercontent.com/u/6660239?v=4","gravatar_id":"","url":"https://api.github.com/users/DanielZlotin","html_url":"https://github.com/DanielZlotin","followers_url":"https://api.github.com/users/DanielZlotin/followers","following_url":"https://api.github.com/users/DanielZlotin/following{/other_user}","gists_url":"https://api.github.com/users/DanielZlotin/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielZlotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielZlotin/subscriptions","organizations_url":"https://api.github.com/users/DanielZlotin/orgs","repos_url":"https://api.github.com/users/DanielZlotin/repos","events_url":"https://api.github.com/users/DanielZlotin/events{/privacy}","received_events_url":"https://api.github.com/users/DanielZlotin/received_events","type":"User","site_admin":false},"created_at":"2018-06-11T10:49:02Z","updated_at":"2018-06-11T10:49:02Z","author_association":"COLLABORATOR","body":"@yusufyildirim can you please create a **very small** reproducible example project?"}}
{"actor":{"display_login":"DanielZlotin"}}