{"action":"reopened","issue":{"url":"https://api.github.com/repos/sonaye/siaq/issues/6","repository_url":"https://api.github.com/repos/sonaye/siaq","labels_url":"https://api.github.com/repos/sonaye/siaq/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/sonaye/siaq/issues/6/comments","events_url":"https://api.github.com/repos/sonaye/siaq/issues/6/events","html_url":"https://github.com/sonaye/siaq/issues/6","id":333523740,"node_id":"MDU6SXNzdWUzMzM1MjM3NDA=","number":6,"title":"setState with a promise","user":{"login":"sonaye","id":23000873,"node_id":"MDQ6VXNlcjIzMDAwODcz","avatar_url":"https://avatars1.githubusercontent.com/u/23000873?v=4","gravatar_id":"","url":"https://api.github.com/users/sonaye","html_url":"https://github.com/sonaye","followers_url":"https://api.github.com/users/sonaye/followers","following_url":"https://api.github.com/users/sonaye/following{/other_user}","gists_url":"https://api.github.com/users/sonaye/gists{/gist_id}","starred_url":"https://api.github.com/users/sonaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonaye/subscriptions","organizations_url":"https://api.github.com/users/sonaye/orgs","repos_url":"https://api.github.com/users/sonaye/repos","events_url":"https://api.github.com/users/sonaye/events{/privacy}","received_events_url":"https://api.github.com/users/sonaye/received_events","type":"User","site_admin":false},"labels":[{"id":959876787,"node_id":"MDU6TGFiZWw5NTk4NzY3ODc=","url":"https://api.github.com/repos/sonaye/siaq/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":959876792,"node_id":"MDU6TGFiZWw5NTk4NzY3OTI=","url":"https://api.github.com/repos/sonaye/siaq/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-19T05:27:27Z","updated_at":"2018-06-19T18:16:48Z","closed_at":null,"author_association":"OWNER","body":"```js\r\n// setState can return a promise\r\nawait this.setState({ new: 'state' });\r\nalert('Peekaboo!');\r\n\r\n// or as usual\r\nthis.setState({ new: 'state' }, () => alert('Peekaboo!'));\r\n```"}}
{"actor":{"display_login":"sonaye"}}