Commit Graph

6482 Commits

Author SHA1 Message Date
Ricky
a2f8ff3cfd fix brand colors (#6826) 2024-05-01 15:23:53 -04:00
Soichiro Miki
9e1f5cd590 Add "Languages" navigation and article (#6382)
* Add new article "Translations"

* Add "languages" button in TopNav

* Add link to English (main) site

* Split deployedTranslations into multiple lines

* Fix build error regarding types

* Address some review comments

- deployedTranslations => finishedTranslations
- showTranslated => progress
- English fixes

* Update src/content/community/translations.md

Co-authored-by: Ricky <rickhanlonii@gmail.com>

* Update src/content/community/translations.md

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
2024-05-01 12:31:18 -04:00
Matt Zabriskie
0dbd67ae1e Add React Rally 2024 to conferences (#6819) 2024-05-01 12:05:13 -04:00
Ricky
bdb0d2628c add uww toggle (#6824) 2024-05-01 11:29:20 -04:00
Mehdi KHALIL EL OUADGHIRI
7062b8dab1 Update server-components.md - typo (#6823)
Typo Node => Note
2024-05-01 09:13:29 -04:00
Ricky
74697fb4f1 fix uwu flicker (#6820)
* Try next/image

* Fix styles.css

* rm unneeded styles

* priority=true

* tweaks

* Static height

* tweak

* priority
2024-04-30 17:57:02 -04:00
Rick Hanlon
6f5ee38ed9 uwu - add alt and instructions for turning off 2024-04-30 09:52:50 -04:00
Sebastian Silbermann
3dd67d1420 Fix type issues with useActionState docs (#6798) 2024-04-30 08:57:48 +02:00
Ricky
1df378ffa1 uwu (#6817) 2024-04-30 01:05:08 -04:00
Strek
e538800cfe Update react-19.md (#6813) 2024-04-29 22:51:14 -04:00
E
6d0aca18d5 Fix punctuation. (#6815)
* Update typescript.md

Fix punctuation.

* Update src/content/learn/typescript.md

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
2024-04-29 22:42:35 -04:00
Ricky
86d306f6ce rm new redirects (#6816) 2024-04-29 22:27:44 -04:00
Ricky
3981ffea50 Add versions page and nav version (#6814)
* Add versions page and nav version

* Move version to siteConfig.js

* Fix typo

* Set to 18.3.1, use siteConfig in reference sidebar

* Redirect 18.react.dev to react.dev for now

* Fix stray bullet
2024-04-29 22:01:52 -04:00
LongYinan
9c53b48a92 Remove useless async (#6809) 2024-04-29 15:23:04 +05:30
Sebastian Silbermann
01edd5c107 Upgrade guide should recommend installing types @beta (#6806) 2024-04-26 22:40:56 +02:00
Ricky
8c1c6e3014 Add meta task for rss auto-discovery (#6805) 2024-04-26 16:05:27 -04:00
Shubhdeep Chhabra
537bd05e56 to make examples consistent. (#6793) 2024-04-26 15:40:06 -04:00
Chia June
807001cd9b chore: fix typo (#6791)
`Changlog` -> `Changelog`
2024-04-26 15:35:27 -04:00
Sebastian Silbermann
845a28165d Add redirects for moved rsc pages (#6800) 2024-04-26 15:34:29 -04:00
Lauren Tan
bc1020a84d Update me 2024-04-26 15:28:51 -04:00
Ricky
cf53cb5d52 Add rss feed (#6803)
* Add rss feed

* Add rss feed

* rss readers don't like å characters
2024-04-26 11:56:47 -04:00
Christian Martinez
f66402862d Updated react-19.md (#6796) 2024-04-26 11:38:18 +02:00
Srikanth Kandi
057f35cc4d Replaced all instances of /react to /rsc (#6797) 2024-04-26 11:36:22 +02:00
Ricky
e45ac5552c Better use(Promise) example in 19 blog (#6790)
* Better use(Promise) example in 19 blog

* Better use(Promise) example in 19 blog
2024-04-25 22:01:32 -04:00
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