Commit Graph

6312 Commits

Author SHA1 Message Date
dan
cefd0cfbf9 Fix code formatting in useTransition
To match it elsewhere.
2023-11-06 22:55:03 +00:00
Soichiro Miki
617065b8be Fix style in React Reference Overview (#6410) 2023-11-06 14:11:40 -08:00
Soichiro Miki
55b9e04da0 Remove "canary: true" from useTransition in Sidebar (#6411) 2023-11-06 14:09:49 -08:00
Sophie Alpert
a8790ca810 Edits for new "use client" content (#6401)
* Edits for new "use client" content

* Apply suggestions from code review

Co-authored-by: Luna <lunaleaps@gmail.com>

---------

Co-authored-by: Luna <lunaleaps@gmail.com>
2023-11-03 11:00:40 -07:00
DhanushShettyH
40a88fa9a0 Fix typoError Mentioned in issue (#6400) 2023-11-03 12:31:36 +05:30
Víctor Medrano
f949428632 Add closing </p> tag (#6394) 2023-10-31 21:46:13 +05:30
Luna
9c60167bf9 'use client' - flesh out usages and reference (#6362)
Co-authored-by: Soichiro Miki <smiki-tky@umin.ac.jp>
Co-authored-by: David McCabe <davemccabe@gmail.com>
Co-authored-by: Luna Wei <luwe@fb.com>
2023-10-30 15:03:51 -07:00
Luna
49c2d7865b 'use server' fleshing out (#6384)
Co-authored-by: Sophie Alpert <git@sophiebits.com>
Co-authored-by: Luna Wei <luwe@fb.com>
2023-10-30 14:49:11 -07:00
Brian Johnson
81f15204af Adds Reference Overview Page (#6378)
* Adds landing page for reference section.)

* Updated hyperlinks.

* Fixes Legacy APIs link.

* Removes canary image from heading.
2023-10-30 17:43:07 -04:00
Sophie Alpert
4bdb87b172 Try to fix Google titles for directive pages (#6393)
https://twitter.com/sophiebits/status/1718042539650150609
2023-10-27 19:48:24 -07:00
Sophie Alpert
b8acf016dc Remove meta description from most pages (#6392)
Google uses this on many of our API doc pages and it's not a good snippet. Only put this on the homepage but leave the og:description and twitter:description.
2023-10-27 16:30:20 -07:00
Kathryn Middleton
46b45fb873 Add useOptimistic Hook API reference documentation (#6377)
* Add useOptimistic API reference documentation

* Fix title

* Add working exmaple from form and updadd parameters

* Add updates to useOptimistic

* Add updates to useOptimistic

* Add updates to useOptimistic

---------

Co-authored-by: Matt Carroll <mattca@meta.com>
2023-10-27 11:15:07 -07:00
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
Kevin Farrugia
f6b7f9e9be Removed canary: true from useTransition.md (#6389) 2023-10-26 16:18:29 +01:00
Dominik Dorfmeister
6a94b72b2f docs: update link to React Query (#6369) 2023-10-25 22:49:20 -07:00
Nikhil Gupta
76c1bde5c7 Using strict equality in the JS example for City Quiz (#6373)
Co-authored-by: Nikhil Gupta <nikhil.gupta5667@gmai.com>
2023-10-25 22:48:43 -07:00
Strek
a272f0cf23 chore: fix typos (#6387) 2023-10-26 09:56:55 +05:30
Soichiro Miki
97e61d72b0 Fix broken links caused by #6164 (#6375) 2023-10-26 09:54:24 +05:30
Eli White
df3ec65db1 Fix typo in experimental_taintObjectReference (#6385) 2023-10-25 17:40:15 -07:00
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
Sophie Alpert
2779615e64 Warn about low entropy in taintUniqueValue.md (#6379)
* Warn about low entropy in taintUniqueValue.md

* Update src/content/reference/react/experimental_taintUniqueValue.md

Co-authored-by: Jan Kassens <jan@kassens.net>

---------

Co-authored-by: Jan Kassens <jan@kassens.net>
2023-10-24 15:00:26 -07:00
Kathryn Middleton
63f9470249 Add Error Boundary to useTransition API docs (#6354)
* Add Error Boundary to useTransition docs

* add Error Boundary to useTransition

* Use Canary

* Add Error Boundary to useTransition API docs

* Update src/components/MDX/Sandpack/Preview.tsx

Co-authored-by: Jan Kassens <jan@kassens.net>

* Update src/content/reference/react/useTransition.md

Co-authored-by: Luna <lunaleaps@gmail.com>

* Update src/content/reference/react/useTransition.md

Co-authored-by: Luna <lunaleaps@gmail.com>

* Add Error Boundary to useTransition docs

* add Error Boundary to useTransition

* Use Canary

* Add Error Boundary to useTransition API docs

* Update src/components/MDX/Sandpack/Preview.tsx

Co-authored-by: Jan Kassens <jan@kassens.net>

* Update src/content/reference/react/useTransition.md

Co-authored-by: Luna <lunaleaps@gmail.com>

* Update src/content/reference/react/useTransition.md

Co-authored-by: Luna <lunaleaps@gmail.com>

* Address comments and update usage example

* Address comments and update usage example

* Update src/content/reference/react/useTransition.md

Co-authored-by: Luna <lunaleaps@gmail.com>

---------

Co-authored-by: Jan Kassens <jan@kassens.net>
Co-authored-by: Luna <lunaleaps@gmail.com>
2023-10-24 14:26:01 -07:00
Soichiro Miki
bbdbaca1ef Fixes related to "Your UI as a Tree" (#6374) 2023-10-24 12:06:25 -07:00
Kathryn Middleton
717f9b5da0 Remove unsupported ga-lite and update existing calls to GA4 (#6366)
* Cleanup old ga-lite tag and refactor GA4

* cleanup

* cleanup2
2023-10-24 07:35:15 -07:00
Julian Weiss
a0cacd7d3a Fix onScroll → onWheel typo in common-props (#6364) 2023-10-21 22:09:44 -07:00
Matt Carroll
16f90a936a Minor fixes to Understand Your UI as a Tree learn doc (#6365) 2023-10-20 14:00:10 -07:00
Luna
9af01e2bb2 Describing Your UI > Your UI as a tree (#6334)
Co-authored-by: Luna Wei <luwe@fb.com>
2023-10-19 09:12:51 -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
Yoshitaka Terazawa
5750680120 docs: Remove unnecessary when (#6344) 2023-10-17 19:43:37 -07:00
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
Alex P. Andrade
d22efb32f1 Added new meetup in Saskatoon - SK (#6341)
Added new meetup in Saskatoon - SK
2023-10-17 10:59:50 +05:30
Kathryn Middleton
31b7881905 Add GA4 tag to react.dev (#6350) 2023-10-16 15:03:02 -04:00
Soichiro Miki
e85b71de88 Add 'ja' to deployedTranslations (#6351) 2023-10-13 16:51:15 +05:30
Rogin Farrer
900a6693ef Upgrade react-collapsed (#5893)
* Upgrade react-collapsed

* 4.0.4

---------

Co-authored-by: Rogin Farrer <rfarrer@wayfair.com>
2023-10-10 21:50:12 -04:00
Matt Carroll
43f4702f78 Fix typo in typescript.md (#6347) 2023-10-10 18:19:58 -07:00
Sophie Alpert
f2c45ea17f Add labs icon to experimental APIs (#6346) 2023-10-09 11:57:24 -07:00
Sophie Alpert
88af66dbd1 Fix comma splice 2023-10-09 11:23:04 -07:00
Sophie Alpert
fdad54db4c Explain limitations of useSyncExternalStore with concurrency (#6339)
* Explain limitations of useSyncExternalStore with concurrency

Doesn't seem like we have this noted anywhere.

* Pull out example to code block
2023-10-09 11:06:26 -07:00
Sebastian Markbåge
9aa84b1922 Add Experimental Taint API Docs (#6337)
Co-authored-by: Matt Carroll <mattca@meta.com>
2023-10-06 14:39:04 -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
Ruben Amendoeira
c45fa10a95 Fix "primatives" typo in cache.md (#6335) 2023-10-04 22:37:52 -07:00
Sebastian Silbermann
68f417a600 Explain how null ends up in ref.current for React-managed refs (#5836)
* Update referencing-values-with-refs.md

* Update src/content/learn/referencing-values-with-refs.md
2023-10-01 12:16:27 +02:00
Alain Kaiser
1dfc88fe46 fix: typo in useMemo example (#6330) 2023-10-01 14:55:16 +05:30
Sourabh singh
d4c214ad10 Update Page not found to React18 URL (#6320)
* Update react-labs-what-we-have-been-working-on-june-2022.md

* Update react-labs-what-we-have-been-working-on-june-2022.md
2023-09-28 17:23:39 +05:30
Lee Robinson
850327d056 Update "Start a new React project" for stable Next.js App Router (#6020) 2023-09-27 22:55:16 -04:00
Krzysztof Piaskowy
8afb1ef5fc Add info about App.js 2024 conference (#6192)
Co-authored-by: Luna <lunaleaps@gmail.com>
2023-09-26 14:00:24 -04:00
Matan Borenkraout
01c31630f9 fix: wrong parameter name defined in explanation (#6158) 2023-09-26 00:10:41 -04:00