Bug: Never ending "pending" state when notFound is thrown from a splat route
Steps to reproduce
1. Go to the
/browse/album/123
URL in StackBlitz
Expected result
A "Not found message"
Actual result:
The matched root route and the "browse" route are stuck in a pending state according to the dev tools, the final route correctly has "not found" state.
This causes the page to never load.
StackBlitz: https://stackblitz.com/edit/tanstack-router-jc3pyp?file=src%2Froutes%2Findex.tsx
3 Replies
frail-apricot•15mo ago
can you please post bugs as github issues?
rare-sapphireOP•15mo ago
Ah sorry, of course!
rare-sapphireOP•15mo ago
Github issue: https://github.com/TanStack/router/issues/1795
GitHub
Never ending "pending" state when
notFound()
is thrown from a spl...Describe the bug Basically as the title says. If you throw notFound() for a $ splat route, the parent routes stay forever stuck in "pending" state. Your Example Website or App https://sta...