{"action":"created","issue":{"url":"https://api.github.com/repos/developit/preact/issues/819","repository_url":"https://api.github.com/repos/developit/preact","labels_url":"https://api.github.com/repos/developit/preact/issues/819/labels{/name}","comments_url":"https://api.github.com/repos/developit/preact/issues/819/comments","events_url":"https://api.github.com/repos/developit/preact/issues/819/events","html_url":"https://github.com/developit/preact/pull/819","id":251464876,"node_id":"MDExOlB1bGxSZXF1ZXN0MTM2NjI5OTY3","number":819,"title":"Add support for componentDidCatch Component method","user":{"login":"rpetrich","id":142515,"node_id":"MDQ6VXNlcjE0MjUxNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/142515?v=4","gravatar_id":"","url":"https://api.github.com/users/rpetrich","html_url":"https://github.com/rpetrich","followers_url":"https://api.github.com/users/rpetrich/followers","following_url":"https://api.github.com/users/rpetrich/following{/other_user}","gists_url":"https://api.github.com/users/rpetrich/gists{/gist_id}","starred_url":"https://api.github.com/users/rpetrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpetrich/subscriptions","organizations_url":"https://api.github.com/users/rpetrich/orgs","repos_url":"https://api.github.com/users/rpetrich/repos","events_url":"https://api.github.com/users/rpetrich/events{/privacy}","received_events_url":"https://api.github.com/users/rpetrich/received_events","type":"User","site_admin":false},"labels":[{"id":258981561,"node_id":"MDU6TGFiZWwyNTg5ODE1NjE=","url":"https://api.github.com/repos/developit/preact/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":47,"created_at":"2017-08-20T04:03:30Z","updated_at":"2018-11-02T17:48:31Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/developit/preact/pulls/819","html_url":"https://github.com/developit/preact/pull/819","diff_url":"https://github.com/developit/preact/pull/819.diff","patch_url":"https://github.com/developit/preact/pull/819.patch"},"body":"Allow components to catch errors that occur during child components' constructors or lifecycle methods. For simplicity's sake does not pass a second \"info\" argument like React does. If no component catches and handles a thrown exception, DOM will be left in an inconsistent state as it is in react 8.2.1"},"comment":{"url":"https://api.github.com/repos/developit/preact/issues/comments/435458161","html_url":"https://github.com/developit/preact/pull/819#issuecomment-435458161","issue_url":"https://api.github.com/repos/developit/preact/issues/819","id":435458161,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTQ1ODE2MQ==","user":{"login":"johnhaitas","id":967276,"node_id":"MDQ6VXNlcjk2NzI3Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/967276?v=4","gravatar_id":"","url":"https://api.github.com/users/johnhaitas","html_url":"https://github.com/johnhaitas","followers_url":"https://api.github.com/users/johnhaitas/followers","following_url":"https://api.github.com/users/johnhaitas/following{/other_user}","gists_url":"https://api.github.com/users/johnhaitas/gists{/gist_id}","starred_url":"https://api.github.com/users/johnhaitas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnhaitas/subscriptions","organizations_url":"https://api.github.com/users/johnhaitas/orgs","repos_url":"https://api.github.com/users/johnhaitas/repos","events_url":"https://api.github.com/users/johnhaitas/events{/privacy}","received_events_url":"https://api.github.com/users/johnhaitas/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T17:48:31Z","updated_at":"2018-11-02T17:48:31Z","author_association":"NONE","body":"What about support for `static getDerivedStateFromError(error)`? https://reactjs.org/docs/react-component.html#static-getderivedstatefromerror "}}
{"actor":{"display_login":"johnhaitas"}}