-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
Describe the bug
The link text "Important Defaults" within the introductory paragraph of the React Caching guide page (/docs/framework/react/guides/caching) incorrectly points to a relative path (important-defaults) within the current page's URL structure. This results in a 404 error page being displayed instead of navigating the user to the intended "Important Defaults" guide page.
Your minimal, reproducible example
https://tanstack.com/query/v5/docs/framework/react/guides/caching
Steps to reproduce
- Go to the React Caching guide:
https://tanstack.com/query/v5/docs/framework/react/guides/caching - Locate the first paragraph containing the text: "Please thoroughly read the Important Defaults before reading this guide."
- Click on the linked text "Important Defaults".
- See the 404 error page displayed within the documentation site layout. The URL likely changes to
https://tanstack.com/query/v5/docs/framework/react/guides/caching/important-defaultsor similar, which is not a valid page.
Expected behavior
As a user, I expected clicking the "Important Defaults" link to navigate me directly to the dedicated "Important Defaults" guide page located at: https://tanstack.com/query/v5/docs/framework/react/guides/important-defaults.
How often does this bug happen?
None
Screenshots or Videos
Platform
- OS: Likely affects all OS (Tested on Windows 11, macOS Sonoma)
- Browser: Likely affects all browsers (Tested on Chrome, Firefox, Edge)
- Version: Latest stable versions
Tanstack Query adapter
None
TanStack Query version
v5
TypeScript version
5.8.2
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels