{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-hyperloop/hyper-react/issues/241","repository_url":"https://api.github.com/repos/ruby-hyperloop/hyper-react","labels_url":"https://api.github.com/repos/ruby-hyperloop/hyper-react/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/ruby-hyperloop/hyper-react/issues/241/comments","events_url":"https://api.github.com/repos/ruby-hyperloop/hyper-react/issues/241/events","html_url":"https://github.com/ruby-hyperloop/hyper-react/issues/241","id":294510969,"number":241,"title":"add render_after_error","user":{"login":"janbiedermann","id":30776880,"avatar_url":"https://avatars1.githubusercontent.com/u/30776880?v=4","gravatar_id":"","url":"https://api.github.com/users/janbiedermann","html_url":"https://github.com/janbiedermann","followers_url":"https://api.github.com/users/janbiedermann/followers","following_url":"https://api.github.com/users/janbiedermann/following{/other_user}","gists_url":"https://api.github.com/users/janbiedermann/gists{/gist_id}","starred_url":"https://api.github.com/users/janbiedermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janbiedermann/subscriptions","organizations_url":"https://api.github.com/users/janbiedermann/orgs","repos_url":"https://api.github.com/users/janbiedermann/repos","events_url":"https://api.github.com/users/janbiedermann/events{/privacy}","received_events_url":"https://api.github.com/users/janbiedermann/received_events","type":"User","site_admin":false},"labels":[{"id":390719735,"url":"https://api.github.com/repos/ruby-hyperloop/hyper-react/labels/discussion","name":"discussion","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T19:19:12Z","updated_at":"2018-02-06T20:00:05Z","closed_at":null,"author_association":"NONE","body":"as with lap20 the after_error callback is available, resembling react 16 error handling\r\nhttps://reactjs.org/docs/error-boundaries.html#introducing-error-boundaries\r\na render_after_error block became possible."},"comment":{"url":"https://api.github.com/repos/ruby-hyperloop/hyper-react/issues/comments/363546708","html_url":"https://github.com/ruby-hyperloop/hyper-react/issues/241#issuecomment-363546708","issue_url":"https://api.github.com/repos/ruby-hyperloop/hyper-react/issues/241","id":363546708,"user":{"login":"catmando","id":63146,"avatar_url":"https://avatars1.githubusercontent.com/u/63146?v=4","gravatar_id":"","url":"https://api.github.com/users/catmando","html_url":"https://github.com/catmando","followers_url":"https://api.github.com/users/catmando/followers","following_url":"https://api.github.com/users/catmando/following{/other_user}","gists_url":"https://api.github.com/users/catmando/gists{/gist_id}","starred_url":"https://api.github.com/users/catmando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/catmando/subscriptions","organizations_url":"https://api.github.com/users/catmando/orgs","repos_url":"https://api.github.com/users/catmando/repos","events_url":"https://api.github.com/users/catmando/events{/privacy}","received_events_url":"https://api.github.com/users/catmando/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T20:00:05Z","updated_at":"2018-02-06T20:00:05Z","author_association":"CONTRIBUTOR","body":"I assume we mean like this:\r\n\r\n```ruby\r\nclass UserIndex < Hyperloop::Component\r\n  render do\r\n    UL do\r\n      Users.each do |user|\r\n        DisplayUser(user: user)\r\n        .after_error do\r\n          DIV { IMG(src: 'sadface.png') }\r\n        end\r\n     end\r\n   end\r\nend\r\n```"}}
{"actor":{"display_login":"catmando"}}