Skip to content

Sync with react.dev @ 46a54e05 - #590

Open
react-translations-bot wants to merge 154 commits into
mainfrom
sync-46a54e05
Open

react-translations-bot wants to merge 154 commits into
mainfrom
sync-46a54e05

Conversation

@react-translations-bot

Copy link
Copy Markdown
Collaborator

okeken and others added 30 commits November 10, 2025 14:22
…ave-dev` to `—save-dev`) (#8146)

* Skip smartypants on TerminalBlock

* Improve TerminalBlock HTML tags

* Remove unnecessary TerminalBlock escapes from docs

* Bump DISK_CACHE_BREAKER
Co-authored-by: artimath <ryanjhunter@gmail.com>
* Add sections to llms.txt

* Also add sitemap footer
* Revamp useOptimistic docs

* Updates from review

* Edit down a bit

* Updates from feedback

* Updates from feedback

* Updates from feedback

* fml, forgot startTransition again

* rm "prop"

* feedback from @stephan-noel

* feedback from @stephan-noel

* update note
MyGO-Mujica and others added 26 commits November 7, 2026 12:32
Four links in Learn docs were missing the leading slash and would resolve to 404 paths. Every other internal link in the repo uses absolute paths.
Fixes #6933

The Server Components docs page had inconsistent handling of the note variable across 3 code examples. All examples now consistently treat note as an object with .authorId, .id, and .content properties.
Remove accidental repeated words in three reference pages:
- createRoot: 'can can' -> 'can'
- resumeAndPrerenderToNodeStream: 'a a' -> 'a'
- react-performance-tracks: 'the the' -> 'the'

Co-authored-by: eknathdj <eknathdj@users.noreply.github.com>
…#8483)

The ChatRoom.js sandpack in the "Fix a connection switch" challenge
imports useState but only uses useEffect. Remove the unused import
to avoid confusing learners.

Fixes #8231
Removed unused import of useState from React.
- 'an custom' -> 'a custom' in components/index.md (consonant sound)
- 'a object' -> 'an object' in taintUniqueValue.md (vowel sound)
…(#8667)

* Explain that the useState setter triggers a re-render in Quick Start

* Explain re-render behavior before naming it

---------

Co-authored-by: Dextheking1 <Dextheking1@users.noreply.github.com>
Co-authored-by: Aurora Scharff <aurora.sofie@gmail.com>
* Fix act() dispatch example using button before it is defined

The event example called button.dispatchEvent before const button was declared, which would throw at runtime. Also drop it.only from the docs snippet.

* Highlight the full act event-dispatch block

---------

Co-authored-by: Aurora Scharff <aurora.sofie@gmail.com>
…nsition (#8642)

* Remove redundant async in useTransition documentation

* Fix typo in useActionState hook documentation
* Clarify ref callback cleanup vs null behavior

* docs: incorporate review feedback on ref callback cleanup
Co-authored-by: sunmozong <sunmozong@kuaishou.com>
Co-authored-by: Ricky <rickhanlonii@gmail.com>
Fixes reactjs/react.dev#8375

The tutorial incorrectly used 'argument' when referring to the function
parameter  in the handleClick function declaration. In JavaScript:
- Parameter is the variable in the function declaration
- Argument is the actual value passed when calling the function

This change improves accuracy and helps learners understand the
distinction between these two important programming concepts.
* Update lifecycle-of-reactive-effects.md

* Remove useEffect from solution as well

---------

Co-authored-by: Jaem <91131509+DarkChocoJaem@users.noreply.github.com>
* Add requestFormReset React DOM reference page

* docs: cross-link automatic and manual form resets

* Restore unrelated upstream test formatting
@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zh-hant-legacy-reactjs-org Error Error Nov 16, 2026 5:01am UTC
zh-hant-react-dev Building Building Preview Nov 16, 2026 5:01am UTC

Request Review


for (const fullPath of candidates) {
try {
const content = fs.readFileSync(fullPath, 'utf8');

This branch had an error being deployed

2 failed deployments
Preview – zh-hant-legacy-reactjs-org — 823981b6 Deployed Nov 16, 2026 by vercel[bot]
Preview – zh-hant-react-dev — 823981b6 Deployed Nov 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.