6957 Commits

Author SHA1 Message Date
Jake Saterlay
a1cc2ab4bf Added missing prop to useActionState example (#8308)
* added missing prop to useactionstate example

* remove pending from total in first example
2026-02-16 19:09:12 -05:00
Ricky
55a317d407 Rewrite useActionState (#8284)
* Claude update for useActionState

* Human edits

* Feedback

* Add link to form action docs

* oops

* claude feedback

* Add error handling example.

* Better useOptimistic and pending states.

* Move up "cancelling queued actions" and update form example pending state

* Ooops

* Troubleshooting updates

* Feedback
2026-02-16 00:08:26 +08:00
Sebastian "Sebbie" Silbermann
a19c98de4e Fix confusion around Activity with text children (#8304) 2026-02-12 11:30:46 +01:00
Soichiro Miki
46e040e4e6 Fix date of CVE-2026-23864 (2025 => 2026) (#8302) 2026-02-11 10:42:46 +01:00
Ricky
f653b03758 Add .worktrees/ to .gitignore (#8297)
Prevent worktree contents from being tracked.
2026-02-10 13:18:04 -05:00
Bartosz Klonowski
bd87c394dc Rephrase the rendering explanation paragraph (#8240)
This commit fixes the wording of __Rendering__ explanation paragraph
in the "components and hooks must be pure" page, according to the suggestion
so that it's easier to understand without any confusion around effects relation.
2026-02-05 11:44:28 -05:00
Ricky
e05afa56d3 useEffectEvent revamp (#8279) 2026-02-04 09:52:05 -05:00
Aurora Scharff
ff17a86ec8 fix: correct typos and improve clarity in useOptimistic.md (#8283) 2026-02-02 09:32:34 +01:00
Ricky
38b52cfdf0 More claude stuff (#8280)
* More claude stuff

* more stuff from uee edit

* revert
2026-01-30 14:54:45 -05:00
Rhys Evans
4c52ab89e5 Update separating-events-from-effects.md (#8257)
Removed an extraneous "a" from the text
2026-01-30 11:53:53 -08:00
Ricky
29743d0e49 Revamp useOptimistic docs (#8264)
* 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
2026-01-30 14:32:34 -05:00
Joseph
24ec67ee2e fix: use beforeFiles (#8276) 2026-01-30 08:28:43 -05:00
Yadiel Vélez
ec13a90a36 remove outdated note about streaming ssr (#8277) 2026-01-29 17:23:10 +01:00
Joseph
a2a19bae5f feat: Add Accept header content negotiation for markdown (#8272) 2026-01-28 15:48:01 -05:00
Ricky
d340c41ba5 Remove feedback (#8271) 2026-01-28 11:44:02 -05:00
Ricky
61b1f51283 Add sections to llms.txt and sitemap footer to *.md (#8270)
* Add sections to llms.txt

* Also add sitemap footer
2026-01-28 11:43:24 -05:00
dan
dcc5deb2f7 Add llms.txt (#8267)
Co-authored-by: artimath <ryanjhunter@gmail.com>
2026-01-27 22:12:02 -05:00
Ricky
3938fbfac5 Update deps (#8268) 2026-01-27 21:58:22 -05:00
Ricky
303e6b4c6d Init claude config (#8265) 2026-01-27 10:22:10 -05:00
Ricky
ed876185c3 Update DoS blog post with additional CVE (#8263) 2026-01-26 14:10:27 -05:00
Ricky
a1ddcf51a0 Add caveat to useId for cache keys (#8242) 2026-01-16 13:27:58 -05:00
Matt Carroll
2da4f7fbd9 Update to Next.js 15.1.11 (#8200) 2025-12-11 17:06:56 -08:00
Matt Carroll
1e74023dd2 [Blog] Update safe Next.js versions (#8199) 2025-12-11 17:01:10 -08:00
Ricky
9527378306 update nextjs instructions (#8197) 2025-12-11 16:18:26 -08:00
Ricky
e44d3b70a0 Add additional DoS CVE (#8196) 2025-12-11 18:55:34 -05:00
Ricky
72f8998872 Update instructions (#8195) 2025-12-11 17:15:41 -05:00
Ricky
1a955f0323 rm localhost link (#8194) 2025-12-11 16:18:58 -05:00
Ricky
2a0fed0150 12/11 blog post (#8193) 2025-12-11 15:12:39 -05:00
Sebastian "Sebbie" Silbermann
cffb6a7b7d Specify that Effects run on commit, not render (#8162) 2025-12-11 07:27:20 +01:00
Sakutaro
e22544e68d Add Vulnerability in React Server Components to sidebarBlog.json (#8178) 2025-12-05 18:34:42 +01:00
Vojtech Novak
5876ed5a11 blog: update RSC security vulnerability guidance for Expo (#8177) 2025-12-05 18:32:09 +01:00
Matt Carroll
d8b1fe88a9 Upgrade Next from 15.1.0 to 15.1.9 (#8175) 2025-12-04 08:56:58 -08:00
Daishi Kato
ac47e52973 Update upgrade instructions for React Server Components (Waku section) (#8176) 2025-12-03 21:58:20 -05:00
Sebastian "Sebbie" Silbermann
0828d503a2 Update React releases (#8173) 2025-12-03 19:00:16 +01:00
Ricky
e2b59dab82 add update instructions (#8172) 2025-12-03 11:49:15 -05:00
Felix Traxler
9c880bd13b fix: use correct function name (#8171) 2025-12-03 17:39:29 +01:00
Ricky
4704ce62a0 blog post (#8170) 2025-12-03 10:41:04 -05:00
Soichiro Miki
2534424ec6 fix: Stop SmartyPants from altering TerminalBlock commands (like --save-dev to —save-dev) (#8146)
* Skip smartypants on TerminalBlock

* Improve TerminalBlock HTML tags

* Remove unnecessary TerminalBlock escapes from docs

* Bump DISK_CACHE_BREAKER
2025-11-15 12:47:29 +09:00
Uladzislau Hramyka
27576f10bd fix(useTransition): correct anchors pointing to non-blocking updates section (#8143) 2025-11-14 23:22:13 +09:00
Oke Kehinde
b440d6698f fix(links): update internal links (#8136) 2025-11-10 14:22:50 -05:00
PaulyBearCoding
d271a7ac11 Fix incorrect condition in "Chains of computations" example (#8109)
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>
2025-11-05 21:25:46 -05:00
Emmanuel Valentin
6a708898a6 Fix typo in childIds array in initialTravelPlan (#8112) 2025-11-05 17:21:05 -05:00
WuMingDao
abd1fe01db docs: Remove redundant symbols ‘ “ ’ (#8101) 2025-11-05 16:39:44 -05:00
Hichem
9c0763d38a fix: correct links for Redwood and TanStack (#8121)
* 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
2025-11-05 16:11:14 -05:00
dan
5c632dc8fb Nit: wording 2025-11-05 18:41:50 +09:00
martin rebo
f020b53d8b docs: add missing 'Static APIs' link to React DOM reference page (#8127) 2025-11-05 18:39:59 +09:00
Joshua Comeau
f9e2c13967 Remove 'esquery' hack to potentially enable Turbopack (#8115)
* Remove esquery hack

* Add comment explaining next.config change
2025-11-01 13:11:49 +09:00
임승진
e57e912285 docs(blog): Add 'React 19.2' to blog sidebar (#8113) 2025-10-31 20:04:05 +09:00
Johanna Kveton
c0af2d01cb Add note on error boundary limitations (#8108) 2025-10-29 19:49:24 +01:00
lauren
2c7798dcc5 Fix typo in react compiler blog post date (#8091)
Fix a small typo
2025-10-20 13:31:58 -04:00