router
router copied to clipboard
Wrong component rendering in Basic Code Based Example
Describe the bug
After rendering the Not Found component in Posts the next post selection does not render the post but Not Found remains shown.
Your Example Website or App
https://tanstack.com/router/latest/docs/framework/react/examples/basic
Steps to Reproduce the Bug or Issue
I think this bug is on https://tanstack.com/router/latest/docs/framework/react/examples/basic
- Go to Posts
- click a post in the list
- Click the last one ( Not found)
- Click a post in the list:
- Not found still visible
Expected behavior
As a user I epxect the post selected to be show.
Screenshots or Videos
Platform
- OS: macOS
- Browser: Chrome
- Version:121.0.6167.184 (Official Build) (arm64)
Additional context
No response
bug still exists in v.1.17.4, however it seems to be non-deterministic (?):
https://github.com/TanStack/router/assets/6340397/b5d9a150-1ffb-4b94-8f37-73ef0197956e
This was fixed in the 1.22.5 release.