Skip to content

Commit ebcc5b9

Browse files
merging all conflicts
2 parents 356741e + f5fa1e8 commit ebcc5b9

55 files changed

Lines changed: 1577 additions & 298 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/components/MDX/TeamMember.tsx‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function GroupBadges({group}: {group: string}) {
6868
);
6969
}
7070

71-
// TODO: good alt text for images/links
71+
// TODO: good alt text for images
7272
export function TeamMember({
7373
name,
7474
title,
@@ -113,7 +113,7 @@ export function TeamMember({
113113
aria-label={`${name} on Twitter`}
114114
href={`https://twitter.com/${twitter}`}
115115
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
116-
<IconTwitter className="pe-1" />
116+
<IconTwitter className="pe-1" aria-hidden="true" />
117117
{twitter}
118118
</ExternalLink>
119119
</div>
@@ -124,7 +124,7 @@ export function TeamMember({
124124
aria-label={`${name} on Threads`}
125125
href={`https://threads.net/${threads}`}
126126
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
127-
<IconThreads className="pe-1" />
127+
<IconThreads className="pe-1" aria-hidden="true" />
128128
{threads}
129129
</ExternalLink>
130130
</div>
@@ -135,27 +135,27 @@ export function TeamMember({
135135
aria-label={`${name} on Bluesky`}
136136
href={`https://bsky.app/profile/${bsky}`}
137137
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
138-
<IconBsky className="pe-1" />
138+
<IconBsky className="pe-1" aria-hidden="true" />
139139
{bsky}
140140
</ExternalLink>
141141
</div>
142142
)}
143143
{github && (
144144
<div className="me-4">
145145
<ExternalLink
146-
aria-label="GitHub Profile"
146+
aria-label={`${name} on GitHub`}
147147
href={`https://github.com/${github}`}
148148
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
149-
<IconGitHub className="pe-1" /> {github}
149+
<IconGitHub className="pe-1" aria-hidden="true" /> {github}
150150
</ExternalLink>
151151
</div>
152152
)}
153153
{personal && (
154154
<ExternalLink
155-
aria-label="Personal Site"
155+
aria-label={`${name}'s personal website`}
156156
href={`https://${personal}`}
157157
className="hover:text-primary hover:underline dark:text-primary-dark flex flex-row items-center">
158-
<IconLink className="pe-1" /> {personal}
158+
<IconLink className="pe-1" aria-hidden="true" /> {personal}
159159
</ExternalLink>
160160
)}
161161
</div>

‎src/content/blog/2023/03/16/introducing-react-dev.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@ March 16, 2023 by [Dan Abramov](https://bsky.app/profile/danabra.mov) and [Rache
4141

4242
**新しいドキュメントでは、最初からフックを用いて React を学びます**。ドキュメントは主に 2 つのセクションに分かれています。
4343

44+
<<<<<<< HEAD
4445
* **[React を学ぶ](/learn)** は、ゼロから React を学ぶ自己学習型のコースです。
4546
* **[API リファレンス](/reference)** では、すべての React API の詳細と使い方のサンプルが提供されています。
47+
=======
48+
* **[Learn React](/learn)** is a self-paced course that teaches React from scratch.
49+
* **[API Reference](/reference/react)** provides the details and usage examples for every React API.
50+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
4651
4752
それぞれのセクションで見ることができる内容を詳しく見ていきましょう。
4853

@@ -459,11 +464,19 @@ export default function PackingList() {
459464

460465
[API リファレンス](/reference/react) では、すべての React API に専用のページが用意されています。これにはあらゆる種類の API が含まれます:
461466

467+
<<<<<<< HEAD
462468
- 組み込みフックである [`useState`](/reference/react/useState) など。
463469
- 組み込みコンポーネントである [`<Suspense>`](/reference/react/Suspense) など。
464470
- 組み込みブラウザコンポーネントである [`<input>`](/reference/react-dom/components/input) など。
465471
- フレームワーク向けの API である [`renderToPipeableStream`](/reference/react-dom/server/renderToReadableStream) など。
466472
- その他の React API である [`memo`](/reference/react/memo) など。
473+
=======
474+
- Built-in Hooks like [`useState`](/reference/react/useState).
475+
- Built-in components like [`<Suspense>`](/reference/react/Suspense).
476+
- Built-in browser components like [`<input>`](/reference/react-dom/components/input).
477+
- Framework-oriented APIs like [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream).
478+
- Other React APIs like [`memo`](/reference/react/memo).
479+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
467480
468481
各 API ページは少なくとも*リファレンス*と*使用法*の 2 つのセグメントに分かれていることに気付くでしょう。
469482

@@ -607,7 +620,11 @@ button { display: block; margin-top: 10px; }
607620

608621
</Recipes>
609622

623+
<<<<<<< HEAD
610624
一部の API ページには、(よくある問題に対する)[トラブルシューティング](/reference/react/useEffect#troubleshooting)や、(非推奨の API に対する)[代替手段](/reference/react-dom/findDOMNode#alternatives)のセクションも含まれています。
625+
=======
626+
Some API pages also include [Troubleshooting](/reference/react/useEffect#troubleshooting) (for common problems) and [Alternatives](https://18.react.dev/reference/react-dom/findDOMNode#alternatives) (for deprecated APIs).
627+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
611628
612629
このアプローチにより、API リファレンスが引数を調べる手段としてだけでなく、その API を使用してどれだけ色々なことができるのか、他の API とどのように繋がっているのかを示す手段として役立つことを願っています。
613630

‎src/content/blog/2024/04/25/react-19-upgrade-guide.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,11 @@ const ref = useRef<number>(null);
639639
ref.current = 1;
640640
```
641641

642+
<<<<<<< HEAD
642643
`MutableRef` は廃止され、`useRef` は常に単一の `RefObject` 型を返すようになりました。
644+
=======
645+
`MutableRefObject` is now deprecated in favor of a single `RefObject` type which `useRef` will always return:
646+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
643647
644648
```ts
645649
interface RefObject<T> {

‎src/content/blog/2024/12/05/react-19.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,11 @@ React Server Components をバンドラやフレームワークでサポート
389389

390390
サーバアクションをサーバコンポーネント内で作成し props としてクライアントコンポーネントに渡すことも、クライアントコンポーネントでインポートして使用することもできます。
391391

392+
<<<<<<< HEAD
392393
詳細については、[React サーバアクション](/reference/rsc/server-actions)のドキュメントをご覧ください。
394+
=======
395+
For more, see the docs for [React Server Actions](/reference/rsc/server-functions).
396+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
393397
394398
## React 19 の改善点 {/*improvements-in-react-19*/}
395399

‎src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14266,7 +14266,11 @@ Activity の別のモードとして我々が考慮しているのは、メモ
1426614266

1426714267
多くの場合に混乱の原因は、必要もなくエフェクトが使われていることにあるとわかりました。[そのエフェクトは不要かも](/learn/you-might-not-need-an-effect)のガイドは、エフェクトがソリューションとして適切ではないパターンの多くをカバーしています。しかし、ある問題に対してエフェクトが適切であるという場合ですら、エフェクトはクラスコンポーネントのライフサイクルよりも理解しにくい場合があります。
1426814268

14269+
<<<<<<< HEAD
1426914270
混乱の一因は、開発者がエフェクトをエフェクト自体の視点(エフェクトが何をするか)ではなく、ライフサイクルのような*コンポーネント*の視点から考えてしまっていることにあると考えています。
14271+
=======
14272+
We believe one of the reasons for confusion is that developers tend to think of Effects from the _component's_ perspective (like a lifecycle), instead of the _Effects_ point of view (what the Effect does).
14273+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
1427014274
1427114275
[ドキュメントにあるこちらの例](/learn/lifecycle-of-reactive-effects#thinking-from-the-effects-perspective)を見てみましょう。
1427214276

‎src/content/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@ _Updated January 26, 2026._
7676

7777
### 影響を受けるフレームワークとバンドラ {/*affected-frameworks-and-bundlers*/}
7878

79+
<<<<<<< HEAD
7980
一部の React フレームワークやバンドラが、脆弱性のある React パッケージに依存しているか、peer dependency として依存しているか、あるいはそれらを含んでいました。影響を受ける React フレームワークやバンドラは以下の通りです:[next](https://www.npmjs.com/package/next)、[react-router](https://www.npmjs.com/package/react-router)、[waku](https://www.npmjs.com/package/waku)、[@parcel/rsc](https://www.npmjs.com/package/@parcel/rsc)、[@vite/rsc-plugin](https://www.npmjs.com/package/@vitejs/plugin-rsc)、[rwsdk](https://www.npmjs.com/package/rwsdk)
81+
=======
82+
Some React frameworks and bundlers depended on, had peer dependencies for, or included the vulnerable React packages. The following React frameworks & bundlers are affected: [next](https://www.npmjs.com/package/next), [react-router](https://www.npmjs.com/package/react-router), [waku](https://www.npmjs.com/package/waku), [@parcel/rsc](https://www.npmjs.com/package/@parcel/rsc), [@vitejs/plugin-rsc](https://www.npmjs.com/package/@vitejs/plugin-rsc), and [rwsdk](https://www.npmjs.com/package/rwsdk).
83+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
8084
8185
アップグレード方法について、[前回の記事の手順](/blog/2025/12/03/critical-security-vulnerability-in-react-server-components#update-instructions)を参照してください。
8286

‎src/content/community/conferences.md‎

Lines changed: 54 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,6 @@ title: React カンファレンス
1010

1111
## Upcoming Conferences {/*upcoming-conferences*/}
1212

13-
### ZurichJS Conf 2026 {/*zurichjs-conf-2026*/}
14-
September 10-11, 2026. In-person in Zurich, Switzerland
15-
16-
[Website](https://conf.zurichjs.com?utm_campaign=ZurichJS_Conf&utm_source=referral&utm_content=reactjs_community_conferences) - [Twitter](https://x.com/zurichjs) - [LinkedIn](https://www.linkedin.com/company/zurichjs/)
17-
18-
### React Alicante 2026 {/*react-alicante-2026*/}
19-
Sep 24 - 26, 2026. In-person in Alicante
20-
21-
[Website](https://reactalicante.es//) - [Twitter](https://x.com/ReactAlicante)
22-
23-
### CityJS Athens 2026 {/*cityjs-athens-2026*/}
24-
October 21-23, 2026. In-person in Athens
25-
26-
[Website](https://athens.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
27-
28-
### React Advanced London 2026 {/*react-advanced-london-2026*/}
29-
October 23 & 26, 2026. In-person in London, UK + online (hybrid event)
30-
31-
[Website](https://reactadvanced.com/) - [Twitter](https://x.com/reactadvanced) - [LinkedIn](https://www.linkedin.com/showcase/react-advanced-london/)
32-
3313
### React Summit US 2026 {/*react-summit-us-2026*/}
3414
November 17 & 20, 2026. In-person in New York, USA + online (hybrid event)
3515

@@ -45,6 +25,11 @@ April 15 & 19, 2027. In-person in Singapore + online (hybrid event)
4525

4626
[Website](https://reactsummit.asia/) - [Twitter](https://x.com/reactsummit) - [LinkedIn](https://www.linkedin.com/showcase/reactsummit)
4727

28+
### React Conf Japan 2027 {/*react-conf-japan-2027*/}
29+
April 24, 2027. In-person in Tokyo, Japan
30+
31+
[Website](https://reactconf.jp/) - [Twitter](https://x.com/reactconfjp)
32+
4833
### React Summit 2027 {/*react-summit-2027*/}
4934
May 21 & 25, 2027. In-person in Amsterdam, Netherlands + online (hybrid event)
5035

@@ -53,16 +38,60 @@ May 21 & 25, 2027. In-person in Amsterdam, Netherlands + online (hybrid event)
5338

5439
## Past Conferences {/*past-conferences*/}
5540

41+
### React India 2026 {/*react-india-2026*/}
42+
October 29-31, 2026. In-person in Goa, India
5643

57-
### React Conf Japan 2027 {/*react-conf-japan-2027*/}
58-
April 24, 2027. In-person in Tokyo, Japan
44+
[Website](https://www.reactindia.io/) - [Twitter](https://x.com/react_india)
5945

60-
[Website](https://reactconf.jp/) - [Twitter](https://x.com/reactconfjp)
46+
### React Advanced London 2026 {/*react-advanced-london-2026*/}
47+
October 23 & 26, 2026. In-person in London, UK + online (hybrid event)
48+
49+
[Website](https://reactadvanced.com/) - [Twitter](https://x.com/reactadvanced) - [LinkedIn](https://www.linkedin.com/showcase/react-advanced-london/)
50+
51+
### CityJS Athens 2026 {/*cityjs-athens-2026*/}
52+
October 21-23, 2026. In-person in Athens
53+
54+
[Website](https://athens.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
55+
56+
### React Alicante 2026 {/*react-alicante-2026*/}
57+
Sep 24 - 26, 2026. In-person in Alicante
58+
59+
[Website](https://reactalicante.es//) - [Twitter](https://x.com/ReactAlicante)
60+
61+
### React Native Connection 2026 {/*react-native-connection-2026*/}
62+
September 24, 2026. In-person in Paris, France
63+
64+
[Website](https://reactnativeconnection.io/) - [Twitter](https://x.com/ReactNativeConn) - [Bluesky](https://bsky.app/profile/reactnativeconnect.bsky.social)
65+
66+
### ZurichJS Conf 2026 {/*zurichjs-conf-2026*/}
67+
September 10-11, 2026. In-person in Zurich, Switzerland
68+
69+
[Website](https://conf.zurichjs.com?utm_campaign=ZurichJS_Conf&utm_source=referral&utm_content=reactjs_community_conferences) - [Twitter](https://x.com/zurichjs) - [LinkedIn](https://www.linkedin.com/company/zurichjs/)
70+
71+
### Render(ATL) 2026 🍑 {/*renderatl-2026-*/}
72+
August 12-13, 2026. In-person in Atlanta, GA, USA
73+
74+
[Website](https://renderatl.com/) - [Twitter](https://x.com/renderATL) - [LinkedIn](https://www.linkedin.com/company/renderatl)
75+
76+
### React Summit 2026 {/*react-summit-2026*/}
77+
June 12 & 16, 2026. In-person in Amsterdam, Netherlands + online (hybrid event)
78+
79+
[Website](https://reactsummit.com/) - [Twitter](https://x.com/reactsummit) - [LinkedIn](https://www.linkedin.com/showcase/reactsummit)
80+
81+
### React Norway 2026 {/*react-norway-2026*/}
82+
June 5, 2026. In-person in Oslo, Norway
83+
84+
[Website](https://reactnorway.com/) - [Twitter](https://x.com/ReactNorway)
85+
86+
### React Miami 2026 {/*react-miami-2026*/}
87+
April 23-24, 2026. In-person in Miami, FL, USA
88+
89+
[Website](https://reactmiami.com/) - [Twitter](https://x.com/ReactMiamiConf)
6190

6291
### CityJS London 2026 {/*cityjs-london-2026*/}
6392
April 14-17, 2026. In-person in London
6493

65-
[Website](https://india.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
94+
[Website](https://london.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
6695

6796

6897
### React Paris 2026 {/*react-paris-2026*/}
@@ -79,7 +108,7 @@ February 12-13, 2026. In-person in New Delhi, India
79108
### CityJS Singapore 2026 {/*cityjs-singapore-2026*/}
80109
February 4-6, 2026. In-person in Singapore
81110

82-
[Website](https://india.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
111+
[Website](https://singapore.cityjsconf.org/) - [Twitter](https://x.com/cityjsconf) - [Bluesky](https://bsky.app/profile/cityjsconf.bsky.social)
83112

84113
### React Advanced London 2025 {/*react-advanced-london-2025*/}
85114
November 28 & December 1, 2025. In-person in London, UK + online (hybrid event)

‎src/content/learn/describing-the-ui.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,11 @@ React はコンポーネント間あるいはモジュール間の関係性を
530530

531531
React レンダーツリーとはコンポーネントの親子関係を表現したものです。
532532

533+
<<<<<<< HEAD
533534
<Diagram name="generic_render_tree" height={250} width={500} alt="5 つのノードからなるツリー。それぞれのノードはコンポーネントを表している。ルートノードはツリーの最上部にあり 'Root Component' と書かれている。そこから 2 本の矢印が下に伸びており 'Component A' および 'Component C' と書かれたノードを指している。それぞれの矢印には 'renders' と書かれている。'Component A' からは 'renders' と書かれた矢印が 'Component B' と書かれたノードに伸びている。'Component C' からは 'renders' と書かれた矢印が 'Component D' と書かれたノードに伸びている。">
535+
=======
536+
<Diagram name="generic_render_tree" height={250} width={500} alt="A tree graph with five nodes, with each node representing a component. The root node is located at the top of the tree graph and is labelled 'Root Component'. It has two arrows extending down to two nodes labelled 'Component A' and 'Component C'. Each of the arrows is labelled with 'renders'. 'Component A' has a single 'renders' arrow to a node labelled 'Component B'. 'Component C' has a single 'renders' arrow to a node labelled 'Component D'.">
537+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
534538
535539
React のレンダーツリーの例
536540

‎src/content/learn/extracting-state-logic-into-a-reducer.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,11 @@ li {
874874
- **テスト**:リデューサはコンポーネントに依存しない純関数です。これは、リデューサをエクスポートし、他のものとは別に単体でテストできることを意味します。一般的には、より現実的な環境でコンポーネントをテストするのがベストですが、複雑な state 更新ロジックがある場合は、特定の初期 state とアクションに対してリデューサが特定の state を返すことをテストすることが役立ちます。
875875
- **個人の好み**:人によってリデューサが好きだったり、好きではなかったりします。それで構いません。好みの問題です。`useState` と `useReducer` の間を行ったり来たりすることはいつでも可能です。どちらも同等のものです!
876876

877+
<<<<<<< HEAD
877878
バグが頻繁に発生しておりコンポーネントのコードに構造を導入したい場合に、リデューサを利用することをお勧めします。あらゆるコンポーネントにリデューサを使用する必要はありません。自由に組み合わせてください! 同じコンポーネントで `useState` と `useReducer` を両方使うことも可能です。
879+
=======
880+
We recommend using a reducer if you often encounter bugs due to incorrect state updates in some component, and want to introduce more structure to its code. You don't have to use reducers for everything: feel free to mix and match! You can even use `useState` and `useReducer` in the same component.
881+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
878882
879883
## 良いリデューサの書き方 {/*writing-reducers-well*/}
880884

‎src/content/learn/index.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,11 @@ function MyButton() {
336336
}
337337
```
338338
339+
<<<<<<< HEAD
339340
React は、再度コンポーネントの関数を呼び出します。今度は `count` が `1` になっています。次の呼び出しでは `2` になっています。次々と増えていきます。
341+
=======
342+
Calling `setCount` tells React to call your component function again. This is called a *re-render*. This time, `count` will be `1`. Then it will be `2`. And so on.
343+
>>>>>>> f5fa1e82edacdf8c6bfc4dfd9cf52029a96d5fd3
340344
341345
同じコンポーネントを複数の場所でレンダーした場合、それぞれが独自の state を持ちます。それぞれのボタンを個別にクリックしてみてください:
342346

0 commit comments

Comments
 (0)