SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[Fix] Errors should not "unsuspend" a transition (#22423)

If an error is thrown during a transition where we would have otherwise
suspended without showing a fallback (i.e. during a refresh), we should
still suspend.

The current behavior is that the error will force the fallback to
appear, even if it's completely unrelated to the component that errored,
which breaks the contract of `startTransition`.
A
Andrew Clark committed
05726d72ccd3940a927462d520d0d2674012ad85
Parent: c9d64e5
Committed by GitHub <[email protected]> on 9/27/2021, 3:44:39 PM