Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Error Handling in React 16. Parent comment
* 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.
* 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.