Skip to content

Commit 4db53af

Browse files
committed
Resolve conflicts
1 parent fde229a commit 4db53af

20 files changed

Lines changed: 68 additions & 294 deletions

‎src/content/blog/index.md‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,13 @@ Bluesky の [@react.dev](https://bsky.app/profile/react.dev) や Twitter の [@r
1616

1717
<div className="sm:-mx-5 flex flex-col gap-5 mt-12">
1818

19-
<<<<<<< HEAD
20-
<BlogCard title="React Foundation: Linux Foundation がホストする React の新たな拠点" date="February 24, 2026" url="/blog/2026/02/24/the-react-foundation">
21-
=======
2219
<BlogCard title="React 19.3" date="September 9, 2026" url="/blog/2026/09/09/react-19-3">
2320

24-
React 19.3 adds new features like View Transitions, Fragment Refs, browser(), Trusted Types, and more. In this post ...
21+
React 19.3 では、View Transition、フラグメントの ref、browser()、Trusted Types などの新機能が追加されました。この記事では…
2522

2623
</BlogCard>
2724

28-
<BlogCard title="The React Foundation: A New Home for React Hosted by the Linux Foundation" date="February 24, 2026" url="/blog/2026/02/24/the-react-foundation">
29-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
25+
<BlogCard title="React Foundation: Linux Foundation がホストする React の新たな拠点" date="February 24, 2026" url="/blog/2026/02/24/the-react-foundation">
3026

3127
React Foundation が Linux Foundation のもとで正式に立ち上がりました。
3228

‎src/content/reference/react-dom/client/hydrateRoot.md‎

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,11 @@ React は、`domNode` 内に存在する HTML にアタッチし、その内部
4141
4242
* **省略可能** `options`: この React ルートのオプションを含むオブジェクト。
4343
44-
<<<<<<< HEAD
4544
* **省略可能** `onCaughtError`: エラーバウンダリ内で React がエラーをキャッチしたときに呼び出されるコールバック。エラーバウンダリにキャッチされた `error` と、`componentStack` を含んだ `errorInfo` を引数にして呼び出されます。
4645
* **省略可能** `onUncaughtError`: エラーがスローされたがエラーバウンダリでキャッチされなかったときに呼び出されるコールバック。スローされた `error` と、`componentStack` を含んだ `errorInfo` を引数にして呼び出されます。
4746
* **optional** `onRecoverableError`: React が自動的にエラーから回復したときに呼び出されるコールバック。React がスローする `error` と、`componentStack` を含んだ `errorInfo` を引数にして呼び出されます。復帰可能なエラーの一部は元のエラーを `error.cause` として含んでいます。
4847
* **省略可能** `identifierPrefix`: React が [`useId`](/reference/react/useId) によって生成する ID に使用する文字列プレフィックス。同じページ上に複数のルートを使用する際に、競合を避けるために用います。サーバ上で使用されたものと同じプレフィックスでなければなりません。
49-
=======
50-
* **optional** `onCaughtError`: Callback called when React catches an error in an Error Boundary. Called with the `error` caught by the Error Boundary, and an `errorInfo` object containing the `componentStack`.
51-
* **optional** `onUncaughtError`: Callback called when an error is thrown and not caught by an Error Boundary. Called with the `error` that was thrown and an `errorInfo` object containing the `componentStack`.
52-
* **optional** `onRecoverableError`: Callback called when React automatically recovers from errors. Called with the `error` React throws, and an `errorInfo` object containing the `componentStack`. Some recoverable errors may include the original error cause as `error.cause`.
53-
* **optional** `identifierPrefix`: A string prefix React uses for IDs generated by [`useId`.](/reference/react/useId) Useful to avoid conflicts when using multiple roots on the same page. Must be the same prefix as used on the server.
54-
* **optional** `formState`: The form state from a form submission handled by a [Server Function](/reference/rsc/server-functions). If the page was rendered on the server in response to a submission of a form that uses [`useActionState`](/reference/react/useActionState) with a `permalink`, pass the resulting form state so that `useActionState` returns the submitted state instead of the `initialState`. Must be the same value as the `formState` passed to the [server renderer.](/reference/react-dom/server/renderToPipeableStream#parameters) This is typically passed through by your framework.
55-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
48+
* **省略可能** `formState`: [サーバ関数](/reference/rsc/server-functions)で処理されたフォーム送信によるフォームの状態。`permalink` を指定した [`useActionState`](/reference/react/useActionState) を使用するフォームの送信に応じてページがサーバ上でレンダーされた場合、その結果のフォームの状態を渡すことで、`useActionState` が `initialState` の代わりに送信された状態を返すようになります。[サーバレンダラ](/reference/react-dom/server/renderToPipeableStream#parameters)に渡された `formState` と同じ値である必要があります。通常はフレームワークがこの値を引き渡します。
5649
5750
5851
#### 返り値 {/*returns*/}
@@ -331,11 +324,7 @@ export default function App() {
331324
332325
クライアントでレンダーされるコンテンツを、サーバが生成した初期 HTML と異なるものにしたい場合は、この方法を使用してください。
333326
334-
<<<<<<< HEAD
335-
<Canary> コンポーネントをブラウザでのみレンダーする場合は、エフェクトを待つ代わりに [`use(browser())`](/reference/react/use#use-browser) を呼び出してください。</Canary>
336-
=======
337-
If a component should render only in the browser, call [`use(browser())`](/reference/react/use#use-browser) instead of waiting for an Effect.
338-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
327+
コンポーネントをブラウザでのみレンダーする場合は、エフェクトを待つ代わりに [`use(browser())`](/reference/react/use#use-browser) を呼び出してください。
339328
340329
<Pitfall>
341330

‎src/content/reference/react-dom/components/common.md‎

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,7 @@ title: "<div> などの一般的なコンポーネント"
2828

2929
* `children`: React ノード(要素、文字列、数値、[ポータル](/reference/react-dom/createPortal)、`null` や `undefined` やブーリアンのような空ノード、あるいは他の React ノードの配列)。コンポーネントの内容を指定します。JSX を使用する場合、通常は `<div><span /></div>` のようにタグをネストすることで props として暗黙的に `children` を指定します。
3030

31-
<<<<<<< HEAD
32-
* `dangerouslySetInnerHTML`: `{ __html: '<p>some html</p>' }` という形式の、内部に生の HTML 文字列を含んだオブジェクト。DOM ノードの [`innerHTML`](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML) プロパティを上書きし、渡された HTML を表示します。これは最大限に注意して使用する必要があります! 内部の HTML が信頼できない場合(例えば、ユーザデータに基づいている場合)、[XSS](https://en.wikipedia.org/wiki/Cross-site_scripting) 脆弱性を導入するリスクがあります。[`dangerouslySetInnerHTML` の使用について詳しく読む](#dangerously-setting-the-inner-html)
33-
=======
34-
* `dangerouslySetInnerHTML`: An object of the form `{ __html: '<p>some html</p>' }` with a raw HTML string or [`TrustedHTML`](https://developer.mozilla.org/en-US/docs/Web/API/TrustedHTML) value inside. Overrides the [`innerHTML`](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML) property of the DOM node and displays the passed HTML inside. This should be used with extreme caution! If the HTML inside isn't trusted (for example, if it's based on user data), you risk introducing an [XSS](https://en.wikipedia.org/wiki/Cross-site_scripting) vulnerability. [Read more about using `dangerouslySetInnerHTML`.](#dangerously-setting-the-inner-html)
35-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
31+
* `dangerouslySetInnerHTML`: `{ __html: '<p>some html</p>' }` という形式の、内部に生の HTML 文字列または [`TrustedHTML`](https://developer.mozilla.org/en-US/docs/Web/API/TrustedHTML) の値を含んだオブジェクト。DOM ノードの [`innerHTML`](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML) プロパティを上書きし、渡された HTML を表示します。これは最大限に注意して使用する必要があります! 内部の HTML が信頼できない場合(例えば、ユーザデータに基づいている場合)、[XSS](https://en.wikipedia.org/wiki/Cross-site_scripting) 脆弱性を導入するリスクがあります。[`dangerouslySetInnerHTML` の使用について詳しく読む](#dangerously-setting-the-inner-html)
3632

3733
* `ref`: [`useRef`](/reference/react/useRef) または [`createRef`](/reference/react/createRef) から得られる ref オブジェクト、または [`ref` コールバック関数](#ref-callback)、または[レガシー ref](https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs) 用の文字列。指定された ref にこのノードの DOM 要素が渡されます。[ref を使った DOM の操作について詳しく読む](#manipulating-a-dom-node-with-a-ref)
3834

@@ -928,11 +924,7 @@ export default function Form() {
928924
929925
### 危険を冒して内部 HTML をセットする {/*dangerously-setting-the-inner-html*/}
930926
931-
<<<<<<< HEAD
932-
以下のように、要素に対して生の HTML 文字列を渡すことができます。
933-
=======
934-
You can pass a raw HTML string or a [`TrustedHTML`](https://developer.mozilla.org/en-US/docs/Web/API/TrustedHTML) value to an element like so:
935-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
927+
以下のように、要素に対して生の HTML 文字列または [`TrustedHTML`](https://developer.mozilla.org/en-US/docs/Web/API/TrustedHTML) の値を渡すことができます。
936928
937929
```js
938930
const markup = { __html: '<p>some raw html</p>' };
@@ -941,13 +933,9 @@ return <div dangerouslySetInnerHTML={markup} />;
941933
942934
**これは危険です。元の DOM の [`innerHTML`](https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML) プロパティも同様ですが、最大限に注意を払ってください! マークアップが完全に信頼できるソースから来ていない限り、この方法を使うといとも簡単に [XSS](https://en.wikipedia.org/wiki/Cross-site_scripting) 脆弱性が発生します**。
943935
944-
<<<<<<< HEAD
945-
例えば、Markdown を HTML に変換する Markdown ライブラリを使用しており、そのパーサにバグがないと信頼でき、ユーザは本人が入力したものしか見ない、という場合、結果 HTML を以下のように表示することができます。
946-
=======
947-
If your site enforces [Trusted Types](https://developer.mozilla.org/en-US/docs/Web/API/Trusted_Types_API), pass a `TrustedHTML` value created by your security policy as `__html`. React passes the value to the browser without converting it to a string, allowing the browser to validate it. Your policy must still ensure that any input used to create the value is trusted and sanitized.
936+
サイトで [Trusted Type](https://developer.mozilla.org/en-US/docs/Web/API/Trusted_Types_API) を強制している場合、セキュリティポリシーによって作成された `TrustedHTML` の値を `__html` として渡してください。React はこの値を文字列に変換せずにブラウザに渡すため、ブラウザが値を検証できます。この値の作成に使用される入力がサニタイズされた信頼できる値であることは、引き続きポリシーで保証する必要があります。
948937
949-
For example, if you use a Markdown library that converts Markdown to HTML, you trust that its parser doesn't contain bugs, and the user only sees their own input, you can display the resulting HTML like this:
950-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
938+
例えば、Markdown を HTML に変換する Markdown ライブラリを使用しており、そのパーサにバグがないと信頼でき、ユーザは本人が入力したものしか見ない、という場合、結果 HTML を以下のように表示することができます。
951939
952940
<Sandpack>
953941

‎src/content/reference/react-dom/index.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,7 @@ title: React DOM API
3434

3535
この API はサーバでコンポーネントがレンダーされる方法を制御します。
3636

37-
<<<<<<< HEAD
38-
* <CanaryBadge /> [`browser`](/reference/react-dom/browser) を使うことで、サーバレンダリング中に、コンポーネントをブラウザ専用としてマークすることができます。
39-
=======
40-
* [`browser`](/reference/react-dom/browser) lets you mark a component as browser-only during server rendering.
41-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
37+
* [`browser`](/reference/react-dom/browser) を使うことで、サーバレンダリング中に、コンポーネントをブラウザ専用としてマークすることができます。
4238

4339
---
4440

‎src/content/reference/react-dom/server/index.md‎

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,8 @@ title: サーバ用 React DOM API
1414

1515
以下のメソッドは、[Web Stream](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) が利用可能な環境でのみ使用できます。これには、ブラウザ、Deno、および一部のモダンなエッジランタイムが含まれます。
1616

17-
<<<<<<< HEAD
1817
* [`renderToReadableStream`](/reference/react-dom/server/renderToReadableStream) は React ツリーを[読み取り可能な Web Stream](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) にレンダーします。
19-
* [`resume`](/reference/react-dom/server/renderToPipeableStream) は [`prerender`](/reference/react-dom/static/prerender) の結果を再開して[読み取り可能な Web Stream](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) に流します。
20-
=======
21-
* [`renderToReadableStream`](/reference/react-dom/server/renderToReadableStream) renders a React tree to a [Readable Web Stream.](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream)
22-
* [`resume`](/reference/react-dom/server/resume) resumes [`prerender`](/reference/react-dom/static/prerender) to a [Readable Web Stream](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream).
23-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
18+
* [`resume`](/reference/react-dom/server/resume) は [`prerender`](/reference/react-dom/static/prerender) の結果を再開して[読み取り可能な Web Stream](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) に流します。
2419

2520

2621
<Note>
@@ -34,13 +29,8 @@ Node.js でも互換性のためこれらのメソッドが使用可能ですが
3429

3530
以下のメソッドは、[Node.js ストリーム](https://nodejs.org/api/stream.html)が利用可能な環境でのみ使用できます。
3631

37-
<<<<<<< HEAD
3832
* [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) は React ツリーをパイプ可能な [Node.js ストリーム](https://nodejs.org/api/stream.html)にレンダーします。
39-
* [`resumeToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) は [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream) の結果を再開してパイプ可能な [Node.js ストリーム](https://nodejs.org/api/stream.html)に流します。
40-
=======
41-
* [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) renders a React tree to a pipeable [Node.js Stream.](https://nodejs.org/api/stream.html)
42-
* [`resumeToPipeableStream`](/reference/react-dom/server/resumeToPipeableStream) resumes [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream) to a pipeable [Node.js Stream.](https://nodejs.org/api/stream.html)
43-
>>>>>>> 8c68ae8d2410abe59f351195780c6f8ea9f50904
33+
* [`resumeToPipeableStream`](/reference/react-dom/server/resumeToPipeableStream) は [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream) の結果を再開してパイプ可能な [Node.js ストリーム](https://nodejs.org/api/stream.html)に流します。
4434

4535
---
4636

0 commit comments

Comments
 (0)