{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4861","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4861/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4861/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4861/events","html_url":"https://github.com/Microsoft/TypeScript/issues/4861","id":107250050,"number":4861,"title":"Stateless function components for jsx","user":{"login":"Lenne231","id":2046557,"avatar_url":"https://avatars.githubusercontent.com/u/2046557?v=3","gravatar_id":"","url":"https://api.github.com/users/Lenne231","html_url":"https://github.com/Lenne231","followers_url":"https://api.github.com/users/Lenne231/followers","following_url":"https://api.github.com/users/Lenne231/following{/other_user}","gists_url":"https://api.github.com/users/Lenne231/gists{/gist_id}","starred_url":"https://api.github.com/users/Lenne231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lenne231/subscriptions","organizations_url":"https://api.github.com/users/Lenne231/orgs","repos_url":"https://api.github.com/users/Lenne231/repos","events_url":"https://api.github.com/users/Lenne231/events{/privacy}","received_events_url":"https://api.github.com/users/Lenne231/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Committed","name":"Committed","color":"009800"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Suggestion","name":"Suggestion","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-18T18:09:56Z","updated_at":"2015-10-20T10:52:50Z","closed_at":null,"body":"ReactJS gets stateless function components https://facebook.github.io/react/blog/2015/09/10/react-v0.14-rc1.html\r\n\r\nHow does it work with the current JSX support in TypeScript? It would be nice if something like this would work as well:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2046557/9967143/1757147e-5e41-11e5-8e79-39201e7d704b.png)"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/149522674","html_url":"https://github.com/Microsoft/TypeScript/issues/4861#issuecomment-149522674","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/4861","id":149522674,"user":{"login":"Lenne231","id":2046557,"avatar_url":"https://avatars.githubusercontent.com/u/2046557?v=3","gravatar_id":"","url":"https://api.github.com/users/Lenne231","html_url":"https://github.com/Lenne231","followers_url":"https://api.github.com/users/Lenne231/followers","following_url":"https://api.github.com/users/Lenne231/following{/other_user}","gists_url":"https://api.github.com/users/Lenne231/gists{/gist_id}","starred_url":"https://api.github.com/users/Lenne231/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lenne231/subscriptions","organizations_url":"https://api.github.com/users/Lenne231/orgs","repos_url":"https://api.github.com/users/Lenne231/repos","events_url":"https://api.github.com/users/Lenne231/events{/privacy}","received_events_url":"https://api.github.com/users/Lenne231/received_events","type":"User","site_admin":false},"created_at":"2015-10-20T10:52:50Z","updated_at":"2015-10-20T10:52:50Z","body":"There will probably be a third kind of component in the future, so it would be nice if the implementation is flexible enough to handle that:\r\n\r\nhttps://github.com/reactjs/react-future/blob/master/07%20-%20Returning%20State/04%20-%20Callback%20Chaining.js\r\n"}}