You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Production and development builds of React slightly differ in the way componentDidCatch() handles errors.
On development, the errors will bubble up to window, this means that any window.onerror or window.addEventListener('error', callback) will intercept the errors that have been caught by componentDidCatch().
On production, instead, the errors will not bubble up, which means any ancestor error handler will only receive errors not explicitly caught by componentDidCatch().
The text was updated successfully, but these errors were encountered:
Related to #270 (comment)
When I'm resolving syn pull request #270, I find that some original text are lost. we need to add translation.
React.Component's
componentDidCatch
The text was updated successfully, but these errors were encountered: