Commit Graph

6286 Commits

Author SHA1 Message Date
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
jajima
2dbd19531f Fix an incorrect person's name (#6066) 2023-09-25 23:56:16 -04:00
JustLolo
62b9b4519b Main (#5963) 2023-09-25 23:34:02 -04:00
Luna
4df3e7cf18 Remove pitfall and update Next link (#6318)
* Remove pitfall and update Next link

* Fix other beta link

---------

Co-authored-by: Luna Wei <luwe@fb.com>
2023-09-25 22:53:26 -04:00
Ahmed Abdelbaset
91e7f697d8 Update tutorial error message to use ConsoleBlock 2023-09-25 08:08:59 -07:00
Xavi Lee
2390627c9c fix links (#6286) 2023-09-22 23:01:57 -07:00
Mori
1758515a20 Fix text in docs (#6253)
* delete unused useState import

* add word to equalize challenge and solutions texts

* Refactor some texts

* Apply suggestions from code review

---------

Co-authored-by: Sophie Alpert <git@sophiebits.com>
2023-09-22 21:33:22 -07:00
JSerDev
a1fbcf8e26 Update useEffect.md - The explanation on the timing of useEffect() callback doesn't seem to be accurate. (#6207)
* Update useEffect.md

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

---------

Co-authored-by: Sophie Alpert <git@sophiebits.com>
2023-09-22 21:21:47 -07:00
Gabriel Taveira
828e30a876 chore: log heading missing url error on dev only (#6280) 2023-09-22 21:11:46 -07:00
Soheil Nazari
2ab8334171 Update common.md (#6290)
corrected links
2023-09-22 21:10:41 -07:00
Joseph Savona
bad7e90edf Update team page (#6310) 2023-09-22 08:16:45 -07:00
Dan Abramov
5f3565fd3d Fix like button color 2023-09-21 15:21:10 +01:00
Soichiro Miki
dfd15e87a2 Remove "robot=noindex" meta tag (#6260) 2023-09-20 11:47:47 +01:00
Christophe Porteneuve
cbeb0ba2f6 Add French to fully-translated languages (#6305) 2023-09-20 00:31:41 +01:00
Soichiro Miki
bdc60c2684 FIx typo: props => context (#6300) 2023-09-14 10:12:14 +05:30
anita-that-chiq
0d21915928 Replace label with placeholder (#6295) 2023-09-13 11:07:43 +05:30
Danilo Woznica
43ada1f1b1 Sandpack 2.0: upgrade playgrounds (#5917)
* Update 17 files

* remove: legacy react devtool

* Update 3 files

* fix(editor): allow horizontal scroll

* Update SandpackRoot.tsx
2023-09-12 13:49:14 -04:00
Abhinav Mahajan
5219d736a7 Removed the multiple checks (#5759) 2023-09-08 18:20:59 -07:00
Matt Carroll
742d2bff8f Add use hook API reference page (#6177)
* [WIP] Add use hook API reference page

* [WIP] Update use hook API reference page based on feedback

* [WIP] use hook API ref doc: add browser API example

* [WIP] use hook API ref doc: add context, lib examples

* [WIP] use reference doc - incorporate all current feedback

* [WIP] use reference page fix typos

* use reference doc: address PR feedback from Luna, Sophia,Eli, and Lee

* Apply @harish-sethuraman's typo fixes from code review

Co-authored-by: Strek <ssharishkumar@gmail.com>

* use reference doc typo fixes

* use reference doc: update style to match other react.dev conventions

* minor fixes

* Remove client Promises, use canary labels

* Add use hook section to index, remove RSC section on components page

* Final edits

* Clarify use reference caveats

---------

Co-authored-by: Strek <ssharishkumar@gmail.com>
2023-09-08 10:33:16 -07:00
Drew Nollsch
46e7b2c687 Fixes error in cloneElement code example (#6291) 2023-09-08 17:01:17 +01:00
Sophie Alpert
20ccdf9291 Update lazy.md to mention default exports (#6285)
React.lazy dots into the `default` property. Document this.
2023-09-07 11:38:21 -07:00
ramadevsign
ee98f75cf1 add rendercon kenya 2023 to conferences (#6133) 2023-09-06 14:12:29 -07:00
Aleksandar15
9e144cdd5a Fix typo in preserving-and-resetting-state.md (#6194) 2023-09-06 14:07:02 -07:00
Luna
7141306c90 Add cache API docs (#6240)
Co-authored-by: Ricky <rickhanlonii@gmail.com>
Co-authored-by: Luna Wei <luwe@fb.com>
Co-authored-by: Ricky Hanlon <rickhanlonii@gmail.com>
2023-09-06 10:50:03 -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
Max Jacobson
230c39bd91 Fix link in new typescript docs (#6232)
While reading the new typescript docs introduced in #6120, I noticed this link points to a fork. This commit changes it to a relative link so it should work everywhere.
2023-09-05 13:35:49 -07:00