{"action":"created","issue":{"url":"https://api.github.com/repos/babel/website/issues/1351","repository_url":"https://api.github.com/repos/babel/website","labels_url":"https://api.github.com/repos/babel/website/issues/1351/labels{/name}","comments_url":"https://api.github.com/repos/babel/website/issues/1351/comments","events_url":"https://api.github.com/repos/babel/website/issues/1351/events","html_url":"https://github.com/babel/website/issues/1351","id":253387996,"number":1351,"title":"Add error boundaries [in-progress by @kaushlakers]","user":{"login":"bvaughn","id":29597,"avatar_url":"https://avatars0.githubusercontent.com/u/29597?v=4","gravatar_id":"","url":"https://api.github.com/users/bvaughn","html_url":"https://github.com/bvaughn","followers_url":"https://api.github.com/users/bvaughn/followers","following_url":"https://api.github.com/users/bvaughn/following{/other_user}","gists_url":"https://api.github.com/users/bvaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/bvaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvaughn/subscriptions","organizations_url":"https://api.github.com/users/bvaughn/orgs","repos_url":"https://api.github.com/users/bvaughn/repos","events_url":"https://api.github.com/users/bvaughn/events{/privacy}","received_events_url":"https://api.github.com/users/bvaughn/received_events","type":"User","site_admin":false},"labels":[{"id":146066535,"url":"https://api.github.com/repos/babel/website/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":682330249,"url":"https://api.github.com/repos/babel/website/labels/in-progress","name":"in-progress","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/babel/website/milestones/1","html_url":"https://github.com/babel/website/milestone/1","labels_url":"https://api.github.com/repos/babel/website/milestones/1/labels","id":2683164,"number":1,"title":"New REPL","description":"","creator":{"login":"hzoo","id":588473,"avatar_url":"https://avatars1.githubusercontent.com/u/588473?v=4","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":13,"state":"open","created_at":"2017-08-06T04:12:17Z","updated_at":"2017-09-03T18:16:54Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2017-08-28T16:46:34Z","updated_at":"2017-09-04T04:24:04Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Since the REPL is already using React 16, we should take advantage of [the new `componentDidCatch` error handling lifecycle](https://facebook.github.io/react/blog/2017/07/26/error-handling-in-react-16.html).\r\n\r\nAs we move forward on issues like #858 and #1292, it would be nice to add `componentDidCatch` to a couple of key components. The REPL currently uses `try`/`catch` statements where errors are likely to occur (eg [`compile`](https://github.com/babel/website/blob/master/js/repl/compile.js#L71-L108), [`eval`](https://github.com/babel/website/blob/master/js/repl/WorkerApi.js#L43-L47)) but error boundaries would be a nice backup for any cases that slip through the cracks."},"comment":{"url":"https://api.github.com/repos/babel/website/issues/comments/326863147","html_url":"https://github.com/babel/website/issues/1351#issuecomment-326863147","issue_url":"https://api.github.com/repos/babel/website/issues/1351","id":326863147,"user":{"login":"kaushlakers","id":1964727,"avatar_url":"https://avatars0.githubusercontent.com/u/1964727?v=4","gravatar_id":"","url":"https://api.github.com/users/kaushlakers","html_url":"https://github.com/kaushlakers","followers_url":"https://api.github.com/users/kaushlakers/followers","following_url":"https://api.github.com/users/kaushlakers/following{/other_user}","gists_url":"https://api.github.com/users/kaushlakers/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushlakers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushlakers/subscriptions","organizations_url":"https://api.github.com/users/kaushlakers/orgs","repos_url":"https://api.github.com/users/kaushlakers/repos","events_url":"https://api.github.com/users/kaushlakers/events{/privacy}","received_events_url":"https://api.github.com/users/kaushlakers/received_events","type":"User","site_admin":false},"created_at":"2017-09-04T04:24:04Z","updated_at":"2017-09-04T04:24:04Z","author_association":"NONE","body":"Sounds good! 👍 "}}
{"actor":{"display_login":"kaushlakers"}}