{"action":"opened","issue":{"url":"https://api.github.com/repos/ClearGDPR/ClearGDPR/issues/182","repository_url":"https://api.github.com/repos/ClearGDPR/ClearGDPR","labels_url":"https://api.github.com/repos/ClearGDPR/ClearGDPR/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/ClearGDPR/ClearGDPR/issues/182/comments","events_url":"https://api.github.com/repos/ClearGDPR/ClearGDPR/issues/182/events","html_url":"https://github.com/ClearGDPR/ClearGDPR/issues/182","id":334458550,"node_id":"MDU6SXNzdWUzMzQ0NTg1NTA=","number":182,"title":"Form component","user":{"login":"fjcero","id":1077188,"node_id":"MDQ6VXNlcjEwNzcxODg=","avatar_url":"https://avatars3.githubusercontent.com/u/1077188?v=4","gravatar_id":"","url":"https://api.github.com/users/fjcero","html_url":"https://github.com/fjcero","followers_url":"https://api.github.com/users/fjcero/followers","following_url":"https://api.github.com/users/fjcero/following{/other_user}","gists_url":"https://api.github.com/users/fjcero/gists{/gist_id}","starred_url":"https://api.github.com/users/fjcero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjcero/subscriptions","organizations_url":"https://api.github.com/users/fjcero/orgs","repos_url":"https://api.github.com/users/fjcero/repos","events_url":"https://api.github.com/users/fjcero/events{/privacy}","received_events_url":"https://api.github.com/users/fjcero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T11:50:19Z","updated_at":"2018-06-21T11:50:19Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"`react-form` is a way to abstract form control, is not hardly opinionated but it needs more work to allow reusable components and facilitate implementation.\r\n\r\nSome of the key points are:\r\n\r\n- Handle Errors, for now global, but will be nicer to allow inline errors as well\r\n- Styling should be applied by default\r\n- A schema could be specified (probably a combination with `react-jsonschema-form`)\r\n\r\nSome interesting reads on how do forms without having to use redux\r\n- https://moduscreate.com/blog/reactjs-form-validation-approaches/\r\n- https://medium.com/javascript-inside/some-thoughts-on-forms-in-react-9ca2d9078c20\r\n\r\nLibs proposed/used:\r\n- https://github.com/mozilla-services/react-jsonschema-form\r\n- https://github.com/react-tools/react-form\r\n"}}
{"actor":{"display_login":"fjcero"}}