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
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If a component throws not in render, for example in a click handler, the error is thrown twice instead of once. Error boundaries stop the double reporting, but only handle errors thrown in render, not errors in handlers etc.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
If a component throws not in render, for example in a click handler, the error is thrown twice instead of once. Error boundaries stop the double reporting, but only handle errors thrown in render, not errors in handlers etc.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/ebsrpraL/).
https://codepen.io/anon/pen/GMjEpx?editors=0010
What is the expected behavior?
Just one error thrown
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
16.0.0-rc.2
The text was updated successfully, but these errors were encountered: