{"action":"created","issue":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5945","repository_url":"https://api.github.com/repos/react-navigation/react-navigation","labels_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5945/labels{/name}","comments_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5945/comments","events_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5945/events","html_url":"https://github.com/react-navigation/react-navigation/issues/5945","id":449274512,"node_id":"MDU6SXNzdWU0NDkyNzQ1MTI=","number":5945,"title":"Dumb component in StackNavigator","user":{"login":"higor-correa","id":40184418,"node_id":"MDQ6VXNlcjQwMTg0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/40184418?v=4","gravatar_id":"","url":"https://api.github.com/users/higor-correa","html_url":"https://github.com/higor-correa","followers_url":"https://api.github.com/users/higor-correa/followers","following_url":"https://api.github.com/users/higor-correa/following{/other_user}","gists_url":"https://api.github.com/users/higor-correa/gists{/gist_id}","starred_url":"https://api.github.com/users/higor-correa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/higor-correa/subscriptions","organizations_url":"https://api.github.com/users/higor-correa/orgs","repos_url":"https://api.github.com/users/higor-correa/repos","events_url":"https://api.github.com/users/higor-correa/events{/privacy}","received_events_url":"https://api.github.com/users/higor-correa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-05-28T13:37:32Z","updated_at":"2019-05-31T10:28:48Z","closed_at":"2019-05-28T14:50:23Z","author_association":"NONE","body":"I'm trying to use the createStackNavigator and one of my screen is a dumb component.\r\nSo I'm getting this error: \r\n> Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.\r\n\r\nDoes anyone know if I can not use a dumb component as a screen of StackNavigator?\r\n\r\nAs dumb component I mean something like:\r\n`export default Foo = () => (<View>:D</View>)`"},"comment":{"url":"https://api.github.com/repos/react-navigation/react-navigation/issues/comments/497661228","html_url":"https://github.com/react-navigation/react-navigation/issues/5945#issuecomment-497661228","issue_url":"https://api.github.com/repos/react-navigation/react-navigation/issues/5945","id":497661228,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5NzY2MTIyOA==","user":{"login":"higor-correa","id":40184418,"node_id":"MDQ6VXNlcjQwMTg0NDE4","avatar_url":"https://avatars0.githubusercontent.com/u/40184418?v=4","gravatar_id":"","url":"https://api.github.com/users/higor-correa","html_url":"https://github.com/higor-correa","followers_url":"https://api.github.com/users/higor-correa/followers","following_url":"https://api.github.com/users/higor-correa/following{/other_user}","gists_url":"https://api.github.com/users/higor-correa/gists{/gist_id}","starred_url":"https://api.github.com/users/higor-correa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/higor-correa/subscriptions","organizations_url":"https://api.github.com/users/higor-correa/orgs","repos_url":"https://api.github.com/users/higor-correa/repos","events_url":"https://api.github.com/users/higor-correa/events{/privacy}","received_events_url":"https://api.github.com/users/higor-correa/received_events","type":"User","site_admin":false},"created_at":"2019-05-31T10:28:48Z","updated_at":"2019-05-31T10:28:48Z","author_association":"NONE","body":"Thanks @eriveltonelias i was forgetting to use the `createAppContainer` and use it \"as a tag\".\r\nIt's working now!!!\r\n😗 "}}
{"actor":{"display_login":"higor-correa"}}