{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jsx/issues/39","labels_url":"https://api.github.com/repos/facebook/jsx/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jsx/issues/39/comments","events_url":"https://api.github.com/repos/facebook/jsx/issues/39/events","html_url":"https://github.com/facebook/jsx/issues/39","id":94372844,"number":39,"title":"Proposal: implicitly use do-expression for any JSX expr container","user":{"login":"RReverser","id":557590,"avatar_url":"https://avatars.githubusercontent.com/u/557590?v=3","gravatar_id":"","url":"https://api.github.com/users/RReverser","html_url":"https://github.com/RReverser","followers_url":"https://api.github.com/users/RReverser/followers","following_url":"https://api.github.com/users/RReverser/following{/other_user}","gists_url":"https://api.github.com/users/RReverser/gists{/gist_id}","starred_url":"https://api.github.com/users/RReverser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RReverser/subscriptions","organizations_url":"https://api.github.com/users/RReverser/orgs","repos_url":"https://api.github.com/users/RReverser/repos","events_url":"https://api.github.com/users/RReverser/events{/privacy}","received_events_url":"https://api.github.com/users/RReverser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-10T19:16:25Z","updated_at":"2015-09-10T03:57:08Z","closed_at":null,"body":"I just saw this tweet: https://twitter.com/vslinko/status/619581969903550464\r\n\r\nAnd wondering if there are any downsides or backward incompatibilities to enabling do-expression over any JSX expression container so that `if` and other statements could be used directly inside of braces? My understanding is that for regular expression `do { ... }` will preserve compatibility and thus wrapping will just enhance contents to support statements as well.\r\n\r\n@vslinko @sebmarkbage @jeffmo @wycats @sebmck "},"comment":{"url":"https://api.github.com/repos/facebook/jsx/issues/comments/139109960","html_url":"https://github.com/facebook/jsx/issues/39#issuecomment-139109960","issue_url":"https://api.github.com/repos/facebook/jsx/issues/39","id":139109960,"user":{"login":"sebmarkbage","id":63648,"avatar_url":"https://avatars.githubusercontent.com/u/63648?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmarkbage","html_url":"https://github.com/sebmarkbage","followers_url":"https://api.github.com/users/sebmarkbage/followers","following_url":"https://api.github.com/users/sebmarkbage/following{/other_user}","gists_url":"https://api.github.com/users/sebmarkbage/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmarkbage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmarkbage/subscriptions","organizations_url":"https://api.github.com/users/sebmarkbage/orgs","repos_url":"https://api.github.com/users/sebmarkbage/repos","events_url":"https://api.github.com/users/sebmarkbage/events{/privacy}","received_events_url":"https://api.github.com/users/sebmarkbage/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T03:57:08Z","updated_at":"2015-09-10T03:57:08Z","body":"What does `{x:1}` mean in a do expression body? Is it a block with a label or an object literal? If it's a block, it is unfortunate that `{{ }}` wouldn't work to create an object. You would have to use `{({ })}`."}}