{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/6866","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/6866/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/6866/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/6866/events","html_url":"https://github.com/facebook/flow/issues/6866","id":358090014,"node_id":"MDU6SXNzdWUzNTgwOTAwMTQ=","number":6866,"title":"Where is React$ElementRef defined?","user":{"login":"skidding","id":250750,"node_id":"MDQ6VXNlcjI1MDc1MA==","avatar_url":"https://avatars0.githubusercontent.com/u/250750?v=4","gravatar_id":"","url":"https://api.github.com/users/skidding","html_url":"https://github.com/skidding","followers_url":"https://api.github.com/users/skidding/followers","following_url":"https://api.github.com/users/skidding/following{/other_user}","gists_url":"https://api.github.com/users/skidding/gists{/gist_id}","starred_url":"https://api.github.com/users/skidding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skidding/subscriptions","organizations_url":"https://api.github.com/users/skidding/orgs","repos_url":"https://api.github.com/users/skidding/repos","events_url":"https://api.github.com/users/skidding/events{/privacy}","received_events_url":"https://api.github.com/users/skidding/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-07T14:29:14Z","updated_at":"2018-09-07T18:02:01Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI'm trying to understand the React types in depth, but I don't understand where `React$ElementRef` is defined.\r\n\r\nUnlike the other types, it is only referenced inside [lib/react.js](https://github.com/facebook/flow/blob/f68b89a5012bd995ab3509e7a41b7325045c4045/lib/react.js), but its definition must be elsewhere.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/419519785","html_url":"https://github.com/facebook/flow/issues/6866#issuecomment-419519785","issue_url":"https://api.github.com/repos/facebook/flow/issues/6866","id":419519785,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTUxOTc4NQ==","user":{"login":"wchargin","id":4317806,"node_id":"MDQ6VXNlcjQzMTc4MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/4317806?v=4","gravatar_id":"","url":"https://api.github.com/users/wchargin","html_url":"https://github.com/wchargin","followers_url":"https://api.github.com/users/wchargin/followers","following_url":"https://api.github.com/users/wchargin/following{/other_user}","gists_url":"https://api.github.com/users/wchargin/gists{/gist_id}","starred_url":"https://api.github.com/users/wchargin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wchargin/subscriptions","organizations_url":"https://api.github.com/users/wchargin/orgs","repos_url":"https://api.github.com/users/wchargin/repos","events_url":"https://api.github.com/users/wchargin/events{/privacy}","received_events_url":"https://api.github.com/users/wchargin/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T18:02:01Z","updated_at":"2018-09-07T18:02:01Z","author_association":"CONTRIBUTOR","body":"It is a native type, defined in the OCaml code for Flow:\r\n\r\n<https://github.com/facebook/flow/blob/b367a032d176ce1bcd976c5d0d70bbd778380a60/src/typing/type.ml#L998>\r\n\r\n<https://github.com/facebook/flow/blob/b367a032d176ce1bcd976c5d0d70bbd778380a60/src/typing/ty_normalizer.ml#L1331>\r\n\r\nYour best reference for understanding the React types in depth is\r\nprobably the relevant Flow documentation page:\r\n\r\n<https://flow.org/en/docs/react/types/#toc-react-elementref>\r\n"}}
{"actor":{"display_login":"wchargin"}}