News for hackers. Stuff that matters.
Re:Error Handling in React 16 by danabramov on Thursday July 27, 2017 @06:12AM (#14863955)
* It's not very useful to write error handling code in every component. The thinking about the feature is you'll put it in a few strategic places: https://facebook.github.io/react/blog/2017/07/26/error-handl...

* If error boundary could catch its own errors, what happened if it tried to render error message and threw then? It would get into an infinite loop, trying to handle its own error and failing again. Thanks to the restriction, this can never happen.

There are no comments on this comment yet.