Skip to content

WIP: evaluate React documentation sync (Nov 2026) — do not merge - #4

Draft
TheBrown wants to merge 136 commits into
mainfrom
sync/evaluate-react-dev-2026-11-09
Draft

TheBrown wants to merge 136 commits into
mainfrom
sync/evaluate-react-dev-2026-11-09

Conversation

@TheBrown

@TheBrown TheBrown commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Objective

Evaluate updating the official React Lao translation project to the latest English react.dev sources, without merging or deploying before validation.

Scope of this draft

  • Based on official bot sync reactjs/lo.react.dev #192 (upstream commit f5fa1e82, November 9, 2026).
  • Incorporated the subsequent react.dev contributor/documentation updates from 7594a2b (November 9, 2026), while retaining the Lao project's README and updating its Node/Yarn instructions.
  • Resolved merge conflict markers in code, configuration, and documentation, including conflicts inherited from official Lao main.
  • Kept Lao text in the 26 previously translated Learn React pages and updated English-only reference files against upstream.
  • Set src/siteConfig.js languageCode to lo (previously incorrectly en).
  • Aligned dependency baseline with upstream React 19, Next 15.1.12, TypeScript 5.7.2; updated CI to Node 24 and modern GitHub Actions.
  • Added Lao Sync Sanity validation for unresolved conflict markers, Lao character count regression, and key JSON files.

Test results

  • Lao Sync Sanity — passed at commit 5a171071; 26 translated Learn React pages retain at least their baseline Lao-character counts. This is not proof of translation accuracy or unchanged MDX semantics.
  • Full install, typecheck, lint, and production build must pass at the latest commit before merge. Earlier attempts found CI/dependency issues and a React type mismatch; see the Actions tab for current exact result.
  • Check site rendering on desktop/mobile, all 26 Lao pages, navigation, code examples, RSS, asset links and search.
  • Native Lao technical review: terminology, semantic accuracy, and outdated instructions in translated sections.
  • Review React 19.3 features and ensure no English-only new content is misrepresented as translated.
  • Review remaining differences between the candidate and react.dev/main.

Risk / PR interactions

  • Do not merge this as-is. It is a work-in-progress integration candidate.
  • The separate translation draft fork PR #2 touches React reference indexes that have been extended by upstream (React 19.x APIs). Rebase and extend that translation after the source sync; do not merge it as-is or it could drop new API entries.
  • Fork PR #3 was a preliminary compatibility fix for the old baseline, and must not be blindly merged over this newer integration branch.
  • Nothing has been changed in the official reactjs/lo.react.dev repo or deployed.

MorikawaSouma and others added 30 commits May 14, 2026 21:24
… (#8364)

* fix(docs): Change 'a Action' to 'an Action' in useOptimistic.md

This fixes a grammar error where 'a Action' should be 'an Action' since
'Action' starts with a vowel sound.

Related to #6713 - Capitalize React concepts in docs

* docs: Update Vite React Compiler setup for @vitejs/plugin-react@6.0.0

- Add instructions for using reactCompilerPreset with @rolldown/plugin-babel
- Document that inline babel option was removed in version 6.0.0
- Keep backward compatibility note for older versions
- Remove outdated vite-plugin-babel reference

Fixes #8353
* Clean up and expand fragment ref docs

* Add cached intersection observer usage example

* Expand focus example to show search

* Small clean ups

* Add FragmentInstance operations reference list

* Add reference to scrollIntoView operation

* Migrate examples to sandpack
Bumps button contrast to match the treatment on reactnative.dev.

Dark mode:
- primary text: dark:text-secondary (#404756) -> dark:text-gray-90 (#23272F)
- secondary border: #404756 -> #4E5769 (matches RN's rgb(78,86,104))

Light mode:
- secondary border: #D9DBE3 -> #BCC1CD (matches RN's rgb(188,193,205))

gray-90 keeps a subtle cyan tint on the teal button, per review feedback
(gray-95 was too flat).
* Claude use docs attempt

* Human updates

* Address review feedback

* Address additional review feedback

* Split Pitfall and DeepDive, clarify recreation examples

* Reorder DeepDive: prose before correct example

* Add Reading a Promise from context section

* Address review feedback and align DeepDive with RSC docs style

* Drop inaccurate claim about blocking page rendering

* Address feedback

* Address feedback: clarify use() accepts Promise or context

* Apply suggestion from @rickhanlonii

* Update src/content/reference/react/use.md

Co-authored-by: Ricky <rickhanlonii@gmail.com>

* [use] Add Pitfall on refetching Promises from context in RSCs

---------

Co-authored-by: Aurora Scharff <aurora.sofie@gmail.com>
Co-authored-by: Aurora Scharff <66901228+aurorascharff@users.noreply.github.com>
* fix: update use.md pitfall to mention that bypassing use can corrupt React's internal state tracking

* Apply suggestion from @rickhanlonii

* Apply suggestion from @rickhanlonii

* Apply suggestion from @rickhanlonii

* Apply suggestion from @rickhanlonii

* Update use.md with caution on bypassing `use`

Add warning about bypassing `use` and its effects on React Suspense.

* Apply suggestion from @rickhanlonii

* Update guidance on using the `use` hook with Promises

Clarify usage of `use` hook regarding Promise handling.

* Clarify usage of `use` with Promises

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
* Fix broken internal link in Component reference (anchor)

* chore: trigger CLA check
Co-authored-by: Daksh Dhami <hi@lucii.xyz>
Co-authored-by: Daksh Dhami <hi@lucii.xyz>
Co-authored-by: Sebastian Sebbie Silbermann <sebastian.silbermann@vercel.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Sebastian "Sebbie" Silbermann <silbermann.sebastian@gmail.com>
…browser extension (#7726)

* Rewrite React Developer Tools section in tutorial-tic-tac-toe

CodeSandbox doesn't seem to support any platform React Developer Tools as is seen in tutorial.
This section is rewritten to use the browser extension directly on the preview.

* Fixed the preview URL to the codesandbox instance just before this section
* Clarify use vs await

* Refine based on feedback

* Address review comments
Co-authored-by: Tuna <tuna@MacBookPro.station>
…505)

* [Suspense] Add 'What activates a Suspense boundary' section

* [Suspense] Clarify image activation wording (review feedback)

* Define "suspense-enabled-framework"

* Update outdated framework-less data fetching note to reference use()

* fix: clarify Suspense boundary activation and fallback behavior

* Add code example

* update styling

* Cleanup caveat

* add link to blogpost

* Replace notes with link to suspense docs

* Tweak caveat

* Update caveat to clarify streaming behavior during server rendering

* Address feedback

* address feedback

* Clarify documentation on Suspense-enabled frameworks

* Update links and wording

* Improve example

* Clarify heading for Suspense-enabled frameworks section

* Restructure page

* Update to be docs compliant and clarify images

* Address review feedback

* Add more suspense examples

* Add more examples

* Clarify image loading behavior during <ViewTransition> updates in Suspense documentation

* Enhance Suspense documentation with additional details on font and image loading during <ViewTransition> updates

* Update

* Enhance Suspense documentation with examples of stylesheet loading behavior and vanilla DOM comparison

* agent review
* Polish Suspense activation examples

- Move Canary badges into section headings and render them icon-only
  in the table of contents
- Replace the image demo's text fallback with a profile skeleton
- Add a combined example coordinating data, a stylesheet, a font, and
  an image behind one boundary, with a plain DOM comparison
- Match skeleton dimensions to the revealed content

* Make the combined example's data delay consistent between runs
* Tune Suspense demo heights, data delay, and DOM comparison wording

* Make section openers stand alone and restore demo timing

* Shrink image demo portraits so both cards fit without layout shift

* Name the resources in the combined section opener

* State the ViewTransition condition in the combined section opener

* Align combined section opener with sibling sections

* Frame font and image waiting as Suspense behavior gated on ViewTransition

* Match the combined section opener to its sibling sections

* Document the experimental defer prop

* Reduce the combined example's data delay

* tweak
* Add dynamic OG images for docs pages

* Match OG card design to existing static images

* Generate OG images statically at build time

* Clean up orphaned lockfile entry

* Show section label on OG cards and guard pages without a card

* Center title and enlarge section label on OG cards
…Leadership Council, and refresh membership.

Co-authored-by: Sebastian "Sebbie" Silbermann <silbermann.sebastian@gmail.com>
* Resize long og image text

* address feedback
Please accept my changes for React Alicante and CityJS Athens
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.