{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/4141","labels_url":"https://api.github.com/repos/facebook/react/issues/4141/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/4141/comments","events_url":"https://api.github.com/repos/facebook/react/issues/4141/events","html_url":"https://github.com/facebook/react/issues/4141","id":88646575,"number":4141,"title":"IIFE mention in \"If-Else in JSX\"?","user":{"login":"lukehorvat","id":1034878,"avatar_url":"https://avatars.githubusercontent.com/u/1034878?v=3","gravatar_id":"","url":"https://api.github.com/users/lukehorvat","html_url":"https://github.com/lukehorvat","followers_url":"https://api.github.com/users/lukehorvat/followers","following_url":"https://api.github.com/users/lukehorvat/following{/other_user}","gists_url":"https://api.github.com/users/lukehorvat/gists{/gist_id}","starred_url":"https://api.github.com/users/lukehorvat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukehorvat/subscriptions","organizations_url":"https://api.github.com/users/lukehorvat/orgs","repos_url":"https://api.github.com/users/lukehorvat/repos","events_url":"https://api.github.com/users/lukehorvat/events{/privacy}","received_events_url":"https://api.github.com/users/lukehorvat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react/labels/Component:%20Documentation%20&%20Website","name":"Component: Documentation & Website","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-16T07:39:15Z","updated_at":"2015-06-16T09:22:39Z","closed_at":null,"body":"The `If-Else in JSX` page only offers up ternary expressions as a solution to conditional logic inside JSX. But perhaps IIFEs should also get a mention?\r\n\r\nRealizing I could do IIFEs inside JSX helped \"flesh out\" my mental model of how JSX actually works, so I suspect it would aide others in the same way as well. Furthermore, with the advent of ES6 arrow functions, they aren't too verbose either.\r\n\r\nA code example utilizing an IIFE might be overkill, but at least a passing mention would be nice."},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/112360089","html_url":"https://github.com/facebook/react/issues/4141#issuecomment-112360089","issue_url":"https://api.github.com/repos/facebook/react/issues/4141","id":112360089,"user":{"login":"syranide","id":1714255,"avatar_url":"https://avatars.githubusercontent.com/u/1714255?v=3","gravatar_id":"","url":"https://api.github.com/users/syranide","html_url":"https://github.com/syranide","followers_url":"https://api.github.com/users/syranide/followers","following_url":"https://api.github.com/users/syranide/following{/other_user}","gists_url":"https://api.github.com/users/syranide/gists{/gist_id}","starred_url":"https://api.github.com/users/syranide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syranide/subscriptions","organizations_url":"https://api.github.com/users/syranide/orgs","repos_url":"https://api.github.com/users/syranide/repos","events_url":"https://api.github.com/users/syranide/events{/privacy}","received_events_url":"https://api.github.com/users/syranide/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T09:22:39Z","updated_at":"2015-06-16T09:22:39Z","body":"Related reactjs/react-future/issues/35"}}