react-router
react-router copied to clipboard
[Bug]: useRevalidate cannot clear the error boundary in async method
What version of React Router are you using?
6.23.1
Steps to Reproduce
Reproduce repo: stackblitz Steps to Reproduce:
- Manually navigate url to /home
- Click the reavalidate button in ErrorBoundary page
- View console output
Expected Behavior
It will revalidate and rerun the loader after 1 second, and then clear the ErrorBoundary
Actual Behavior
It actually revalidate and rerun the loader after 1 second, but it not clear the ErrorBoundary