Commit Graph

6442 Commits

Author SHA1 Message Date
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
Jan Kassens
37a8d646bf Update SocialBanner.tsx (#6763)
Tickets are sold out, update the text.
2024-04-19 12:20:59 -07:00
John Wheeler
c2180a3438 fix issue #6734 (#6735)
* in \[errorCode\].tsx, wrapped parsedContent in a div and applied styling of white-space: pre-wrap to preserve whitespace and break on newline chars

* updated styling to tailwind class
2024-04-17 09:57:02 -04:00
Jan Kassens
56ca8f1c50 [easy] remove unused ref in ExpandableCallout.tsx (#6755)
Note that this component is not actually expandable and the ref got likely unused when that was removed
2024-04-15 17:26:27 -04:00
Jack Pope
2749eb4dbc Update link to nearestnabors.com (#6754) 2024-04-15 10:37:38 -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
Rami Zackary Shamir
11a747977e Fixes #6693: fixes search functionality on iOS devices (#6743)
* change isOpen variable in TopNav component to isMenuOpen to differentiate from isOpen props in Search component

change setIsOpen to setIsMenuOpen in TopNav component

* move initialization of ShowSearch state to top-level of TopNav component

organize hook initializations in TopNav component: useState, useRef, useRouter

* remove initialYScroll prop from DocSearchModal component to fix search functionality on ios devices
2024-04-10 10:01:08 -04:00
Ricky
a7103d8cc2 Add Ruslan to team page (#6738) 2024-04-08 11:10:52 -04:00
Siarhei Bobryk
93177e6cea fix(rules-of-react): "everytime" -> "every time" (#6737) 2024-04-06 11:35:00 +02:00
lauren
712556c0ec Fix inconsistent link underline on hover (#6731)
Noticed this randomly and couldn't unsee it, so here's a quick PR to
fix.
2024-04-02 19:55:45 -04:00
Faridul Islam
9748943432 Update Node.js version in engines into package.json file (^21.0.0) (#6728)
Signed-off-by: Faridul Islam <foridpathan45@gmail.com>
2024-03-31 11:38:56 -04: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
9b4de7ceb5 Add Jack to team page (#6721) 2024-03-28 12:18:22 -04:00
Sebastian Silbermann
2aa9594184 Add warning page for ReactDOMTestUtils deprecation (#6716) 2024-03-27 16:02:22 +01:00
Ricky
4df3124fa2 Fix caps for React concepts (#6712) 2024-03-26 23:39:39 -04:00
lauren
d661678b86 Update @eps1lon's job title (#6710)
Congrats! 

https://twitter.com/sebsilbermann/status/1772229730747490691
2024-03-25 10:44:51 -07:00
J.P. Anderson-Young
7bdbab144e Fix missing id properties in docs example (#6395)
This example contains a list of person objects, but only the first 3 have id properties. This appears to be a mistake; in the next use of the list all 5 person objects have this property, but it is not changed as part of an instructive exercise.

This change makes the final two with objects consistent with the remainder of the list.
2024-03-24 10:43:33 -04:00
Allison Strandberg
9c04f9b548 Correct pluralization of 'covers' (#6702) 2024-03-23 15:58:26 -04:00
Ricky
5a45b53b6e Fix hover styles in strictmode docs (#6705) 2024-03-23 11:51:37 -04:00
Pavel Savva
ef3a7ea4c1 Fix typos in typescript.md (#6439)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
Co-authored-by: Allison Strandberg <55810428+allison-strandberg@users.noreply.github.com>
2024-03-19 21:37:46 +01: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
Jack Pope
aa31fe5486 Add details about shallow renderer warning (#6689) 2024-03-11 15:08:53 -04:00
Danilo Woznica
5de85198a3 fix: Update sandpack-react version to 2.13.5 (#6668) 2024-03-08 10:05:50 -05:00
Ricky
716e889620 Add hydration-mismatch link (#6678) 2024-03-04 17:28:18 -05: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
6310c8a9d4 Add /link redirects (#6670)
* Add /link redirects

* Update event pooling redirect
2024-03-01 14:38:24 -05:00
Tomás
6e650f9dc6 update: "Configuring TypeScript" link for Next.js App Directory - to updated docs (#6669) 2024-02-29 12:37:35 +01:00
Danilo Woznica
6d8e094d33 fix: Update @codesandbox/sandpack-react version to 2.13.4 (#6664)
* fix: Update @codesandbox/sandpack-react version to 2.13.3

* fix: Fixed bundlerURL  to use the correct URL

* fix: Update @codesandbox/sandpack-react to version 2.13.4

* style: Hide span element in sp-icon-standalone when loading
2024-02-28 00:59:37 +05:30
dan
41b1bb3b7c Update Dan's twitter link 2024-02-26 19:54:43 +00:00
Strek
9ceb0572c9 Revert "fix(sandpack): clear up bundler timeout when there's a syntax error (…" (#6663)
This reverts commit 081d1008dd.
2024-02-26 23:41:23 +05:30
Danilo Woznica
081d1008dd fix(sandpack): clear up bundler timeout when there's a syntax error (#6659)
* fix: Update @codesandbox/sandpack-react version to 2.13.1

* fix: Updated the bundlerURL  to use a new URL
2024-02-24 11:11:15 -05:00
Ricky
a853e69261 Remove useMemo from useFormStatus example (#6658)
* Remove useMemo from useFormStatus example

* nits
2024-02-24 10:35:53 -05:00
Sahil Mhapsekar
2ad51d921b feat(conferences): add The GeekConf 2024 (#6654) 2024-02-22 23:59:02 -05:00
Tomasz Wysocki
93aec2784b Remove redundant suggestion (#6643)
Removed the redundant alternative state management suggestion. The documentation
already emphasizes the elimination of duplication by advising to hold the
selected ID in state, making the alternative suggestion unnecessary.
2024-02-21 10:02:51 -05:00
Victoria Quirante
5398b47260 Add React Alicante to conferences.md (#6655) 2024-02-21 16:53:59 +05:30
Joseph Savona
af289c3090 Update team page (#6652) 2024-02-20 22:30:08 +00: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
Szymon Rybczak
c9369f47dc feat(conferences): add React Universe Conf 2024 (#6649) 2024-02-20 13:58:18 -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
Stephan de Vries
74c33a16da Fix typos in latest blog post (#6636)
"React Complier"          → "React Compiler"
"and alternative history" → "an alternative history"
2024-02-17 12:05:37 +05:30
Robin Heinze
1c06fccad3 Update conferences.md to include Chain React 2024 (#6640) 2024-02-17 12:02:52 +05:30
Matt Carroll
c608570d6e [blog] labs 2024 - minor grammer fix 2024-02-15 21:49:40 -08:00
Sophie Alpert
b66dece7cd Update react-labs-what-we-have-been-working-on-february-2024.md 2024-02-15 15:15:59 -08:00
Jack Pope
bce6e55452 Add warning page for RTR deprecation (#6632)
* Add warning page for RTR deprecation

* shorten path

* Add link for RN testing library
2024-02-15 16:19:28 -05:00
Ricky
9d3fc07090 tweaks (#6631) 2024-02-15 15:23:51 -05:00