Skip to content

Sync with react.dev @ 40ea071c#1481

Merged
hg-pyun merged 60 commits intomainfrom
sync-40ea071c
Mar 24, 2026
Merged

Sync with react.dev @ 40ea071c#1481
hg-pyun merged 60 commits intomainfrom
sync-40ea071c

Conversation

@react-translations-bot
Copy link
Collaborator

This PR was automatically generated.

Merge changes from react.dev at 40ea071

The following files have conflicts and may need new translations:

Please fix the conflicts by pushing new commits to this pull request, either by editing the files directly on GitHub or by checking out this branch.

DO NOT SQUASH MERGE THIS PULL REQUEST!

Doing so will "erase" the commits from main and cause them to show up as conflicts the next time we merge.

martinrebo and others added 30 commits November 5, 2025 18:39
* fix: correct link for RedwoodJS to RedwoodSDK in documentation

* fix: update links for React Query and TanStack Start in documentation

* fix: update Vite installation command to use TypeScript template

* fix: update references from React Query to TanStack Query in documentation
Fixes #8097

The refactored example in the "Chains of computations" section uses
an incorrect condition that changes the game logic from the original.

The original Effect-based code advances the round after 4 gold cards:
- Increments first (0→1, 1→2, 2→3, 3→4)
- Then checks `goldCardCount > 3` (true when count is 4)

The refactored code with `goldCardCount <= 3` allows 5 gold cards:
- Checks before incrementing
- Allows counts 0, 1, 2, 3 to increment (4 values)
- Advances on the 5th card (when count is 4)

This fix changes the condition to `goldCardCount < 3`:
- Allows counts 0, 1, 2 to increment (3 values)
- Advances on the 4th card (when count is 3)
- Matches the original behavior

Verified by tracing execution logic and building the docs site locally.

Co-authored-by: PaulyBearCoding <PaulyBearCoding@users.noreply.github.com>
…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>
mattcarrollcode and others added 9 commits February 24, 2026 12:59
* Add RSC Sandboxes

* Recover from errors, parse directives in worker with AST

* Fix client edits

* fast refresh

* hardening

* make rsc-sandbox-test dev-only

* add more examples to rsc-sandbox-test

* remove rsc-sandbox-text from sidebar

* Add inline server actions

* fix lint

* pin deps, update skill

* remove [RSC Client Error] from logs

* log error directly in worker

* update worker
@vercel
Copy link

vercel bot commented Mar 16, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
ko-legacy-reactjs-org Ignored Ignored Preview Mar 24, 2026 3:13am

Request Review

- Keep Korean translations for all content files
- Merge config changes: add buildRscWorker script, esbuild dep, claude/worktree gitignore
- Add new upstream blog entries (React Foundation, security advisories)
- Move past conferences to Past section per upstream
- Update internal URLs: /learn/start-a-new-react-project → /learn/creating-a-react-app
- Fix double spaces in conferences.md and missing newline in useEffectEvent.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- ViewTransition.md: 중복된 <Intro> 태그 제거
- useActionState.md: 고아 <Recipes> 태그 제거, 누락된 DeepDive 섹션 추가
- useEffectEvent.md: 닫히지 않은 Sandpack 태그 수정 및 잔여 텍스트 제거
- form.md: 앵커 ID를 upstream과 일치하도록 수정 (server-action → server-function)
- .prettierignore: worker-bundle.dist.js 제외 추가
- editorconfig 에러 수정 (줄 끝, 들여쓰기)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Mar 24, 2026

Size changes

Details

📦 Next.js Bundle Analysis for undefined

This analysis was generated by the Next.js Bundle Analysis action. 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 114.94 KB (🟡 +4.75 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

New Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load
/llms.txt 246 B 115.18 KB

Five Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/404 131.68 KB (🟢 -1.78 KB) 246.62 KB
/500 131.68 KB (🟢 -1.78 KB) 246.61 KB
/[[...markdownPath]] 134.31 KB (🟢 -1.78 KB) 249.25 KB
/errors 131.81 KB (🟢 -1.78 KB) 246.75 KB
/errors/[errorCode] 131.79 KB (🟢 -1.78 KB) 246.73 KB
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

Next to the size is how much the size has increased or decreased compared with the base branch of this PR. If this percentage has increased by 10% or more, there will be a red status indicator applied, indicating that special attention should be given to this.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@hg-pyun hg-pyun merged commit b7f84ed into main Mar 24, 2026
9 checks passed
@hg-pyun hg-pyun deleted the sync-40ea071c branch March 24, 2026 03:15
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.