{"action":"created","issue":{"url":"https://api.github.com/repos/trueadm/inferno/issues/513","repository_url":"https://api.github.com/repos/trueadm/inferno","labels_url":"https://api.github.com/repos/trueadm/inferno/issues/513/labels{/name}","comments_url":"https://api.github.com/repos/trueadm/inferno/issues/513/comments","events_url":"https://api.github.com/repos/trueadm/inferno/issues/513/events","html_url":"https://github.com/trueadm/inferno/issues/513","id":193302957,"number":513,"title":"Component is not a function","user":{"login":"STRML","id":1197375,"avatar_url":"https://avatars.githubusercontent.com/u/1197375?v=3","gravatar_id":"","url":"https://api.github.com/users/STRML","html_url":"https://github.com/STRML","followers_url":"https://api.github.com/users/STRML/followers","following_url":"https://api.github.com/users/STRML/following{/other_user}","gists_url":"https://api.github.com/users/STRML/gists{/gist_id}","starred_url":"https://api.github.com/users/STRML/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STRML/subscriptions","organizations_url":"https://api.github.com/users/STRML/orgs","repos_url":"https://api.github.com/users/STRML/repos","events_url":"https://api.github.com/users/STRML/events{/privacy}","received_events_url":"https://api.github.com/users/STRML/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-12-03T17:37:34Z","updated_at":"2016-12-09T23:56:47Z","closed_at":null,"body":"Error: Component is not a function (`mountComponent, inferno-compat:1047`)\r\n\r\n**Code**:\r\n\r\n```jsx\r\nconst { render, Component } = Inferno;\r\n\r\nclass Tooltip extends Component {\r\n    static defaultProps = {\r\n       component: 'a'\r\n    };\r\n    render() {\r\n        const Component = this.props.component;\r\n        return <Component>{this.props.children}</Component>;\r\n    }\r\n}\r\n\r\nrender(<Tooltip>Hi</Tooltip>, document.body);\r\n```\r\n\r\n**Expected Current Behaviour**\r\n\r\nShould run, at least with inferno-compat; `React.createElement('a')` is valid syntax.\r\n\r\n[JSFiddle](https://jsfiddle.net/zhsvwk5t/4/)\r\n"},"comment":{"url":"https://api.github.com/repos/trueadm/inferno/issues/comments/266156092","html_url":"https://github.com/trueadm/inferno/issues/513#issuecomment-266156092","issue_url":"https://api.github.com/repos/trueadm/inferno/issues/513","id":266156092,"user":{"login":"steadicat","id":6031,"avatar_url":"https://avatars.githubusercontent.com/u/6031?v=3","gravatar_id":"","url":"https://api.github.com/users/steadicat","html_url":"https://github.com/steadicat","followers_url":"https://api.github.com/users/steadicat/followers","following_url":"https://api.github.com/users/steadicat/following{/other_user}","gists_url":"https://api.github.com/users/steadicat/gists{/gist_id}","starred_url":"https://api.github.com/users/steadicat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steadicat/subscriptions","organizations_url":"https://api.github.com/users/steadicat/orgs","repos_url":"https://api.github.com/users/steadicat/repos","events_url":"https://api.github.com/users/steadicat/events{/privacy}","received_events_url":"https://api.github.com/users/steadicat/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T23:56:47Z","updated_at":"2016-12-09T23:56:47Z","body":"Yup, works now. Thanks!"}}
{"actor":{"display_login":"steadicat"}}