{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react/issues/4939","labels_url":"https://api.github.com/repos/facebook/react/issues/4939/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/4939/comments","events_url":"https://api.github.com/repos/facebook/react/issues/4939/events","html_url":"https://github.com/facebook/react/issues/4939","id":107774485,"number":4939,"title":"Warn if ref attached to stateless component","user":{"login":"jimfb","id":9595985,"avatar_url":"https://avatars.githubusercontent.com/u/9595985?v=3","gravatar_id":"","url":"https://api.github.com/users/jimfb","html_url":"https://github.com/jimfb","followers_url":"https://api.github.com/users/jimfb/followers","following_url":"https://api.github.com/users/jimfb/following{/other_user}","gists_url":"https://api.github.com/users/jimfb/gists{/gist_id}","starred_url":"https://api.github.com/users/jimfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimfb/subscriptions","organizations_url":"https://api.github.com/users/jimfb/orgs","repos_url":"https://api.github.com/users/jimfb/repos","events_url":"https://api.github.com/users/jimfb/events{/privacy}","received_events_url":"https://api.github.com/users/jimfb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react/labels/good%20first%20bug","name":"good first bug","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-22T18:37:06Z","updated_at":"2015-09-22T19:24:41Z","closed_at":null,"body":"Warn if ref attached to stateless component.  For background, see: https://github.com/facebook/react/issues/4936"},"comment":{"url":"https://api.github.com/repos/facebook/react/issues/comments/142391860","html_url":"https://github.com/facebook/react/issues/4939#issuecomment-142391860","issue_url":"https://api.github.com/repos/facebook/react/issues/4939","id":142391860,"user":{"login":"bspaulding","id":6833,"avatar_url":"https://avatars.githubusercontent.com/u/6833?v=3","gravatar_id":"","url":"https://api.github.com/users/bspaulding","html_url":"https://github.com/bspaulding","followers_url":"https://api.github.com/users/bspaulding/followers","following_url":"https://api.github.com/users/bspaulding/following{/other_user}","gists_url":"https://api.github.com/users/bspaulding/gists{/gist_id}","starred_url":"https://api.github.com/users/bspaulding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bspaulding/subscriptions","organizations_url":"https://api.github.com/users/bspaulding/orgs","repos_url":"https://api.github.com/users/bspaulding/repos","events_url":"https://api.github.com/users/bspaulding/events{/privacy}","received_events_url":"https://api.github.com/users/bspaulding/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T19:24:41Z","updated_at":"2015-09-22T19:24:41Z","body":"It looks like this case already throws:\r\n\r\nhttps://github.com/facebook/react/blob/master/src/renderers/shared/reconciler/__tests__/ReactStatelessComponent-test.js#L116-L126\r\n\r\nhttps://github.com/facebook/react/blob/master/src/renderers/shared/reconciler/ReactCompositeComponent.js#L810\r\n\r\nSorry if I'm just being a newb. Am I looking at the totally wrong thing?"}}