react-router icon indicating copy to clipboard operation
react-router copied to clipboard

[Bug]: useRevalidate cannot clear the error boundary in async method

Open Asfamilybank opened this issue 8 months ago • 0 comments

What version of React Router are you using?

6.23.1

Steps to Reproduce

Reproduce repo: stackblitz Steps to Reproduce:

  1. Manually navigate url to /home
  2. Click the reavalidate button in ErrorBoundary page
  3. View console output

Expected Behavior

It will revalidate and rerun the loader after 1 second, and then clear the ErrorBoundary image

Actual Behavior

It actually revalidate and rerun the loader after 1 second, but it not clear the ErrorBoundary image

Asfamilybank avatar May 29 '24 09:05 Asfamilybank