fix: suppress error boundary flash during page unload
When `router.refresh()` is in-flight and user refreshes the page, the browser aborts the RSC fetch which causes an error that briefly renders the error boundary before the page unloads. This fix checks `isPageUnloading` in the error boundary's render method and suppresses the error UI when the page is unloading. Fixes #87681
Showing
Please
register
or
sign in
to comment