-
-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error propagated from child-route to parent #2043
Comments
regression of 1.45.3 works in 1.45.2: https://stackblitz.com/edit/github-3mpcwb-ohnkkb?file=package.json |
schiller-manuel
added a commit
that referenced
this issue
Jul 27, 2024
schiller-manuel
added a commit
that referenced
this issue
Jul 27, 2024
reproducer is in #2044 |
schiller-manuel
added a commit
that referenced
this issue
Aug 27, 2024
schiller-manuel
added a commit
to cristi-lng/tanstack-router
that referenced
this issue
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I have 2 routes:
/$slug
which displays the detail of an entity/$slug/report
which displays the report for the entityBot have
loader
anderrorComponent
on the routes as they have to load some data to display and handle errors. If an exception is thrown on/$slug/report
route it displays the error fromerrorComponent
which is to be expected. But if I navigate (viaLink
) to the detail/$slug
it also shows theerrorComponent
with the same error as was thrown in the report route.Your Example Website or App
https://stackblitz.com/edit/github-3mpcwb?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
Expected behavior
I would expect the "Detail" route to not thrown an error as none was thrown in it.
Screenshots or Videos
CleanShot.2024-07-27.at.16.02.33.mp4
Platform
Additional context
Hopefully I didn't miss some obvious
The text was updated successfully, but these errors were encountered: