{"action":"created","issue":{"url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/71","repository_url":"https://api.github.com/repos/onfido/onfido-sdk-ui","labels_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/71/comments","events_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/71/events","html_url":"https://github.com/onfido/onfido-sdk-ui/pull/71","id":181385334,"number":71,"title":"Fix/component lifecycle issue","user":{"login":"rfreitas","id":651348,"avatar_url":"https://avatars.githubusercontent.com/u/651348?v=3","gravatar_id":"","url":"https://api.github.com/users/rfreitas","html_url":"https://github.com/rfreitas","followers_url":"https://api.github.com/users/rfreitas/followers","following_url":"https://api.github.com/users/rfreitas/following{/other_user}","gists_url":"https://api.github.com/users/rfreitas/gists{/gist_id}","starred_url":"https://api.github.com/users/rfreitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfreitas/subscriptions","organizations_url":"https://api.github.com/users/rfreitas/orgs","repos_url":"https://api.github.com/users/rfreitas/repos","events_url":"https://api.github.com/users/rfreitas/events{/privacy}","received_events_url":"https://api.github.com/users/rfreitas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-06T11:01:41Z","updated_at":"2016-10-06T11:05:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/onfido/onfido-sdk-ui/pulls/71","html_url":"https://github.com/onfido/onfido-sdk-ui/pull/71","diff_url":"https://github.com/onfido/onfido-sdk-ui/pull/71.diff","patch_url":"https://github.com/onfido/onfido-sdk-ui/pull/71.patch"},"body":"This a fix for the bug #54.\r\n\r\nIt only solves the lifecycle issues for `Camera` and `Capture`.\r\n\r\nThe issue is due to `preact` not handling nested pure components well, therefore the fix is to impurify the necessary components.\r\nThis is a hack/workaround and more general fix should be found."},"comment":{"url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/comments/251931979","html_url":"https://github.com/onfido/onfido-sdk-ui/pull/71#issuecomment-251931979","issue_url":"https://api.github.com/repos/onfido/onfido-sdk-ui/issues/71","id":251931979,"user":{"login":"rfreitas","id":651348,"avatar_url":"https://avatars.githubusercontent.com/u/651348?v=3","gravatar_id":"","url":"https://api.github.com/users/rfreitas","html_url":"https://github.com/rfreitas","followers_url":"https://api.github.com/users/rfreitas/followers","following_url":"https://api.github.com/users/rfreitas/following{/other_user}","gists_url":"https://api.github.com/users/rfreitas/gists{/gist_id}","starred_url":"https://api.github.com/users/rfreitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfreitas/subscriptions","organizations_url":"https://api.github.com/users/rfreitas/orgs","repos_url":"https://api.github.com/users/rfreitas/repos","events_url":"https://api.github.com/users/rfreitas/events{/privacy}","received_events_url":"https://api.github.com/users/rfreitas/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T11:05:12Z","updated_at":"2016-10-06T11:05:12Z","body":"Travis automatic deployment: https://71.pr.onfido-sdk-ui.onfido.surge.sh"}}
{"actor":{"display_login":"rfreitas"}}