{"action":"closed","issue":{"url":"https://api.github.com/repos/developit/preact-compat/issues/478","repository_url":"https://api.github.com/repos/developit/preact-compat","labels_url":"https://api.github.com/repos/developit/preact-compat/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/developit/preact-compat/issues/478/comments","events_url":"https://api.github.com/repos/developit/preact-compat/issues/478/events","html_url":"https://github.com/developit/preact-compat/issues/478","id":333407436,"node_id":"MDU6SXNzdWUzMzM0MDc0MzY=","number":478,"title":"Pass react component as a child","user":{"login":"paulpatarinski","id":7964134,"node_id":"MDQ6VXNlcjc5NjQxMzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7964134?v=4","gravatar_id":"","url":"https://api.github.com/users/paulpatarinski","html_url":"https://github.com/paulpatarinski","followers_url":"https://api.github.com/users/paulpatarinski/followers","following_url":"https://api.github.com/users/paulpatarinski/following{/other_user}","gists_url":"https://api.github.com/users/paulpatarinski/gists{/gist_id}","starred_url":"https://api.github.com/users/paulpatarinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulpatarinski/subscriptions","organizations_url":"https://api.github.com/users/paulpatarinski/orgs","repos_url":"https://api.github.com/users/paulpatarinski/repos","events_url":"https://api.github.com/users/paulpatarinski/events{/privacy}","received_events_url":"https://api.github.com/users/paulpatarinski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-18T19:39:08Z","updated_at":"2018-06-19T13:30:35Z","closed_at":"2018-06-19T13:30:35Z","author_association":"NONE","body":"Is there a way to pass a React component as a child? \r\n\r\nExample : \r\n\r\n```\r\nconst ReactComponent = () => <PreactComponent><div class=\"childPassedInFromReact\"></div></PreactComponent>\r\n\r\nconst PreactComponent = ({reactChild}) => <div>{reactChild}</div>\r\n```\r\n\r\nwhere reactChild could be an html element or a React component"}}
{"actor":{"display_login":"marvinhagemeister"}}