{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/2518","labels_url":"https://api.github.com/repos/babel/babel/issues/2518/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/2518/comments","events_url":"https://api.github.com/repos/babel/babel/issues/2518/events","html_url":"https://github.com/babel/babel/pull/2518","id":110798156,"number":2518,"title":"Get React.Element#$$typeof from an element instead of inlining it.","user":{"login":"STRML","id":1197375,"avatar_url":"https://avatars.githubusercontent.com/u/1197375?v=3","gravatar_id":"","url":"https://api.github.com/users/STRML","html_url":"https://github.com/STRML","followers_url":"https://api.github.com/users/STRML/followers","following_url":"https://api.github.com/users/STRML/following{/other_user}","gists_url":"https://api.github.com/users/STRML/gists{/gist_id}","starred_url":"https://api.github.com/users/STRML/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STRML/subscriptions","organizations_url":"https://api.github.com/users/STRML/orgs","repos_url":"https://api.github.com/users/STRML/repos","events_url":"https://api.github.com/users/STRML/events{/privacy}","received_events_url":"https://api.github.com/users/STRML/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-10T14:43:25Z","updated_at":"2015-10-11T06:26:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/babel/babel/pulls/2518","html_url":"https://github.com/babel/babel/pull/2518","diff_url":"https://github.com/babel/babel/pull/2518.diff","patch_url":"https://github.com/babel/babel/pull/2518.patch"},"body":"Fixes #2517; Symbol polyfill could break the element check."},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/147163511","html_url":"https://github.com/babel/babel/pull/2518#issuecomment-147163511","issue_url":"https://api.github.com/repos/babel/babel/issues/2518","id":147163511,"user":{"login":"sebmck","id":853712,"avatar_url":"https://avatars.githubusercontent.com/u/853712?v=3","gravatar_id":"","url":"https://api.github.com/users/sebmck","html_url":"https://github.com/sebmck","followers_url":"https://api.github.com/users/sebmck/followers","following_url":"https://api.github.com/users/sebmck/following{/other_user}","gists_url":"https://api.github.com/users/sebmck/gists{/gist_id}","starred_url":"https://api.github.com/users/sebmck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebmck/subscriptions","organizations_url":"https://api.github.com/users/sebmck/orgs","repos_url":"https://api.github.com/users/sebmck/repos","events_url":"https://api.github.com/users/sebmck/events{/privacy}","received_events_url":"https://api.github.com/users/sebmck/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T06:26:20Z","updated_at":"2015-10-11T06:26:20Z","body":"The current behaviour is pretty expected. The entire point of the runtime transformer is to make a separate isolated environment. Thus it should not be expected to work with another separate environment/context.\n\nOn Sun, Oct 11, 2015 at 6:22 AM, Samuel Reed <notifications@github.com>\nwrote:\n\n> I think this optimisation is really going to bite users if we simply require them to use the global polyfill - that would need to be a big bold caveat in the docs when using it. And worse, it'll look like it's working in development but will break in production.\n> Since it only works on JSX elements which assume the presence of React anyway, it almost seems safe to do `React.createElement('div').$$typeof`, except that this would break when using the optional helpers build. Not sure how to proceed.\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/babel/babel/pull/2518#issuecomment-147163417"}}