Describe the bug#
I can't reset error component through navigation when defaultErrorComponent is set
Your Example Website or App#
https://stackblitz.com/edit/vitejs-vite-7thcsy
Steps to Reproduce the Bug or Issue#
- Click on the link
About
- Error will show up on
About page
- Click on the link
Home
- Error persist on
Home page
- Click on the link
Home again - error disappears
Expected behavior#
- Click on the link
About
- Error will show up on
About page
- Click on the link
Home
- Error disappears and
Home page content should be displayed
Screenshots or Videos#
No response
Platform#
- OS: macOS
- Browser: Chrome
- Version: 127.0
Additional context#
Try to remove or comment out defaultErrorComponent - now it's working as expected