T
TanStack15mo ago
rare-sapphire

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
No description
3 Replies
frail-apricot
frail-apricot15mo ago
can you please post bugs as github issues?
rare-sapphire
rare-sapphireOP15mo ago
Ah sorry, of course!
rare-sapphire
rare-sapphireOP15mo ago
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...

Did you find this page helpful?