Commit Graph

6460 Commits

Author SHA1 Message Date
Rick Hanlon
c66aa38bf2 Feedback 2024-04-23 23:06:29 -04:00
Rick Hanlon
1cb25a1472 Update RSC docs 2024-04-23 23:06:20 -04:00
Rick Hanlon
47cf8bc288 jsx transform warning 2024-04-23 22:15:57 -04:00
Rick Hanlon
51a99b9005 Add testing sections 2024-04-23 22:03:01 -04:00
Rick Hanlon
903a2b07e1 Upgrade nits from feedback 2024-04-23 21:12:08 -04:00
Ricky Hanlon
2c11622f98 Links 2024-04-23 10:30:09 -04:00
Ricky Hanlon
bb0cd2aed0 Change intro fpr upgrade guide 2024-04-23 10:28:32 -04:00
Ricky Hanlon
ea039fbae9 Change intro 2024-04-23 10:25:02 -04:00
Ricky Hanlon
8f35e6d8bd Move RSC stuff to docs 2024-04-23 10:21:15 -04:00
Ricky Hanlon
2813ca9195 Feedback fixes 2024-04-22 21:32:54 -04:00
Ricky Hanlon
c420621c92 Fix nits 2024-04-22 14:16:59 -04:00
Ricky Hanlon
3f2cf0a2fe More sections and TODOs 2024-04-22 11:27:33 -04:00
Ricky Hanlon
8b0d18b569 More sections and TODOs 2024-04-22 11:26:49 -04:00
Ricky Hanlon
b6d885361f Add ref cleanup functions 2024-04-22 11:15:10 -04:00
Ricky Hanlon
efcd91eda3 Add <Context> as a provider 2024-04-22 11:08:55 -04:00
Ricky Hanlon
72af3f3622 Add useDeferredValue inital value 2024-04-22 10:59:35 -04:00
Ricky Hanlon
7dd208c7b8 Add more to upgrade guide 2024-04-22 01:18:30 -04:00
Ricky Hanlon
b9d528e3db Expand, add RSC and RSA 2024-04-21 15:46:07 -04:00
Ricky Hanlon
48c9fdb564 Add refs and errors 2024-04-19 12:20:11 -04:00
Rick Hanlon
0e5e0e8faf More sections 2024-04-16 00:52:35 -04:00
Rick Hanlon
3e90bf8888 init blogs 2024-04-15 17:19:05 -04:00
Rick Hanlon
a695c55b54 Add canary info, simplify a bit 2024-04-11 09:54:44 -04:00
Andrew Clark
031711b1a8 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.
2024-04-11 09:39:39 -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