Kunall Banerjee
37b09ea82c
fix: typo in docs on prerendering ( #7823 )
2025-06-03 13:03:40 -04:00
minami yoshihiko
c60173f9a4
docs: Refactor context provider usage ( #7793 )
...
* delete provider
* Fix NavContext usage in Talks component
* Fix TocContext and LanguagesContext usage in Page component
* Fix IllustrationContext usage in IllustrationBlock component
* Fix LevelContext and TasksContext usage in managing-state.md
* Fix ThemeContext and Context usage in MyApp component
* Fix HighlightContext usage in List component
* Fix ThemeContext usage in MyApp component
* Fix ErrorDecoderContext usage in ErrorDecoderPage component
* Fix ThemeContext usage in MyPage and MyApp components
* Fix ThemeContext usage in MyApp component
* Fix useContext documentation to correct context provider references
* Fix context provider references in createContext documentation
* prettier
* Update src/content/reference/react/createContext.md
---------
Co-authored-by: Ricky <rickhanlonii@gmail.com >
2025-06-03 12:29:34 -04:00
Jan Kassens
87cef4a918
Remove forwardRef reference from API listing ( #7837 )
...
This API is now under "Legacy APIs" and should probably no longer be listed as a "modern API".
2025-06-03 12:28:27 -04:00
John Kapantzakis
3dcc4c4ac0
Fix typo and clarily that a server function reference is created only when that function is used by a Client Component ( #7746 )
2025-06-02 12:34:02 -04:00
G. van Dorland
a2d17d1218
Update components-and-hooks-must-be-pure.md ( #7830 )
...
Some grammar fixes, and language clarifications
2025-06-02 12:15:13 -04:00
Dmitry Titov
9db23d6129
fix: correct broken WAI-ARIA modal dialog link in createPortal reference ( #7833 )
...
* fix link from ARIA dialog-modal
* chore: trigger CLA recheck
2025-06-02 11:34:46 -04:00
Josh Story
2571aee6db
Author: Josh Story <story@hey.com>
...
Date: 2025-05-21 11:01:46 -0700
clarify the nonce and signal options for prerender docs
clarifies why nonce is not an option for prerender APIs.
clarifies how you would use signal to abort a prerender with in page documentation
2025-05-21 11:01:59 -07:00
Xleine
f275c9d3c2
fix: remove useless content ( #6615 )
2025-05-16 19:46:53 -07:00
Ajit
00587d6991
Add example of useActionState handling execution order ( #7733 )
2025-05-16 14:27:51 -04:00
Ryosuke Hoda
9fb051933b
fix(reference): correct singular form of 'Server Functions' to 'Server Function' ( #7749 )
2025-05-16 13:55:34 -04:00
Mehmet Mallı
a73055f821
docs: fix misplaced prepositional phrase error ( #7799 )
2025-05-16 11:58:25 -04:00
Ricky
a3e9466dfe
fix action pattern in useTransition / useOptimistic ( #7796 )
...
* fix action pattern in useOptimistic
* update useTransition too
2025-04-30 10:18:55 -04:00
Ricky
d6c4c0fee5
Fix useOptimistic example ( #7792 )
...
* fix useOptimistic example
* prepend messages
2025-04-29 18:07:34 -04:00
Dhuruv Bansal
92dfd8c00c
fixed typo ( #7785 )
2025-04-28 14:45:03 -04:00
Nick Walker
ecf75969ef
docs: rename unstableViewTransition to unstable_ViewTransition ( #7778 )
2025-04-27 19:40:25 +01:00
Aakansha Doshi
d05547b9b8
fix: server-components link in few pages ( #7780 )
2025-04-26 17:54:12 +01:00
Ricky
358d2be565
[blog + docs] React Labs: View Transitions, Activity, and more ( #7772 )
...
* init
* Add new error
* Bunch of updates
* Add addTransitionType
* Add Activity
* Expand on Activity
* Expand more on Activity
* Start on vt examples
* wip
* wip
* wip 2
* bump deploy
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* init
* Add new error
* Bunch of updates
* Add addTransitionType
* Add Activity
* Expand on Activity
* Expand more on Activity
* Start on vt examples
* wip
* wip
* wip 2
* bump deploy
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update existing VT examples to use video items
* Suspense animation example
* Add customization example
* typos
* Remove TODOs -- we might still want these but cutting scope
* Address wp feedback
* Fix reorder example
* wip
* wip
* wip
* wip
* fix activity iframe resize
---------
Co-authored-by: Jack Pope <jackpope1@gmail.com >
2025-04-23 11:27:48 -04:00
John Kapantzakis
4bea66b021
Change the word 'Function' to 'Component' ( #7741 )
...
* Change the word 'Function' to 'Component'
* Trigger actions
2025-04-16 16:09:11 -04:00
Kafuu-Chinocya
3c805e7da3
fix(reference): missing parameter in hydrateRoot ( #7724 )
2025-04-15 09:59:36 +02:00
Jakub Beneš
e148ffec82
Add note about root.render microtask scheduling ( #7717 )
...
Co-authored-by: Sebastian "Sebbie" Silbermann <sebastian.silbermann@vercel.com >
2025-04-08 13:44:12 +02:00
Yadiel Vélez
6ead1fae68
Add note about useId being allowed in non-async Server Components ( #7715 )
2025-04-07 12:35:20 +02:00
Ricky
3dfa3bdd23
Fix heading links in StrictMode ( #7713 )
2025-04-02 11:36:56 -04:00
Mysh!
b5c16dcffa
fix(reference): declare subscribe before passing it to the hook ( #7711 )
2025-04-02 11:35:25 -04:00
Sebastian "Sebbie" Silbermann
b77c05d807
Misc captureOwnerStack cleanup after stable release ( #7710 )
...
1. Stop using `canary` for `captureOwnerStack` sandboxes
1. Remove remaining Canary badges from `captureOwnerStack` mentions
2025-04-02 10:52:21 +02:00
Ricky
38ee8d2a4f
Add note about StrictMode not as the root component ( #7702 )
2025-03-31 12:58:06 -04:00
Jack Pope
9f87530c0e
Remove captureOwnerStack canary banner ( #7701 )
...
* Remove captureOwnerStack canary banner
* Update nav and site config
2025-03-31 12:36:35 -04:00
Alberto Velandia
6788f6bade
Fixes typo ( #7688 )
2025-03-24 18:47:47 -04:00
Sam Ko
4a4e579fdb
docs(hydrateRoot): update suppressHydrationWarning behavior ( #7651 )
2025-02-26 21:08:17 +01:00
Asha Armstrong-Zaid
fc29603434
Fix 'optimistically updating form data' demo bug ( #7646 )
...
This is the exact same fix as #6422 as the example is duplicated between the useOptimistic and <form> pages.
2025-02-22 17:30:13 +00:00
Sam Ko
dcaf07efd1
chore(docs): add mention that React will drop all extraneous props for <style> when using the precedence property ( #7643 )
2025-02-21 17:03:22 -08:00
Joonyoung Hong
a42121e479
fix: correct typo in hydrateRoot.md ( #7637 )
2025-02-20 10:59:42 -08:00
Pier-Luc Caron St-Pierre
55d1f8fab6
Update input.md ( #7418 )
...
* Update input.md
Fix typo about input
* Update src/content/reference/react-dom/components/input.md
---------
Co-authored-by: Ricky <rickhanlonii@gmail.com >
2025-02-18 00:50:24 -05:00
Alex Safian
126d8c9aa5
Update nextjs link with the latest URL ( #7389 )
...
* Update nextjs link with the latest URL
The previous link redirected users to a 404 page.
* Update src/content/reference/react/useDeferredValue.md
---------
Co-authored-by: Ricky <rickhanlonii@gmail.com >
2025-02-18 00:43:08 -05:00
Hyun Don Moon
ff12973def
Fix error in second code snippet under Server Functions with Actions ( #7414 )
2025-02-18 00:35:39 -05:00
Tim Parsons
32cb13a959
updated incorrect logic ( #7482 )
2025-02-17 23:57:11 -05:00
Ricky
aaf392ae24
Fix more broken links ( #7628 )
2025-02-17 23:39:05 -05:00
Sebastian "Sebbie" Silbermann
dfc4448e0d
Reference docs for captureOwnerStack ( #7427 )
...
Co-authored-by: Ricky <rickhanlonii@fb.com >
2025-02-13 21:01:52 +01:00
Renato Dell'Osso
305db5f269
Capitalized Suspense in a few files ( #7449 )
2025-01-27 12:34:36 -05:00
Ryan Christian
9001bc6f23
docs: Correct var reference in prerender example ( #7434 )
2025-01-27 12:34:16 -05:00
Sruthi Krishnakumar
4d44167a43
import missing useState in the useEffect markdown file ( #7457 )
2025-01-27 11:25:15 -05:00
Sophie Alpert
7cdbed03a6
Mention startTransition in useActionState docs ( #7448 )
2025-01-24 09:25:14 -08:00
slavgetov
b03017aaee
fix typo ( #7440 )
2025-01-21 21:39:10 +05:30
Sebastian "Sebbie" Silbermann
ee8a829f99
Disallow /index.html in sandboxes ( #7430 )
2025-01-14 20:29:35 +01:00
Azzyxec
9c4bc2881b
Update server-functions.md ( #7396 )
...
In the section "Importing Server Functions from Client Components"
updated "createNoteAction" to "createNote" to match the function name in the example
2025-01-09 12:05:12 +05:30
Matt Carroll
6ae99dddc3
Remove forwardRef references from useRef and Manipulating the DOM with Refs pages ( #7364 )
2024-12-20 10:45:30 -08:00
Batuhan Tomo
1517494944
refactor: remove unused useTransition import in App.js and update documentation for clarity ( #7377 )
2024-12-19 17:43:41 +00:00
Sebastian "Sebbie" Silbermann
8e41e32c50
Inline stylesheets are not Suspensey yet ( #7378 )
2024-12-19 08:25:32 -08:00
Sebastian Ong
c37fdd38ff
Remove forwardref from useImperativeHandle docs ( #7360 )
...
* fix: remove forwardref from useImperativeHandle docs
* Make changes more focused
* Update useImperativeHandle.md
---------
Co-authored-by: dan <dan.abramov@gmail.com >
2024-12-16 16:25:07 +00:00
Soichiro Miki
8ac5531913
Rename remaining "Server Actions" ( #7352 )
2024-12-16 16:11:21 +00:00
Soichiro Miki
204b3f1975
Remove canary flag from useFormStatus ( #7349 )
2024-12-16 16:11:06 +00:00