Skip to content

Commit 945f17d

Browse files
authored
Merge pull request #681 from reactjs/tr/reactdom-index
Transalte "React DOM APIs" index
2 parents fd1d0c7 + 4e0ae57 commit 945f17d

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed
+16-16
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
---
2-
title: React DOM APIs
2+
title: React DOM API
33
---
44

55
<Intro>
66

7-
The `react-dom` package contains methods that are only supported for the web applications (which run in the browser DOM environment). They are not supported for React Native.
7+
`react-dom` パッケージには、ウェブアプリケーション(ブラウザの DOM 環境で動作する)でのみサポートされるメソッドが含まれています。これらは React Native ではサポートされません。
88

99
</Intro>
1010

1111
---
1212

13-
## APIs {/*apis*/}
13+
## API {/*apis*/}
1414

15-
These APIs can be imported from your components. They are rarely used:
15+
これらの API はインポートしてコンポーネントで使用できます。これらはあまり使用されません。
1616

17-
* [`createPortal`](/reference/react-dom/createPortal) lets you render child components in a different part of the DOM tree.
18-
* [`flushSync`](/reference/react-dom/flushSync) lets you force React to flush a state update and update the DOM synchronously.
17+
* [`createPortal`](/reference/react-dom/createPortal) は、DOM ツリーの別の場所に子コンポーネントをレンダーできるようにします。
18+
* [`flushSync`](/reference/react-dom/flushSync) は、React state の更新を強制的にフラッシュさせ、DOM を同期的に更新させます。
1919

2020
---
2121

22-
## Entry points {/*entry-points*/}
22+
## エントリポイント {/*entry-points*/}
2323

24-
The `react-dom` package provides two additional entry points:
24+
`react-dom` パッケージは、2 つの追加のエントリポイントを提供します。
2525

26-
* [`react-dom/client`](/reference/react-dom/client) contains APIs to render React components on the client (in the browser).
27-
* [`react-dom/server`](/reference/react-dom/server) contains APIs to render React components on the server.
26+
* [`react-dom/client`](/reference/react-dom/client) は、クライアント(ブラウザ内)で React コンポーネントをレンダーするための API を含んでいます。
27+
* [`react-dom/server`](/reference/react-dom/server) は、サーバ上で React コンポーネントをレンダーするための API を含んでいます。
2828

2929
---
3030

31-
## Deprecated APIs {/*deprecated-apis*/}
31+
## 非推奨の API {/*deprecated-apis*/}
3232

3333
<Deprecated>
3434

35-
These APIs will be removed in a future major version of React.
35+
これらの API は、React の将来のメジャーバージョンで削除される予定です。
3636

3737
</Deprecated>
3838

39-
* [`findDOMNode`](/reference/react-dom/findDOMNode) finds the closest DOM node corresponding to a class component instance.
40-
* [`hydrate`](/reference/react-dom/hydrate) mounts a tree into the DOM created from server HTML. Deprecated in favor of [`hydrateRoot`](/reference/react-dom/client/hydrateRoot).
41-
* [`render`](/reference/react-dom/render) mounts a tree into the DOM. Deprecated in favor of [`createRoot`](/reference/react-dom/client/createRoot).
42-
* [`unmountComponentAtNode`](/reference/react-dom/unmountComponentAtNode) unmounts a tree from the DOM. Deprecated in favor of [`root.unmount()`](/reference/react-dom/client/createRoot#root-unmount).
39+
* [`findDOMNode`](/reference/react-dom/findDOMNode) は、クラスコンポーネントのインスタンスに対応する最も近い DOM ノードを検索します。
40+
* [`hydrate`](/reference/react-dom/hydrate) は、サーバの HTML から作成された DOM にツリーをマウントします。非推奨です。代わりに [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) を使用してください。
41+
* [`render`](/reference/react-dom/render) は、DOM にツリーをマウントします。非推奨です。代わりに [`createRoot`](/reference/react-dom/client/createRoot) を使用してください。
42+
* [`unmountComponentAtNode`](/reference/react-dom/unmountComponentAtNode) は、DOM からツリーをアンマウントします。非推奨です。代わりに [`root.unmount()`](/reference/react-dom/client/createRoot#root-unmount) を使用してください。
4343

0 commit comments

Comments
 (0)