{"action":"created","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/582","labels_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/582/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/582/events","html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/582","id":71294981,"number":582,"title":"Convert Input to es6 class","user":{"login":"aabenoja","id":3229671,"avatar_url":"https://avatars.githubusercontent.com/u/3229671?v=3","gravatar_id":"","url":"https://api.github.com/users/aabenoja","html_url":"https://github.com/aabenoja","followers_url":"https://api.github.com/users/aabenoja/followers","following_url":"https://api.github.com/users/aabenoja/following{/other_user}","gists_url":"https://api.github.com/users/aabenoja/gists{/gist_id}","starred_url":"https://api.github.com/users/aabenoja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabenoja/subscriptions","organizations_url":"https://api.github.com/users/aabenoja/orgs","repos_url":"https://api.github.com/users/aabenoja/repos","events_url":"https://api.github.com/users/aabenoja/events{/privacy}","received_events_url":"https://api.github.com/users/aabenoja/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-27T14:10:08Z","updated_at":"2015-04-28T04:34:56Z","closed_at":"2015-04-27T18:08:53Z","pull_request":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/pulls/582","html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/582","diff_url":"https://github.com/react-bootstrap/react-bootstrap/pull/582.diff","patch_url":"https://github.com/react-bootstrap/react-bootstrap/pull/582.patch"},"body":"react-bootstrap/react-bootstrap#342\r\n\r\nBy converting over to use an es6 class we could have future components such as `Submit` and `RadioGroup` extend the current implementation and override a some of the provided hooks.\r\n\r\nHooks provided:\r\n* `renderInput()`\r\n* `renderFormGroup()` - I *really* dislike that `if type=submit` check, so I planned to use this hook in the `Submit` implementation.\r\n* `renderChildren()` - This could potentially be overriden in the `Checkbox` and `Radio` implementations so we could ditch that `isCheckboxOrRadio()` check.\r\n\r\nThere might be a few others that would be useful to override that I haven't mentioned in the list. This could be a little more refined."},"comment":{"url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/comments/96906380","html_url":"https://github.com/react-bootstrap/react-bootstrap/pull/582#issuecomment-96906380","issue_url":"https://api.github.com/repos/react-bootstrap/react-bootstrap/issues/582","id":96906380,"user":{"login":"dozoisch","id":4422516,"avatar_url":"https://avatars.githubusercontent.com/u/4422516?v=3","gravatar_id":"","url":"https://api.github.com/users/dozoisch","html_url":"https://github.com/dozoisch","followers_url":"https://api.github.com/users/dozoisch/followers","following_url":"https://api.github.com/users/dozoisch/following{/other_user}","gists_url":"https://api.github.com/users/dozoisch/gists{/gist_id}","starred_url":"https://api.github.com/users/dozoisch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dozoisch/subscriptions","organizations_url":"https://api.github.com/users/dozoisch/orgs","repos_url":"https://api.github.com/users/dozoisch/repos","events_url":"https://api.github.com/users/dozoisch/events{/privacy}","received_events_url":"https://api.github.com/users/dozoisch/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T04:34:56Z","updated_at":"2015-04-28T04:34:56Z","body":"Else than that looks good!"}}