{"action":"closed","issue":{"url":"https://api.github.com/repos/narqo/react-islands/issues/63","repository_url":"https://api.github.com/repos/narqo/react-islands","labels_url":"https://api.github.com/repos/narqo/react-islands/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/narqo/react-islands/issues/63/comments","events_url":"https://api.github.com/repos/narqo/react-islands/issues/63/events","html_url":"https://github.com/narqo/react-islands/issues/63","id":159487300,"number":63,"title":"Checkbox, Radio: Get rid of internal \"checked\" state","user":{"login":"narqo","id":88045,"avatar_url":"https://avatars.githubusercontent.com/u/88045?v=3","gravatar_id":"","url":"https://api.github.com/users/narqo","html_url":"https://github.com/narqo","followers_url":"https://api.github.com/users/narqo/followers","following_url":"https://api.github.com/users/narqo/following{/other_user}","gists_url":"https://api.github.com/users/narqo/gists{/gist_id}","starred_url":"https://api.github.com/users/narqo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narqo/subscriptions","organizations_url":"https://api.github.com/users/narqo/orgs","repos_url":"https://api.github.com/users/narqo/repos","events_url":"https://api.github.com/users/narqo/events{/privacy}","received_events_url":"https://api.github.com/users/narqo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/narqo/react-islands/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-09T19:21:21Z","updated_at":"2016-06-29T15:34:49Z","closed_at":"2016-06-29T15:34:49Z","body":"It feels weird that `Checkbox`, `Radio` and other components have an internal `checked` state which is synchronised with props and the DOM attribute. The standard approach for React is to make components stateless if possible.\r\n\r\nWe can think if we can get rid of `checked` and `value` synchronisation. ~~Components could work as \"controlled\" if both `checked` and `onChange` props passed and as \"uncontrolled\" if only `checked` presents.~~\r\n\r\n- [x] Checkbox\r\n- [x] CheckboxGroup\r\n- [x] Radio\r\n- [x] RadioGroup\r\n- [x] TextInput\r\n- [x] TextArea"}}
{"actor":{"display_login":"narqo"}}