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
If provided the path of `/posts/1/edit`, the following component structure will be rendered:
- <Root>
- - <Root.notFoundComponent>
The notFoundComponent of the __root__ route will be rendered because the `notFoundMode` is set to `root`.
But I see another behaviour if I generate notFound error myself.
Which project does this relate to?
Router
Describe the bug
In doc I see (https://tanstack.com/router/latest/docs/framework/react/guide/not-found-errors#notfoundmode-root) the example:
But I see another behaviour if I generate
notFound
error myself.Your Example Website or App
https://stackblitz.com/edit/github-ovpjyk-3gh8gb?file=src%2Fmain.tsx
Steps to Reproduce the Bug or Issue
Try to open "Not found" or "Sub Not found" - they will be work as expected.
Try to open "Generate Not found" page - it works in another way
Expected behavior
I expect that it will be works the same as described in documentation.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: