{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/jsx/issues/113","repository_url":"https://api.github.com/repos/facebook/jsx","labels_url":"https://api.github.com/repos/facebook/jsx/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/facebook/jsx/issues/113/comments","events_url":"https://api.github.com/repos/facebook/jsx/issues/113/events","html_url":"https://github.com/facebook/jsx/issues/113","id":393931067,"node_id":"MDU6SXNzdWUzOTM5MzEwNjc=","number":113,"title":"Is scheme for JSXIdentifier correct?","user":{"login":"igoradamenko","id":6537798,"node_id":"MDQ6VXNlcjY1Mzc3OTg=","avatar_url":"https://avatars3.githubusercontent.com/u/6537798?v=4","gravatar_id":"","url":"https://api.github.com/users/igoradamenko","html_url":"https://github.com/igoradamenko","followers_url":"https://api.github.com/users/igoradamenko/followers","following_url":"https://api.github.com/users/igoradamenko/following{/other_user}","gists_url":"https://api.github.com/users/igoradamenko/gists{/gist_id}","starred_url":"https://api.github.com/users/igoradamenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igoradamenko/subscriptions","organizations_url":"https://api.github.com/users/igoradamenko/orgs","repos_url":"https://api.github.com/users/igoradamenko/repos","events_url":"https://api.github.com/users/igoradamenko/events{/privacy}","received_events_url":"https://api.github.com/users/igoradamenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-24T21:18:13Z","updated_at":"2018-12-24T22:04:40Z","closed_at":null,"author_association":"NONE","body":"```\r\nJSXIdentifier :\r\n- IdentifierStart\r\n- JSXIdentifier IdentifierPart\r\n- JSXIdentifier NO WHITESPACE OR COMMENT `-`\r\n```\r\n\r\nHey guys,\r\n\r\nI'm looking at the scheme above and can't understand one thing. Is it possible according to this spec to create a JSXElement with a JSXElementName such as `$-`?\r\n\r\nI'm asking because it looks pretty strange. It's impossible to create such function in JS, and also it's impossible to create such DOM element (I've tried to eval `document.createElement('$-')` and got an error). So, why is it possible to do such things in JSX?\r\n\r\nI understand that:\r\n\r\n> This specification does not attempt to comply with any XML or HTML specification. JSX is designed as an ECMAScript feature and the similarity to XML is only for familiarity.\r\n\r\nBut according to usual application of JSX (rendering JS objects to HTML markup) a possibility of things like that is confusing.\r\n\r\n(BTW, maybe this issue is related to #29)"},"comment":{"url":"https://api.github.com/repos/facebook/jsx/issues/comments/449773867","html_url":"https://github.com/facebook/jsx/issues/113#issuecomment-449773867","issue_url":"https://api.github.com/repos/facebook/jsx/issues/113","id":449773867,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTc3Mzg2Nw==","user":{"login":"dantman","id":53399,"node_id":"MDQ6VXNlcjUzMzk5","avatar_url":"https://avatars2.githubusercontent.com/u/53399?v=4","gravatar_id":"","url":"https://api.github.com/users/dantman","html_url":"https://github.com/dantman","followers_url":"https://api.github.com/users/dantman/followers","following_url":"https://api.github.com/users/dantman/following{/other_user}","gists_url":"https://api.github.com/users/dantman/gists{/gist_id}","starred_url":"https://api.github.com/users/dantman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantman/subscriptions","organizations_url":"https://api.github.com/users/dantman/orgs","repos_url":"https://api.github.com/users/dantman/repos","events_url":"https://api.github.com/users/dantman/events{/privacy}","received_events_url":"https://api.github.com/users/dantman/received_events","type":"User","site_admin":false},"created_at":"2018-12-24T22:04:40Z","updated_at":"2018-12-24T22:04:40Z","author_association":"NONE","body":"Yes it does appear that way, I expect that is a mistake. I have a feeling that this is actually supposed to be something like:\r\n\r\n> - JSXIdentifier **NO WHITESPACE OR COMMENT** `-` **NO WHITESPACE OR COMMENT** JSXIdentifier\r\n\r\nTo cover support for `<custom-element>`."}}
{"actor":{"display_login":"dantman"}}