notFoundComponent doesn’t appear on live docs pages for invalid routes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.1k
- Forks
- 1.9k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 143
Description
Which project does this relate to?
Router
Describe the bug
When visiting a non-existent page on the TanStack Router/Start documentation website (e.g., https://tanstack.com/router/abc), the page does not display a proper "Page Not Found" UI.
Your Example Website or App
https://tanstack.com/router/abc
Steps to Reproduce the Bug or Issue
- Go to https://tanstack.com/router/abc (or any invalid route on the docs site)
- Observe that the page does not show a "not found" message or component.
Expected behavior
A clear "Page not found" UI should be displayed ideally using the notFoundComponent defined in the docs.
Screenshots or Videos
No response
Platform
- Router / Start Version: [e.g. 1.121.0]
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Browser Version: [e.g. 91.1]
- Bundler: [e.g. vite]
- Bundler Version: [e.g. 7.0.0]
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the invalid-route behavior at https://tanstack.com/router/abc and inspect the documentation site's route configuration, focusing on where the documented notFoundComponent is defined and applied. Confirm the expected Page Not Found UI and identify the relevant route entry or test before making a change; done means invalid live documentation URLs display that UI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100