eps1lon
be631ebd80
renderToMarkup -> renderToHTML
2024-08-14 09:31:50 +02:00
eps1lon
c0bd72d2c7
react-markup reference
2024-08-14 09:27:41 +02:00
Oliver Joseph Ash
6671ba7b77
Document behaviour of setting state inside useLayoutEffect ( #7096 )
...
Co-authored-by: Sebastian Silbermann <sebastian.silbermann@vercel.com >
2024-08-07 11:46:23 +02:00
Immerse
c36bd39fbd
docs(api-act): api act parts word error ( #6939 )
2024-06-12 11:19:12 +02:00
Sanjaiyan Parthipan
73a8d9c194
Update preinit.md 📜 ( #6938 )
...
Fix very minor typo
2024-06-12 11:18:38 +02:00
Kasper Aamodt
04b5d4402d
Small typo - Update cache.md ( #6935 )
2024-06-12 11:17:20 +02:00
Sebastian Silbermann
c116c426d1
Remove mention of Suspensey <script /> ( #6945 )
2024-06-12 10:28:39 +02:00
Jack Pope
12fca4c24f
Add act documentation ( #6901 )
...
* Add act documentation
* Update structure based on feedback
* Add usage examples and async act
---------
Co-authored-by: Rick Hanlon <rickhanlonii@fb.com >
2024-05-28 15:05:05 -04:00
Rachit Jain
c3bc5affa0
FIX: Typo in useEffect.md caveats ( #6911 )
...
* FIX: Typo in useEffect.md caveats
* Fix another typo
2024-05-25 13:46:42 +05:30
Ricky
ef23197db1
Clarify useEffect caveats ( #6910 )
2024-05-24 16:04:03 -04:00
Josh Story
a25bd4be4a
Clarify precedence is arbitrary valued ( #6908 )
...
The docs for stylesheet precedence incorrectly state that there is an enumerated set of valid precedences. This is incorrect. The precedence value can be anything and React infers the hierarchy from the order in which it discovers precedences
2024-05-23 15:48:25 -07:00
Ricky
68c0f85fd4
s/beta/rc ( #6906 )
2024-05-23 12:29:36 -04:00
Yousef M. El-Gohary
9967ded394
Fix the order of the returns of useActionState ( #6864 )
2024-05-18 22:36:13 -04:00
Soichiro Miki
8bb3eb3c44
Fix typo (spreadsheet => stylesheet) ( #6750 )
2024-05-18 21:56:42 -04:00
Rajat Jindal
a81e415554
Change React dependency version in <form> page fix ( #6858 )
...
Co-authored-by: Rajat Jindal <rajat@testing.com >
2024-05-13 13:47:37 +02:00
Batuhan Tomo
f9b9b66e0b
Fix #6852 : navigation link fix ( #6853 )
2024-05-10 13:56:43 +05:30
Sean W. Lawrence
d4a9a76844
Fix typo in server-components.md ( #6829 )
2024-05-03 11:45:35 +05:30
Mehdi KHALIL EL OUADGHIRI
7062b8dab1
Update server-components.md - typo ( #6823 )
...
Typo Node => Note
2024-05-01 09:13:29 -04:00
Sebastian Silbermann
3dd67d1420
Fix type issues with useActionState docs ( #6798 )
2024-04-30 08:57:48 +02:00
Srikanth Kandi
057f35cc4d
Replaced all instances of /react to /rsc ( #6797 )
2024-04-26 11:36:22 +02:00
Josh Story
9aa8e8275c
refines the messaging to clarify that Server Components the feature is stable but the packages you work with as a framework and bundler will approach API stability ( #6782 )
2024-04-25 14:25:52 -07:00
Ricky
191852ad46
Add blog posts for React 19 Beta ( #6778 )
...
* Blog posts for React 19
* Feedback
* Feedback
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
* Thanks
* Apply suggestions from code review
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
* Feedback
* nit
* Issue link
---------
Co-authored-by: Josh Story <josh.c.story@gmail.com >
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
2024-04-25 15:40:09 -04:00
Jan Kassens
4f5501088e
Rename useFormState to useActionState ( #6776 )
...
* move useFormState api
* add redirect
* use React DOM as the name
2024-04-25 13:59:37 -04:00
Jan Kassens
9fb2f0dd12
Move use to APIs ( #6774 )
2024-04-24 15:58:09 -04:00
Jack Pope
cdd2fdd59f
Add documentation for ref cleanup functions ( #6770 )
...
* Add documentation for ref cleanup functions
* Contain changes within canary block
2024-04-24 12:54:48 -04:00
Andrew Clark
07cbd001f9
API docs for useDeferredValue's initialValue ( #6747 )
...
* API docs for useDeferredValue's initialValue
Updates the API docs for `useDeferredValue` to include the
`initialValue` option, added in
https://github.com/facebook/react/pull/27500 .
This feature is slated for release in React 19.
* Add docs for onCaughtError and onUncaughtError (#6742 )
* Add docs for onCaughtError and onUncaughtError
* Updates from feedback
* Add canary info, simplify a bit
---------
Co-authored-by: Ricky <rickhanlonii@fb.com >
2024-04-22 10:45:08 -04:00
Ricky
db2dc7f987
Add docs for onCaughtError and onUncaughtError ( #6742 )
...
* Add docs for onCaughtError and onUncaughtError
* Updates from feedback
2024-04-11 08:58:59 -04:00
Soichiro Miki
342fddb04f
Revert inappropriate capitalization of "Transition" ( #6746 )
2024-04-10 11:19:19 -04:00
Siarhei Bobryk
93177e6cea
fix(rules-of-react): "everytime" -> "every time" ( #6737 )
2024-04-06 11:35:00 +02:00
Ahsan Moin
307679521b
chore: fix typos ( #6723 )
...
`an text area` -> `a text area`
`an discussion` -> `a discussion`
2024-03-29 12:03:19 -07:00
Eda
6436bd9bf8
Fix typo in components-and-hooks-must-be-pure.md ( #6724 )
2024-03-29 14:58:23 -04:00
Ricky
4df3124fa2
Fix caps for React concepts ( #6712 )
2024-03-26 23:39:39 -04:00
Ricky
5a45b53b6e
Fix hover styles in strictmode docs ( #6705 )
2024-03-23 11:51:37 -04:00
lauren
f55d9487c6
Reorder rules of react summary in reference index ( #6698 )
...
Small change to match the sidebar order.
2024-03-15 11:53:19 -07:00
lauren
0dc1b315e5
Add initial Rules of React docs ( #6680 )
...
This PR adds a new Rules of React reference section that covers the major rules that help developers author idiomatic React apps.
---------
Co-authored-by: Sathya Gunasekaran <gsathya.ceg@gmail.com >
2024-03-15 09:00:17 -07:00
lauren
1a839ff74e
Remove links to localhost ( #6696 )
...
It seems like these localhost references were being stripped out anyway,
so this isn't a bugfix but just a small cleanup.
2024-03-14 07:44:40 -07:00
Matt Michel
265fa26e3b
Update small typo in useDeferredValue.md ( #6673 )
...
* Update useDeferredValue.md
change text from "re-render in background" to "re-render in the background"
* Update useDeferredValue.md
Change instances of "in background" to "in the background".
2024-03-03 17:26:51 -05:00
Ricky
a853e69261
Remove useMemo from useFormStatus example ( #6658 )
...
* Remove useMemo from useFormStatus example
* nits
2024-02-24 10:35:53 -05:00
Sebastian Silbermann
e16634aaaa
Add options to call signature of react-dom/server legacy APIs ( #6477 )
...
* Update renderToNodeStream.md
* Update renderToStaticMarkup.md
* Update renderToStaticNodeStream.md
* Update renderToString.md
2024-02-20 15:13:33 -05:00
Felipe Oliveira
35530eea4b
[typo] syntax looks wrong #6633 ( #6641 )
2024-02-18 19:59:25 +01:00
Devon Govett
156765fc76
Fix localhost link in script documentation ( #6642 )
2024-02-17 16:42:14 -05:00
이동현
a21a942db9
Fix typo ( #6628 )
2024-02-13 22:55:09 -08:00
Romain Trotard
bb3a0f5c10
Fix some typos ( #6478 )
...
* Fix some typos
* Fix another typo
2024-02-11 15:19:02 -05:00
Lakshmi N
4ff80a59f7
Fix broken link ( #6619 )
2024-02-10 22:46:44 -05:00
Dhanraj Acharya
6ae9922b44
Update index.md ( #6622 )
...
Fix the grammar in the documentation.
2024-02-10 22:38:00 -05:00
Matt Carroll
c118938237
Fix SandpackWithHTMLOutput to use src dir ( #6613 )
2024-02-06 09:36:18 -08:00
David McCabe
2372ecf920
Initial docs for DOM static resource loading functions ( #6459 )
...
* Initial docs for Float functions: preconnect, prefetchDNS, preinit, preinitModule, preload, preloadModule
2024-02-02 12:38:09 -08:00
David McCabe
8ba877204d
Initial Float docs for hoistable/semantic elements ( #6486 )
...
* Initial Float docs for hoistable/semantic elements
2024-02-02 12:37:48 -08:00
Sophie Alpert
5bc1d264d4
Add useFormState permalink arg ( #6402 )
2024-01-25 16:57:52 -08:00
Ahmed Abdelbaset
82723c1b4d
Remove url origin to match all translation forks ( #6516 )
...
* Update use-server.md
* Update form.md
* Update input.md
* Update react-labs-what-we-have-been-working-on-march-2023.md
* Update react-labs-what-we-have-been-working-on-june-2022.md
---------
Co-authored-by: Ricky <rickhanlonii@fb.com >
2024-01-17 21:23:33 -05:00