-
Notifications
You must be signed in to change notification settings - Fork 390
Sync with react.dev @ 383a1e92 #1236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Open
Changes from all commits
Commits
Show all changes
224 commits
Select commit
Hold shift + click to select a range
9db23d6
fix: correct broken WAI-ARIA modal dialog link in createPortal refere...
dimatitov bbcb9af
Update meetups.md adding React Rajasthan Community (#7831)
shubhamui a2d17d1
Update components-and-hooks-must-be-pure.md (#7830)
ExercitusMortem 94424ae
Update referencing-values-with-refs.md (#7829)
cHaLkdusT 172f0b9
Add uwu click animation (#7822)
Jinsoo1004 3dcc4c4
Fix typo and clarily that a server function reference is created only...
kapantzak 06965de
Add React Alicante 2025 to Conferences page (#7674)
mikedidomizio e901790
fix: use const where applicable in examples for keeping components pu...
ad1992 87cef4a
Remove `forwardRef` reference from API listing (#7837)
kassens c60173f
docs: Refactor context provider usage (#7793)
nannany 37b09ea
fix: typo in docs on prerendering (#7823)
yeskunall 5927c4e
Replace Context.Provider with Context (#7838)
kassens 5dca520
fix(blog): resolve typo in React 19 blog post (`refs` → `ref`s) (#7828)
amir78729 50d6991
Update analyze_comment.yml (#7840)
jtn-dev 82f2863
Fix #6915: typo fix (#6917)
Rekl0w 741e8d9
fix: update ids to point to right part of the docs (#7854)
yeskunall c0c955e
chore: remove unused date-fns (#7856)
noritaka1166 b79ad22
chore: fix typo in resource and metadata components documentation (#7...
Rekl0w 341c312
fix: correct typo in scaling-up-with-reducer-and-context.md (#7390)
bcdipesh 4846020
fix flushSync link (#7862)
rickhanlonii 84a5696
docs(react): fix grammar in forward ref deprecation message (#7864)
SimonSchick e245b77
[be] Add deadlinks script (#7879)
poteto d52b3ec
Fix deadlinks (#7880)
poteto 8ad6c60
Revert "Fix deadlinks (#7880)" (#7881)
poteto 79eb0c5
Update deadlinks script to take into account redirects (#7882)
poteto aa5448d
Fix deadlinks take 2 (#7883)
poteto b165e71
[compiler] Rewrite React Compiler Docs (#7868)
poteto d7160a8
[compiler] Fix misleading code example (#7889)
poteto b462664
[compiler] Flesh out incremental adoption intro more (#7890)
poteto b6450e8
[compiler] Add note about gating evaluation (#7891)
poteto e07ac94
Remove non-existent meetup group (Edinburgh, Scotland) (#7895)
melanterite 1a6b2bb
Fixes animation jank on hover (#7904)
wesbos b092216
fix: box-shadow animation on community (#7905)
ChezFre e9a7cb1
Updates to Activity docs (#7884)
samselikoff 0a74f01
Add more information about event and property binding on custom eleme...
crutchcorn 27d86ff
Touch-ups to Activity (#7940)
samselikoff 694aeac
Add React Paris 2025 conference talks + Add React Paris 2026 (#7935)
AymenBenAmor 90686d8
Add CityJS New Delhi 2026 conference details (#7949)
arismarko 9a370f2
[compiler] Tweak intro section on manual memo guidance (#7953)
poteto 94a1164
[compiler][ez] Reference rc tag for install instructions (#7955)
poteto 19c8201
[compiler] Update docs on eslint-plugin-react-hooks installation (#7956)
poteto 2774ddf
Add reload button, rename reset to clear (#7954)
rickhanlonii ddfcf6e
fix: typo in component style documentation (#7925)
sky21kr bb998fd
fix broken link server-functions (#7923)
PouriaDamavandi 4db5ecd
docs: Add Rendercon 2025 Conference (#7962)
orama254 9ced885
feat(i18n): make DocsPageFooter navigation labels translatable (#7943)
mrbadri 04feec4
fix(rtl): resolve RTL issues in Challenges component (#7942)
mrbadri 4d53629
Introduce Liverpool and Edinburgh meetup groups. (#7950)
asimno 73a5fdd
docs: fix typo in update useTransition.md (#7936)
brookslybrand fc27b0a
docs: fix ordered list numbering in TypeScript with React Components ...
mrbadri 03a5465
Docs: update ref callback behaviour (#7927)
ninamma a4a37d8
Add setup to home sidebar (#7963)
rickhanlonii ca3e271
fix: definition typo on view transitions blog post (#7918)
vitormrmonteiro 67584b3
Fix: grammar and add comma (#7917)
deepu7d 0cc37ee
fix: typo (#7914)
Raghuboi afd84d1
Recommend installing `@types/*` as dev dependencies
Dejumo 337d5ea
docs: minor grammar correction (#7906)
ergusto e9efd19
fix : typo in form component documentation (#7894)
developerjhp 2217f45
Update "Deep Dive" in reusing-logic-with-custom-hooks.md with link an...
aurorascharff ff11cd2
Add note that form actions are actions (#7964)
rickhanlonii 85ee6b2
Remove deprecated loremflickr placeholder images (#7968)
poteto b8e9faf
Fix handleClick compiler intro example (#7967)
rickhanlonii d34c6a2
Fix/tictactoe docs invalid file names (#7969)
mtayyabrawan 4d3d495
Add React Conf 2024 to /videos (#7977)
rickhanlonii 0bfd418
docs: add flushSync Troubleshooting section (#7978)
Akshay090 a5181c2
Bump Activity docs to canary (#7974)
rickhanlonii 5b9a2ce
Upgrade babel-plugin-react-compiler (#7985)
poteto a566d87
Add copyright script (#7991)
poteto bd03b86
Update copyright on all files (#7992)
poteto b6a32d1
Add local eslint rule to validate markdown codeblocks with React Comp...
poteto 5cc9b7b
fix compiler errors (#7989)
poteto 2a9ef2d
Revert "fix compiler errors (#7989)" (#7995)
poteto f369f3e
Ignore braces when building Sandpack file map (#7996)
poteto 730d045
Restore lint corrections from #7989 (#7997)
poteto c15e20f
Install eslint-local-rules as postinstall (#7993)
poteto 366b5fb
Add new eslint rule reference docs (#7986)
poteto c8211fc
Add RC badge to RC-only lint rules (#8005)
rickhanlonii 170e5b9
Remove unnecessary spaces from useCallback.md (#8006)
rammba 790625f
Fix ViewTransition examples (#7999)
EugeneChoi4 1b20061
Fix value wrongly formatted as code in useDeferredValue.md (#8024)
rammba 49c2d26
Update useEffectEvent docs for canary (#8025)
jackpope c60922f
Fix incorrect negative in use-memo intro (#8027)
karlhorky 3f0235b
Docs for `cacheSignal` (#8023)
eps1lon 9fddeca
docs: initial docs for Performance tracks (#7938)
hoxyq aba6b86
Docs for partial-prerendering APIs (#7869)
rickhanlonii 10e5ad5
Conditionally deriving state is allowed (#8033)
gaearon dc86f88
Overview for React Server Performance tracks (#8031)
eps1lon c3d7560
Blog post for React 19.2 (#8028)
rickhanlonii 0a803f6
Update eslint-plugin-react-hooks config docs (#8030)
jackpope f9fd07c
Fix Activity sandboxes (#8035)
rickhanlonii 37f862a
Latest release is 19.2 (#8040)
eps1lon 9850724
Upgrade sandboxes to 19.2 (#8037)
gaearon 42037e2
Few cleanups for 19.2 (#8046)
rickhanlonii 07b7a5d
s/19.3/19.2
rickhanlonii 996ef72
Prerender can be aborted in stable (#8039)
eps1lon 775d895
fix typo
sophiebits ae584af
Add experimental docs for Fragment refs (#8010)
jackpope 7b8612e
Update eslint-plugin-react-hooks version reference (#8051)
poteto 11cb6b5
Clarify eslint-plugin-react-hooks configuration details (#8052)
poteto 28e9bd9
Document React's profiling build (#8054)
eps1lon 2495353
Bump ViewTransition and Fragment ref docs to canary (#8048)
eps1lon d9e3504
Add React Foundation blog post (#8057)
mattcarrollcode 8d73630
Upgrade to stable react compiler (#8058)
poteto ef80db8
Fix broken tabs (#8063)
poteto ec27355
Fix grammatical error in ViewTransition documentation (#8068)
Caisere be77c2a
React Compiler v1 (#8065)
poteto 6346efd
Reorder compiler post a bit (#8071)
gaearon 16e97fa
Fix server/client typo in <form> docs (#6627)
mdj-uk 7e24db5
fix: correct example link to minified error on /errors index page (#8...
SecondThundeR 0d05d9b
Revert "Reorder compiler post a bit (#8071)" (#8074)
gaearon 02ecded
Update caveats for Activity rendering behavior (#8067)
TkDodo a677ba3
Fragment refs - Remove unused ref from focus fragment example (#8056)
slorber 9ef1c47
fix: Breaking up a sentence to make it easier to understand (#8078)
moijes12 c8843f7
docs: capitalize Error Boundary concept across docs (#6713) (#8077)
Yonas650 ac0d53e
docs: update recommended full-stack React framework from Remix to Rea...
ardi-zanki 55e37af
Update conference listings for 2025 and 2026 (#8069)
arismarko 44e94f3
Fix typo in useRef.md (#8060)
gramsco 4b92001
Fix typo in Comments component (#7258)
sachanritik1 593fa1c
docs: fix symbol in prerenderToNodeStream.md (#8019)
WuMingDao df75927
docs: fix server components link text to match target section heading...
alejorrojas 7571898
Fix cat scrolling example (#7980)
kenkam 6cb7fea
Update hooks link to /reference/react/hooks in /reference/react/api...
WuMingDao ee5b672
Fix ordered list numbering in useCallback.md (#8011)
rammba f93cb2e
doc: Update from /react to /react/hooks in /reference/react-dom/hooks...
WuMingDao 896a689
Remove ReactConf notes in blogs (#8082)
rickhanlonii fe87df5
clarify SRP definition (#8008)
0xPxt 7ecf008
Add React Conf 2025 recap blog post (#8079)
mattcarrollcode f8c81a0
Use stable activity imports (#8085)
jackpope 4b0935b
Add `<Activity>` bullet to built-in components section (#8087)
imjordanxd 2c7798d
Fix typo in react compiler blog post date (#8091)
poteto c0af2d0
Add note on error boundary limitations (#8108)
JayCeeKay1991 e57e912
docs(blog): Add 'React 19.2' to blog sidebar (#8113)
SeungJin051 f9e2c13
Remove 'esquery' hack to potentially enable Turbopack (#8115)
joshwcomeau f020b53
docs: add missing 'Static APIs' link to React DOM reference page (#8127)
martinrebo 5c632dc
Nit: wording
gaearon 9c0763d
fix: correct links for Redwood and TanStack (#8121)
clicktodev abd1fe0
docs: Remove redundant symbols ‘ " ’ (#8101)
WuMingDao 6a70889
Fix typo in childIds array in initialTravelPlan (#8112)
egvr2002 d271a7a
Fix incorrect condition in "Chains of computations" example (#8109)
PaulyBearCoding b440d66
fix(links): update internal links (#8136)
okeken 27576f1
fix(useTransition): correct anchors pointing to non-blocking updates ...
SecondThundeR 2534424
fix: Stop SmartyPants from altering TerminalBlock commands (like `--s...
smikitky 4704ce6
blog post (#8170)
rickhanlonii 9c880bd
fix: use correct function name (#8171)
FelixTraxler e2b59da
add update instructions (#8172)
rickhanlonii 0828d50
Update React releases (#8173)
eps1lon ac47e52
Update upgrade instructions for React Server Components (Waku section...
dai-shi d8b1fe8
Upgrade Next from 15.1.0 to 15.1.9 (#8175)
mattcarrollcode 5876ed5
blog: update RSC security vulnerability guidance for Expo (#8177)
vonovak e22544e
Add Vulnerability in React Server Components to sidebarBlog.json (#8178)
SSakutaro cffb6a7
Specify that Effects run on commit, not render (#8162)
eps1lon 2a0fed0
12/11 blog post (#8193)
rickhanlonii 1a955f0
rm localhost link (#8194)
rickhanlonii 72f8998
Update instructions (#8195)
rickhanlonii e44d3b7
Add additional DoS CVE (#8196)
rickhanlonii 9527378
update nextjs instructions (#8197)
rickhanlonii 1e74023
[Blog] Update safe Next.js versions (#8199)
mattcarrollcode 2da4f7f
Update to Next.js 15.1.11 (#8200)
mattcarrollcode a1ddcf5
Add caveat to useId for cache keys (#8242)
rickhanlonii ed87618
Update DoS blog post with additional CVE (#8263)
rickhanlonii 303e6b4
Init claude config (#8265)
rickhanlonii 3938fbf
Update deps (#8268)
rickhanlonii dcc5deb
Add llms.txt (#8267)
gaearon 61b1f51
Add sections to llms.txt and sitemap footer to *.md (#8270)
rickhanlonii d340c41
Remove feedback (#8271)
rickhanlonii a2a19ba
feat: Add Accept header content negotiation for markdown (#8272)
icyJoseph ec13a90
remove outdated note about streaming ssr (#8277)
hernan-yadiel 24ec67e
fix: use beforeFiles (#8276)
icyJoseph 29743d0
Revamp useOptimistic docs (#8264)
rickhanlonii 4c52ab8
Update separating-events-from-effects.md (#8257)
wheresrhys 38b52cf
More claude stuff (#8280)
rickhanlonii ff17a86
fix: correct typos and improve clarity in useOptimistic.md (#8283)
aurorascharff e05afa5
useEffectEvent revamp (#8279)
rickhanlonii bd87c39
Rephrase the rendering explanation paragraph (#8240)
BartoszKlonowski f653b03
Add .worktrees/ to .gitignore (#8297)
rickhanlonii 46e040e
Fix date of CVE-2026-23864 (2025 => 2026) (#8302)
smikitky a19c98d
Fix confusion around Activity with text children (#8304)
eps1lon 55a317d
Rewrite useActionState (#8284)
rickhanlonii a1cc2ab
Added missing prop to useActionState example (#8308)
JakeSaterlay c2aa350
Expand ViewTransition callback props reference documentation (#8306)
rickhanlonii 68ff8c8
Add blog post: Launching the React Foundation (#8318)
mattcarrollcode e8ef063
Update logo credit link in uwu mode console log (#8315)
Cheesecake2960 dfa152b
[ViewTransition] Add docs for using with Activity (#8320)
rickhanlonii 11e4ad5
Add /write command (#8327)
rickhanlonii 427f24d
Add RSC Sandboxes (#8300)
rickhanlonii 180364f
Add Copy Page button (#8341)
gaearon 449d62c
Add ZurichJS Conference 2026 to community conferences
farisaziz12 7c90c6e
Update conferences: move past events (Sep 2025 – Feb 2026) to Past se...
aurorascharff 40ea071
Fix copy button on Safari
gaearon 1207ee3
fix: markdown rewrite excludes api/md paths (#8379)
icyJoseph e377252
Add no-trailing-spaces ESLint rule (#8356)
mattcarrollcode abe931a
fix: replace Imgur-hosted images with self-hosted assets (#8402)
travisbreaks 47e64bf
docs: Update Vite React Compiler setup for @vitejs/plugin-react@6.0.0...
MorikawaSouma 6ec6134
Update conferences list (#8450)
dai-shi 8bb31ac
Expand FragmentInstance reference docs (#8309)
jackpope b4610fb
Clarify useLayoutEffect setup timing (#8488)
MakenRosa ecf6c2f
Increase dark-mode button contrast (#8494)
aurorascharff fb3854a
Rewrite `use()` docs (#8305)
rickhanlonii b6e9b3c
[form] Document onSubmit event handler alongside action
aurorascharff 1f48fb4
[form] Refine onSubmit/action framing and address review
aurorascharff 93f6c27
fix: update use.md pitfall to make conditional calling clearer (#8499)
MaxwellCohen 12181ae
Fix broken internal link in Component reference (anchor) (#8344)
Srijan-D 152a471
Fix incorrect links on versions page (#8461)
hanityx 71654a3
fix: remove unused useContext import in sandbox examples (#8509)
DakshSinghDhami 853a7f7
Update version entries (#8507)
DakshSinghDhami d2f7153
Rewrite React Developer Tools section in tutorial-tic-tac-toe to use ...
vintas 2639f36
Tweak tutorial DevTools instructions (#8514)
gaearon 15299e5
Fix startTransition example to wrap setState after await (#8520)
Nabeel-akk 831150c
[use] Rework await vs use DeepDive to fix inaccurate framing (#8521)
aurorascharff e998664
Fix slow demo preview height (#8517)
TunaDev0 c3c956b
Update React repo owner (#8524)
eps1lon efaa3e5
[Suspense] Document what activates a boundary, with live examples (#8...
aurorascharff 26906f2
[Suspense] Polish activation examples (#8525)
aurorascharff ac61e37
[Suspense] Tune demo heights and section copy (#8526)
aurorascharff e51fc36
docs: wrap state updates after await in startTransition (#8443)
Dotify71 ef208e1
Dynamic OG images for docs pages (#8527)
aurorascharff 1dcc709
fix server functions page crashing on loading (#8531)
MaxwellCohen 6be2b02
Restructure the Meet the Team page around React's working groups and ...
mattcarrollcode 7b6c3ce
[og images] Resize long og image text (#8543)
aurorascharff 9e97ad0
Add upcoming conferences for React and CityJS (#8438)
arismarko c7d6b70
Add conditional use warning deeplink (#8567)
hoxyq 47a4080
Add/fix RN team member links (#8558)
huntie 383a1e9
Clarify Suspense link in useDeferredValue docs (#8591)
aurorascharff 30f453a
merging all conflicts
react-translations-bot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
.claude/agents/docs-reviewer.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| name: docs-reviewer | ||
| description: "Lean docs reviewer that dispatches reviews docs for a particular skill." | ||
| model: opus | ||
| color: cyan | ||
| --- | ||
|
|
||
| You are a direct, critical, expert reviewer for React documentation. | ||
|
|
||
| Your role is to use given skills to validate given doc pages for consistency, correctness, and adherence to established patterns. | ||
|
|
||
| Complete this process: | ||
|
|
||
| ## Phase 1: Task Creation | ||
| 1. CRITICAL: Read the skill requested. | ||
| 2. Understand the skill's requirements. | ||
| 3. Create a task list to validate skills requirements. | ||
|
|
||
| ## Phase 2: Validate | ||
|
|
||
| 1. Read the docs files given. | ||
| 2. Review each file with the task list to verify. | ||
|
|
||
| ## Phase 3: Respond | ||
|
|
||
| You must respond with a checklist of the issues you identified, and line number. | ||
|
|
||
| DO NOT respond with passed validations, ONLY respond with the problems. |
32 changes: 32 additions & 0 deletions
.claude/settings.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| { | ||
| "skills": { | ||
| "suggest": [ | ||
| { | ||
| "pattern": "src/content/learn/**/*.md", | ||
| "skill": "docs-writer-learn" | ||
| }, | ||
| { | ||
| "pattern": "src/content/reference/**/*.md", | ||
| "skill": "docs-writer-reference" | ||
| } | ||
| ] | ||
| }, | ||
| "permissions": { | ||
| "allow": [ | ||
| "Skill(docs-voice)", | ||
| "Skill(docs-components)", | ||
| "Skill(docs-sandpack)", | ||
| "Skill(docs-rsc-sandpack)", | ||
| "Skill(docs-writer-learn)", | ||
| "Skill(docs-writer-reference)", | ||
| "Bash(yarn lint:*)", | ||
| "Bash(yarn lint-heading-ids:*)", | ||
| "Bash(yarn lint:fix:*)", | ||
| "Bash(yarn tsc:*)", | ||
| "Bash(yarn check-all:*)", | ||
| "Bash(yarn fix-headings:*)", | ||
| "Bash(yarn deadlinks:*)", | ||
| "Bash(yarn prettier:diff:*)" | ||
| ] | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.