You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
404 is not bubbling up to the root when loader is present #2547
I have notFoundComponent on root component, and I'm throw notFoundError() on child component.
Instead of showing root's defined 404, the fallback 404 is shown with a warning:
A notFoundError was encountered on the route with ID "${route.id}", but a notFoundComponent option was not configured, nor was a router level defaultNotFoundComponent configured. Consider configuring at least one of these to avoid TanStack Router's overly generic defaultNotFoundComponent (<div>Not Found<div>)
This is happens, when there is a beforeLoad or load on root router. If I remove them, it works as expected
Activity
[-]404 is not propagated to the root[/-][+]404 is not bubbling up to the root when loader is present[/+]schiller-manuel commentedon May 3, 2026
this has been fixed
test: reproducer for #2547 (#7337)
chore: solid router v2 pre main sync (#7517)