{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/jsx/issues/65","repository_url":"https://api.github.com/repos/facebook/jsx","labels_url":"https://api.github.com/repos/facebook/jsx/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jsx/issues/65/comments","events_url":"https://api.github.com/repos/facebook/jsx/issues/65/events","html_url":"https://github.com/facebook/jsx/issues/65","id":182628705,"number":65,"title":"JSX 2.0","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-12T20:41:15Z","updated_at":"2016-10-12T20:41:15Z","closed_at":null,"body":"We have accumulated a number of these nice-to-haves breaking changes that would be nice to incorporate. However, at this point JSX is a hugely adopted syntax in all kinds of tooling. Making breaking changes will churn that ecosystem significantly. I think it is probably only worth doing as a batch when the accumulated amount of changes makes it worth while.\r\n\r\nLet's call it JSX 2.0.\r\n\r\nWhat should go into it?\r\n\r\nSince a completely incompatible version of JSX has landed in [Reason](https://facebook.github.io/reason/) it would be good to find a way to unify them.\r\n\r\nI'd say at least we'd want:\r\n\r\n- #4 - Drop HTML encoding in text and attributes.\r\n- #21 - Computed attribute names.\r\n- #23 - Object short hand notation.\r\n- #25, #51, #64 - Drop the need for curlies around attribute values if they're a single literal, or parenthesis.\r\n\r\nSome more controversial/problematic ones that could plausibly be fixed:\r\n- #39 - Implicit do expressions.\r\n- #35 - Drop implicit text content and curlies as children.\r\n\r\nWhat else?"}}
{"actor":{"display_login":"sebmarkbage"}}