{"action":"closed","issue":{"url":"https://api.github.com/repos/developit/preact/issues/1096","repository_url":"https://api.github.com/repos/developit/preact","labels_url":"https://api.github.com/repos/developit/preact/issues/1096/labels{/name}","comments_url":"https://api.github.com/repos/developit/preact/issues/1096/comments","events_url":"https://api.github.com/repos/developit/preact/issues/1096/events","html_url":"https://github.com/developit/preact/issues/1096","id":322358814,"number":1096,"title":"Stateless components returning wrong .type (cl)","user":{"login":"mikeaustin","id":343144,"avatar_url":"https://avatars1.githubusercontent.com/u/343144?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeaustin","html_url":"https://github.com/mikeaustin","followers_url":"https://api.github.com/users/mikeaustin/followers","following_url":"https://api.github.com/users/mikeaustin/following{/other_user}","gists_url":"https://api.github.com/users/mikeaustin/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeaustin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeaustin/subscriptions","organizations_url":"https://api.github.com/users/mikeaustin/orgs","repos_url":"https://api.github.com/users/mikeaustin/repos","events_url":"https://api.github.com/users/mikeaustin/events{/privacy}","received_events_url":"https://api.github.com/users/mikeaustin/received_events","type":"User","site_admin":false},"labels":[{"id":931382391,"url":"https://api.github.com/repos/developit/preact/labels/needs-more-info","name":"needs-more-info","color":"960007","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-11T16:30:34Z","updated_at":"2018-05-19T09:59:36Z","closed_at":"2018-05-19T09:59:36Z","author_association":"NONE","body":"We converted some some components in our project to stateless functions, and now referencing .type is returning \"cl\" instead of something like \"Button\".\r\n\r\nIs there a known workaround for this?\r\n\r\ncl(props, context) {\r\n\t\tbindAll(this);\r\n\t\tComponent$1.call(this, props, context, BYPASS_HOOK);\r\n\t\tnewComponentHook.call(this, props, context);\r\n\t}"}}
{"actor":{"display_login":"marvinhagemeister"}}