{"action":"created","issue":{"url":"https://api.github.com/repos/reactjs/react-future/issues/2","labels_url":"https://api.github.com/repos/reactjs/react-future/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/reactjs/react-future/issues/2/comments","events_url":"https://api.github.com/repos/reactjs/react-future/issues/2/events","html_url":"https://github.com/reactjs/react-future/issues/2","id":32939356,"number":2,"title":"Inputs aren't generic across different backends","user":{"login":"spicyj","id":6820,"avatar_url":"https://avatars.githubusercontent.com/u/6820?v=3","gravatar_id":"","url":"https://api.github.com/users/spicyj","html_url":"https://github.com/spicyj","followers_url":"https://api.github.com/users/spicyj/followers","following_url":"https://api.github.com/users/spicyj/following{/other_user}","gists_url":"https://api.github.com/users/spicyj/gists{/gist_id}","starred_url":"https://api.github.com/users/spicyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spicyj/subscriptions","organizations_url":"https://api.github.com/users/spicyj/orgs","repos_url":"https://api.github.com/users/spicyj/repos","events_url":"https://api.github.com/users/spicyj/events{/privacy}","received_events_url":"https://api.github.com/users/spicyj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-05-06T22:28:12Z","updated_at":"2015-03-04T22:16:43Z","closed_at":null,"body":"The current recommended way to get the value of an input is\r\n\r\n```\r\nthis.refs.myInput.getDOMNode().value\r\n```\r\n\r\nor in an event handler,\r\n\r\n```\r\ne.target.value\r\n```\r\n\r\nBoth of these are DOM-specific. Ideally this wouldn't involve talking to the DOM directly – the current way makes the React abstraction leakier and prevents the same component API from being supported against multiple backends.\r\n\r\nWe could make something like `this.refs.myInput.getValue()` work, but perhaps there's something cleaner we can build?"},"comment":{"url":"https://api.github.com/repos/reactjs/react-future/issues/comments/77262065","html_url":"https://github.com/reactjs/react-future/issues/2#issuecomment-77262065","issue_url":"https://api.github.com/repos/reactjs/react-future/issues/2","id":77262065,"user":{"login":"daedelus-j","id":796926,"avatar_url":"https://avatars.githubusercontent.com/u/796926?v=3","gravatar_id":"","url":"https://api.github.com/users/daedelus-j","html_url":"https://github.com/daedelus-j","followers_url":"https://api.github.com/users/daedelus-j/followers","following_url":"https://api.github.com/users/daedelus-j/following{/other_user}","gists_url":"https://api.github.com/users/daedelus-j/gists{/gist_id}","starred_url":"https://api.github.com/users/daedelus-j/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daedelus-j/subscriptions","organizations_url":"https://api.github.com/users/daedelus-j/orgs","repos_url":"https://api.github.com/users/daedelus-j/repos","events_url":"https://api.github.com/users/daedelus-j/events{/privacy}","received_events_url":"https://api.github.com/users/daedelus-j/received_events","type":"User","site_admin":false},"created_at":"2015-03-04T22:16:43Z","updated_at":"2015-03-04T22:16:43Z","body":":+1: "}}