docs: Add hyperlink to experimental_taintObjectReference#8339
docs: Add hyperlink to experimental_taintObjectReference#8339SSakutaro wants to merge 1 commit intoreactjs:mainfrom
Conversation
Size changesDetails📦 Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
There was a problem hiding this comment.
Pull request overview
This PR adds a hyperlink to the phrase "React Server Components" in experimental_taintObjectReference.md's experimental notice, aligning its format with the equivalent notice in experimental_taintUniqueValue.md.
Changes:
- Added a markdown hyperlink to "React Server Components" in the experimental notice of
experimental_taintObjectReference.md, pointing to/reference/rsc/use-client
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| Experimental versions of React may contain bugs. Don't use them in production. | ||
|
|
||
| This API is only available inside React Server Components. | ||
| This API is only available inside [React Server Components](/reference/rsc/use-client). |
There was a problem hiding this comment.
The hyperlink added for "React Server Components" points to /reference/rsc/use-client, which is the documentation page for the 'use client' directive — not a general React Server Components reference. Throughout the rest of the codebase (e.g., cache.md, server-functions.md, directives.md, use-client.md, use-server.md), the text "React Server Components" is consistently linked to /reference/rsc/server-components.
Although this mirrors the link already used in experimental_taintUniqueValue.md, both files appear to use an incorrect link target. The link destination should be /reference/rsc/server-components to accurately describe what "React Server Components" refers to and to be consistent with the rest of the documentation.
| This API is only available inside [React Server Components](/reference/rsc/use-client). | |
| This API is only available inside [React Server Components](/reference/rsc/server-components). |
Description
Aligns experimental_taintObjectReference.md with experimental_taintUniqueValue.mdby adding a missing hyperlink to the React Server Components documentation.
Changes
Added link to /reference/rsc/use-client in the experimental notice of experimental_taintObjectReference.md