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
I'm getting an issue where throwing an unhandled error turns into an infinite loop because the guarded callback wrapper fails to extract the error from the event:
This causes the reconciler to ignore the error, thus triggering it again.
To reproduce, I flipped useSyncScheduling to false in ReactDOMFiber (not sure if that was important), started examples/real-world from Redux and added a throw to its User component.
The text was updated successfully, but these errors were encountered:
We can use this more flexible version for error handling in Fiber.
The DEV mode version uses same fake event trick as before to preserve
"break on uncaught exception" behavior when debugging.
I'm getting an issue where throwing an unhandled error turns into an infinite loop because the guarded callback wrapper fails to extract the error from the event:
This causes the reconciler to ignore the error, thus triggering it again.
To reproduce, I flipped
useSyncScheduling
tofalse
inReactDOMFiber
(not sure if that was important), startedexamples/real-world
from Redux and added athrow
to itsUser
component.The text was updated successfully, but these errors were encountered: