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
When defining a pathless layout route (_appLayout.tsx) inside a folder (app/), TanStack Router incorrectly treats it as a route. Instead of returning a Not found when accessing /app, it renders an empty HTML page.
Which project does this relate to?
Router
Describe the bug
When defining a pathless layout route (
_appLayout.tsx
) inside a folder (app/), TanStack Router incorrectly treats it as a route. Instead of returning a Not found when accessing/app
, it renders an empty HTML page.Your Example Website or App
https://stackblitz.com/edit/github-aeat3k26
Steps to Reproduce the Bug or Issue
/app
routeExpected behavior
Expected:
/app
should return Not found page (since_appLayout.tsx
is pathless).Actual:
/app
renders an empty HTML page instead.Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: