{"action":"created","issue":{"url":"https://api.github.com/repos/babel/ember-cli-babel/issues/35","labels_url":"https://api.github.com/repos/babel/ember-cli-babel/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/babel/ember-cli-babel/issues/35/comments","events_url":"https://api.github.com/repos/babel/ember-cli-babel/issues/35/events","html_url":"https://github.com/babel/ember-cli-babel/issues/35","id":65072356,"number":35,"title":"Move non-standard syntax behind flag","user":{"login":"joliss","id":524783,"avatar_url":"https://avatars.githubusercontent.com/u/524783?v=3","gravatar_id":"","url":"https://api.github.com/users/joliss","html_url":"https://github.com/joliss","followers_url":"https://api.github.com/users/joliss/followers","following_url":"https://api.github.com/users/joliss/following{/other_user}","gists_url":"https://api.github.com/users/joliss/gists{/gist_id}","starred_url":"https://api.github.com/users/joliss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joliss/subscriptions","organizations_url":"https://api.github.com/users/joliss/orgs","repos_url":"https://api.github.com/users/joliss/repos","events_url":"https://api.github.com/users/joliss/events{/privacy}","received_events_url":"https://api.github.com/users/joliss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-29T15:51:21Z","updated_at":"2015-03-29T19:33:45Z","closed_at":"2015-03-29T19:33:45Z","body":"At the moment, we treat `<foo />` as valid JavaScript and transpile it into `React.createElement(\"foo\", null);`. This happens with Babel 4.7.16 as well as the 5.0.0-beta3.\r\n\r\nWe should probably disable all non-standard syntax, as well syntax that is too early in the standardization process to be considered stable for our purposes. Perhaps we can add flags, so that people can opt-in if they want to test-drive experimental syntax."},"comment":{"url":"https://api.github.com/repos/babel/ember-cli-babel/issues/comments/87461181","html_url":"https://github.com/babel/ember-cli-babel/issues/35#issuecomment-87461181","issue_url":"https://api.github.com/repos/babel/ember-cli-babel/issues/35","id":87461181,"user":{"login":"stefanpenner","id":1377,"avatar_url":"https://avatars.githubusercontent.com/u/1377?v=3","gravatar_id":"","url":"https://api.github.com/users/stefanpenner","html_url":"https://github.com/stefanpenner","followers_url":"https://api.github.com/users/stefanpenner/followers","following_url":"https://api.github.com/users/stefanpenner/following{/other_user}","gists_url":"https://api.github.com/users/stefanpenner/gists{/gist_id}","starred_url":"https://api.github.com/users/stefanpenner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefanpenner/subscriptions","organizations_url":"https://api.github.com/users/stefanpenner/orgs","repos_url":"https://api.github.com/users/stefanpenner/repos","events_url":"https://api.github.com/users/stefanpenner/events{/privacy}","received_events_url":"https://api.github.com/users/stefanpenner/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T19:33:45Z","updated_at":"2015-03-29T19:33:45Z","body":"> We should probably disable all non-standard syntax, as well syntax that is too early in the standardization process to be considered stable for our purposes. Perhaps we can add flags, so that people can opt-in if they want to test-drive experimental syntax.\r\n\r\nthis would be a good default for babel"}}