Commit Graph

56 Commits

Author SHA1 Message Date
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
Ricky
4df3124fa2 Fix caps for React concepts (#6712) 2024-03-26 23:39:39 -04: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
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
Lakshmi N
4ff80a59f7 Fix broken link (#6619) 2024-02-10 22:46:44 -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
Alen Ajam
6bfde58c10 docs: fix grammar (#6465) 2024-01-13 23:41:17 -05:00
Daniel Lo Nigro
9ce4afead6 Improve documentation for __html (#6499) 2023-12-19 17:23:51 -08:00
geeseyj
bb65ace6e0 Fix #6487 specify which Sandpack files go into a src directory (#6496)
* specify which sandbox files go in src directory

* fix some stragglers
2023-12-15 13:01:53 -08:00
Xiao Chuan
b1c4b4e6de useId add server rendering usage and server api add options (#6457)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2023-12-05 17:34:18 +01:00
Aki Matsumoto
aa0c547cd6 Fix: incorrect sample code in documentation related to Server action (#6445)
* Fix: component not returned

* Fix: missing function statement
2023-11-21 23:27:35 +00:00
Xuan Huang (黄玄)
4f9e9a5661 Capitalize word "Canary" (#6427)
Summary of changes:
See <https://github.com/reactjs/react.dev/pull/6417>

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-14 06:49:55 -08:00
Xuan Huang (黄玄)
42ca996138 Captailize Server Action (#6417)
Summary of changes:
"Server Action", like "Effect", is a React-specific notion
that would be benefited from captailization to be distinguished
from its genertic meaning.

It seems like [Next doc](https://nextjs.org/docs/app/api-reference/functions/server-actions)
has also adopted such connventions and we should probably do the same.

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-07 11:56:44 +00:00
DhanushShettyH
40a88fa9a0 Fix typoError Mentioned in issue (#6400) 2023-11-03 12:31:36 +05:30
Strek
5d2113b3b5 typos (#6390) 2023-10-27 10:47:28 +05:30
Matt Carroll
4b333ca000 Add <form> Component reference documentation (#6312)
Co-authored-by: Luna <lunaleaps@gmail.com>
2023-10-26 15:22:37 -07:00
Soichiro Miki
97e61d72b0 Fix broken links caused by #6164 (#6375) 2023-10-26 09:54:24 +05:30
David McCabe
6ef844b906 useFormState reference fixes (#6383)
* Add useFormState reference

* Matt's suggestions for useFormState reference

* Incorporated PR feedback for useFormState
2023-10-25 13:18:47 -07:00
David McCabe
5e40d13bcd Add useFormState reference (#6338)
Add useFormState reference
2023-10-25 10:40:39 -07:00
Julian Weiss
a0cacd7d3a Fix onScroll → onWheel typo in common-props (#6364) 2023-10-21 22:09:44 -07:00
Toru Kobayashi
10574e59a8 fix: add a missing import statement in useFormStatus.md (#6356)
* fix: add a missing import statement in useFormStatus.md

* Update src/content/reference/react-dom/hooks/useFormStatus.md

Co-authored-by: Ahmed Abdelbaset <A7med3bdulBaset@gmail.com>

---------

Co-authored-by: Ahmed Abdelbaset <A7med3bdulBaset@gmail.com>
2023-10-18 14:33:54 +05:30
dragonsuperf
b68e15a756 fix typo in react-dom/hooks (#6355) 2023-10-18 14:29:59 +05:30
Matt Carroll
90ca701621 Add useFormStatus Hook API reference documentation (#6314)
Co-authored-by: Luna Wei <luwe@fb.com>
2023-10-17 15:33:17 -07:00
Sophie Alpert
3cd1723658 Mention use as a Suspense-enabled data source (#6340)
Maybe it's debatable whether we want to link to canary APIs in other pages but I feel like here it's more useful than not.
2023-10-05 22:55:01 -07:00
Soheil Nazari
2ab8334171 Update common.md (#6290)
corrected links
2023-09-22 21:10:41 -07:00
Minu Kim
df9d90764a Fix flushSync.md grammar (#6282) 2023-09-06 01:48:30 -07:00
Néstor Guillermo Hernández
14629a7e19 Fix incorrect link in select.md (#6227)
Fix incorrect link in select.md
2023-09-05 14:39:45 -07:00
Néstor Guillermo Hernández
22d98782b9 Update correct link common.md (#6125) 2023-08-10 15:29:00 -07:00
Natsuo Kawai
fcc639b062 Fix IDs specified in the MDN page URLs (#6176) 2023-08-10 16:49:36 -04:00
Hyejun Lee
505f6510a3 Fix root-unmount returns (#6137) 2023-07-24 21:14:44 -04:00
Jiman Jeong
b452e7b613 docs: separate dot from hyperlink (#6140) 2023-07-24 21:11:36 -04:00
Soichiro Miki
6ebe2dd76d Fix "onFocus" description (#6168)
The "onFocus" is fired when an element receives focus, not loses.
2023-07-24 21:00:15 -04:00
Soichiro Miki
a132d8f355 Remove junk lines in common.md (#6167) 2023-07-24 20:59:14 -04:00
Ahmed Abdelbaset
ca93140eb9 Fix option's mdn link (#6080) 2023-06-02 17:12:16 +05:30
Serhii Palamarchuk
ad4f5c7c95 Update NextJs link (#6053) 2023-05-30 17:57:57 +01:00
Tunzeki
3364c93feb Fix typo: change "intermedinate" to "indeterminate" (#6062) 2023-05-24 00:04:02 +01:00
vicsantizo
bea2ff778d fix(typos): replace word "ever" with "every" (#6039) 2023-05-16 19:01:59 +01:00
Choi siun
fd8ba03f4d docs(types): Fix incorrect period positioning in common.md (#6040) 2023-05-16 19:01:40 +01:00
Viacheslav Makarov
ebc45f563e Remove unnecessary backticks breaking markdown highlighting (#6025) 2023-05-12 17:15:37 +01:00
Sébastien Lorber
8e24e40078 renderToReadableStream => renders a readable web stream (and not a Node.js stream) (#6001) 2023-05-05 17:01:08 +01:00
Matthew Runyon
8ed23b1a06 Add key param to createPortal reference (#5928)
* Add key param to createPortal reference

* Update createPortal.md

* Update createPortal.md

* Update createPortal.md

---------

Co-authored-by: dan <dan.abramov@gmail.com>
2023-04-29 03:21:36 +01:00
Namnika
54c1df178b Update common.md (#5914)
Fix: typo in "Animation Event Handler function" example
2023-04-12 17:15:42 +01:00