Ricky
e09ff1c480
Better use(Context) example in 19 blog ( #6789 )
2024-04-25 20:18:11 -04:00
Dominic Zhu
8cbed3e23f
Fix typos ( #6788 )
...
Co-authored-by: Dom Zhu <dominic.zhu@uq.net.au >
2024-04-25 18:54:28 -04:00
Josh Story
64beb657a2
Resources -> resources ( #6787 )
2024-04-25 17:49:06 -04:00
Ricky
526d7b42b2
Clarify React DOM APIs in React 19 Post ( #6785 )
2024-04-25 17:48:46 -04:00
Josh Story
cdd0964752
Fix react-helmet link ( #6786 )
2024-04-25 14:46:47 -07:00
Josh Story
9aa8e8275c
refines the messaging to clarify that Server Components the feature is stable but the packages you work with as a framework and bundler will approach API stability ( #6782 )
2024-04-25 14:25:52 -07:00
Fran Zekan
9afcbf6a0c
[React19-blog]: Make use(context) example easier to understand ( #6783 )
...
* Make use(Context) example easier to understand
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Ricky <rickhanlonii@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Ricky <rickhanlonii@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Ricky <rickhanlonii@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Ricky <rickhanlonii@gmail.com >
---------
Co-authored-by: Ricky <rickhanlonii@gmail.com >
2024-04-25 17:12:08 -04:00
Josh Story
317dcf371a
Fix code example in React-19 useOptimistic section ( #6781 )
...
should assign the result of updateName
Co-authored-by: Tim Neutkens <tim@timneutkens.nl >
2024-04-25 17:11:45 -04:00
Fran Zekan
0078b50894
React19 blog post typos ( #6780 )
2024-04-25 17:10:45 -04:00
Rick Hanlon
c8a316aec5
Blog typo
2024-04-25 16:47:25 -04:00
Ricky
412b733fb1
Blog post nits ( #6779 )
...
* Typos in React 19
* Headings
2024-04-25 16:46:08 -04:00
Ricky
191852ad46
Add blog posts for React 19 Beta ( #6778 )
...
* Blog posts for React 19
* Feedback
* Feedback
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Josh Story <josh.c.story@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
* Update src/content/blog/2024/04/25/react-19.md
* Update src/content/blog/2024/04/25/react-19.md
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
* Thanks
* Apply suggestions from code review
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
* Feedback
* nit
* Issue link
---------
Co-authored-by: Josh Story <josh.c.story@gmail.com >
Co-authored-by: Noah Lemen <noah.lemen@gmail.com >
Co-authored-by: Matt Carroll <7158882+mattcarrollcode@users.noreply.github.com >
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com >
2024-04-25 15:40:09 -04:00
Jan Kassens
4f5501088e
Rename useFormState to useActionState ( #6776 )
...
* move useFormState api
* add redirect
* use React DOM as the name
2024-04-25 13:59:37 -04:00
Jan Kassens
9fb2f0dd12
Move use to APIs ( #6774 )
2024-04-24 15:58:09 -04:00
Jack Pope
cdd2fdd59f
Add documentation for ref cleanup functions ( #6770 )
...
* Add documentation for ref cleanup functions
* Contain changes within canary block
2024-04-24 12:54:48 -04:00
Ricky
f8afd94cc9
Add /link/new-jsx-transform ( #6772 )
2024-04-23 22:27:11 -04:00
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