{"action":"opened","issue":{"url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/205","labels_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/205/labels{/name}","comments_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/205/comments","events_url":"https://api.github.com/repos/Hacker0x01/react-datepicker/issues/205/events","html_url":"https://github.com/Hacker0x01/react-datepicker/issues/205","id":111204069,"number":205,"title":"Add refs to your composite elements","user":{"login":"yaycmyk","id":570070,"avatar_url":"https://avatars.githubusercontent.com/u/570070?v=3","gravatar_id":"","url":"https://api.github.com/users/yaycmyk","html_url":"https://github.com/yaycmyk","followers_url":"https://api.github.com/users/yaycmyk/followers","following_url":"https://api.github.com/users/yaycmyk/following{/other_user}","gists_url":"https://api.github.com/users/yaycmyk/gists{/gist_id}","starred_url":"https://api.github.com/users/yaycmyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaycmyk/subscriptions","organizations_url":"https://api.github.com/users/yaycmyk/orgs","repos_url":"https://api.github.com/users/yaycmyk/repos","events_url":"https://api.github.com/users/yaycmyk/events{/privacy}","received_events_url":"https://api.github.com/users/yaycmyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-13T15:23:29Z","updated_at":"2015-10-13T15:23:29Z","closed_at":null,"body":"You have a nice network of refs set up within each composite, but no way to access the composite itself from outside the tree.\r\n\r\nFor example, if I wanted to focus the input I can't. It would be nice to be able to do this:\r\n\r\n`React.findDOMNode(this.refs.datepicker.refs.dateinput.refs.input).focus()`\r\n\r\nA little ugly, definitely. But if you decide to change classes or the type of element being rendered later my code won't break."}}