Commit Graph

6364 Commits

Author SHA1 Message Date
Aki Hamano
3563d95efe Fix typo in Tic-Tac-Toe tutorial (#6565) 2024-01-21 08:13:19 -05:00
Ricky
b9f4f971d9 Add threads links to team page (#6561) 2024-01-19 12:55:35 -05:00
michellebakels
a3cf37db8c Update conferences.md - React Miami (#6557) 2024-01-18 20:56:22 -05:00
Ahmed Abdelbaset
82723c1b4d Remove url origin to match all translation forks (#6516)
* Update use-server.md

* Update form.md

* Update input.md

* Update react-labs-what-we-have-been-working-on-march-2023.md

* Update react-labs-what-we-have-been-working-on-june-2022.md

---------

Co-authored-by: Ricky <rickhanlonii@fb.com>
2024-01-17 21:23:33 -05:00
Prajwal Kulkarni
9c316b206f Upgrade tailwind version (#6550)
* Fix overflowing text content in footer link

Add an ellipsis to overflowing text in the footer section for navigating between different references.

* Add min and max width to nextlink class

* Add minwidth to tailwind config

* Wrap string beyond max width

* Remove title attribute from span element

* Upgrade tailwind to 3.4.1

* Remove manual width config from minWidth

* Remove minWidth from tailwind config and preserve default value of min-w-xs
2024-01-17 20:59:40 -05:00
Jamie Kyle
7a15e96aef Fix async-await syntax (#6554) 2024-01-17 20:51:27 -05:00
Alen Ajam
6bfde58c10 docs: fix grammar (#6465) 2024-01-13 23:41:17 -05:00
Bartosz Klonowski
df8f301c2b Use 'trim()' method in useContext page to prevent form from accepting whitespaces (#6549) 2024-01-12 18:43:55 -05:00
Sukka
8d2664b806 Feat: error-decoder (#6214)
* Feat: port error-decoder

* Fix: do not choke on empty invariant

* Refactor: read url query from `useRouter`

* Fix: argsList can contains `undefined`

* Fix: handle empty string arg

* Feat: move error decoder to the separate page

* Fix: wrap error decoder header in <Intro />

* Perf: cache GitHub RAW requests

* Refactor: apply code review suggestions

* Fix: build error

* Refactor: apply code review suggestions

* Discard changes to src/content/index.md

* Fix: animation duration/delay

* Refactor: read error page from markdown

* Fix lint

* Fix /error being 404

* Prevent `_default.md` being included in `[[...markdownPath]].md`

* Fix custom error markdown reading

* Updates

---------

Co-authored-by: Ricky Hanlon <rickhanlonii@gmail.com>
2024-01-12 16:18:21 -05:00
Prajwal Kulkarni
6987f0fb30 Fix overflowing text content in footer link (#6519)
* Fix overflowing text content in footer link

Add an ellipsis to overflowing text in the footer section for navigating between different references.

* Add min and max width to nextlink class

* Add minwidth to tailwind config

* Wrap string beyond max width

* Remove title attribute from span element
2024-01-12 16:15:04 -05:00
Ben Amor Aymen
0972541683 Add React Paris 2024 conference + React Brussels videos link (#6547)
Co-authored-by: Aimen Ben Amor <aimen_ben_amor@epam.com>
2024-01-12 20:22:35 +00:00
Zoey
a3f5b133a1 fix: Grammar in versioning-policy.md (#6539)
Adds a missing word in the documentation describing canary versioning
2024-01-11 15:28:02 -05:00
Taz Singh
eff3955836 Update meetups.md (#6540) 2024-01-11 14:25:58 -05:00
Ricky
9d8c5add07 Revert "Add useState semicolon (#5823)" (#6543)
This reverts commit e18bb3b257.
2024-01-10 17:46:48 -05:00
TymeeK
983bda90cc Removed unused nextId variable (#6470) 2024-01-10 15:53:05 -05:00
Ricky
6f8d4e6099 Add pointer-events:none to .exit (#6541) 2024-01-09 12:59:49 -05:00
Kiran Abburi
53a1f4940e Added React Nexus 2024 conference to the conference list (#6538) 2024-01-09 23:16:22 +05:30
Ricky
10d4a4dfb3 Fix forwardRef and useRef links (#6537) 2024-01-08 22:07:08 -05:00
Abdul Rahman
083c308de8 Fix(Bug) Update Feedback.tsx component visiblity issue (#6533)
* Update Feedback.tsx

* Update Feedback.tsx

Time reduced to 1.5 seconds, also going to update css

* Update index.css

CSS updated for feedback component animation.

* Update Feedback.tsx

* Update index.css

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
2024-01-08 21:22:15 -05:00
probeiuscorp
bb0ac87ce4 Fix typo in experimental_taintObjectReference (#6536)
Change untained -> untainted
2024-01-08 20:33:29 -05:00
wnhlee
315cb7a38a fix wrong quotes around inline codes (#6523)
* fix wrong way quotes

* bump up to clear mdx cache
2024-01-07 11:06:41 -05:00
Ahmed Abdelbaset
7a28cf6bf5 Fix missing function keyword (#6527)
* Update use-server.md

* revert export default
2024-01-05 15:59:01 -08:00
Nepalivai
fc32af86f1 Text Display error in Go full-stack with a framework (#6483)
* Text Display error in Go full-stack with a framework

Fix error #27816

What dose this PR do?
It fixes the issue with the landing page of the react website.

* Update HomeContent.js

* Set styles on <option>

* Add padding too

---------

Co-authored-by: Ricky <rickhanlonii@gmail.com>
2024-01-05 12:20:16 -05:00
Ali Oguzhan Yildiz
bbb08a5a04 Add Turkish to deployed languages (#6449) 2023-12-20 17:02:42 -08:00
Luna
3009d764ed Fix error throw and for useTransition demo (#6510) 2023-12-20 16:58:16 -08:00
Alina Listunova
3bf64e5ffd Fix diagram alt text in Your UI as a Tree page (#6507) 2023-12-20 16:57:57 -08:00
Daniel Lo Nigro
9ce4afead6 Improve documentation for __html (#6499) 2023-12-19 17:23:51 -08:00
Prajwal Kulkarni
303ecae3dd Update startTransition.md (#6431) 2023-12-16 06:08:30 -08:00
Strek
d0a50e8a97 fix sandpack ts (#6498) 2023-12-16 14:02:11 +05:30
geeseyj
bb65ace6e0 Fix #6487 specify which Sandpack files go into a src directory (#6496)
* specify which sandbox files go in src directory

* fix some stragglers
2023-12-15 13:01:53 -08:00
Ehtesham Siddiqui
e3c25d1a5f data: add react mumbai meetup (#6396) 2023-12-15 10:48:30 -08:00
Ehtesham Siddiqui
01e80fd141 Add React India 2024 conference (#6481)
* feat: add react india 2024

* update: move react india 2024 in date order

* update: move conferences to past section

* refactor: sort past conferences
2023-12-15 10:37:27 -08:00
Danilo Woznica
e98c3939a7 fix(sandpack-template): use custom react sandpack template (#6484)
* fix(sandpack-template): use custom react sandpack template

* refactor: Remove console.log statement

Remove console.log(filePath); from createFileMap.ts

* style: Update file paths in Sandpack components

Update file paths in Sandpack components to use root folder and variables
2023-12-13 10:02:16 -08:00
Sophie Alpert
bec75ca348 Update useSyncExternalStore.md: tweak link
this way "cannot be marked" is all the same style and you don't skim the link text and gloss over the "cannot be"
2023-12-12 22:44:41 -08:00
Ahmed Abdelbaset
af54fc8738 Link to the new Next.js tutorial instead (#6468) 2023-12-06 22:34:28 +00:00
Bud (Mugur) Chirica
ae4be842dd Fix Next JS link (#6467) 2023-12-06 14:53:27 +00:00
dan
b9bf666462 Oops 2023-12-05 20:19:06 +00:00
dan
4226fbf3bf Edits to useId doc (#6464) 2023-12-05 20:17:43 +00:00
Xiao Chuan
b1c4b4e6de useId add server rendering usage and server api add options (#6457)
Co-authored-by: Sebastian Silbermann <silbermann.sebastian@gmail.com>
2023-12-05 17:34:18 +01:00
Xuan Huang (黄玄)
943e3ce4e5 Captailize "Strict Mode" (#6426)
Summary of changes:
There is one "TypeScript strict mode" that is kept unchanged.

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-29 21:13:12 -08:00
Sophie Alpert
6570e6cd79 Update useSyncExternalStore.md 2023-11-23 01:44:47 -08:00
Aki Matsumoto
aa0c547cd6 Fix: incorrect sample code in documentation related to Server action (#6445)
* Fix: component not returned

* Fix: missing function statement
2023-11-21 23:27:35 +00:00
Xuan Huang (黄玄)
4f9e9a5661 Capitalize word "Canary" (#6427)
Summary of changes:
See <https://github.com/reactjs/react.dev/pull/6417>

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-14 06:49:55 -08:00
Xuan Huang (黄玄)
d3a5f8a803 Capitalize word "Fragment" (#6425)
Summary of changes:
See <https://github.com/reactjs/react.dev/pull/6417>

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-14 06:49:26 -08:00
Xuan Huang (黄玄)
fcd00068bd Capitalize word "Hook" (#6424)
Summary of changes:
See <https://github.com/reactjs/react.dev/pull/6417>.

There is one exception though. The error message
“Rendered fewer hooks than expected” from React is indeed "hooks"
so I kept as-is. Shall we change the error message from React?

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-10 13:57:45 +00:00
Luna
44f442d5b2 Add space for canary title (#6416)
Co-authored-by: Luna Wei <luwe@fb.com>
2023-11-08 15:55:40 -08:00
Kathryn Middleton
49ebed1b5b Fix useOptimistic demo bug (#6422) 2023-11-08 13:08:58 -05:00
Kathryn Middleton
eeb0979c3c Update event label and value name (#6421) 2023-11-08 11:40:02 -05:00
Kathryn Middleton
721479b346 Check for value before passing to gtag (#6415) 2023-11-07 09:36:55 -05:00
Xuan Huang (黄玄)
c5a2e15d58 Capitalize Client in "client modules" (#6419)
Summary of changes:
See <https://github.com/reactjs/react.dev/pull/6417>

Co-authored-by: xuan.huang <xuan.huang@bytedance.com>
2023-11-07 12:50:57 +00:00