Skip to content

Translate react-dom client API index #662

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/content/reference/react-dom/client/index.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
---
title: Client React DOM APIs
title: クライアント用 React DOM API
---

<Intro>

The `react-dom/client` APIs let you render React components on the client (in the browser). These APIs are typically used at the top level of your app to initialize your React tree. A [framework](/learn/start-a-new-react-project#production-grade-react-frameworks) may call them for you. Most of your components don't need to import or use them.
`react-dom/client` の API を用いて、クライアント(ブラウザ)上で React コンポーネントをレンダーすることができます。これらの API は通常、React ツリーを初期化するためにアプリのトップレベルで使用されます。[フレームワーク](/learn/start-a-new-react-project#production-grade-react-frameworks)はこれらをあなたの代わりに呼び出すことがあります。ほとんどのコンポーネントは、これらをインポートしたり使用したりする必要はありません。

</Intro>

---

## Client APIs {/*client-apis*/}
## クライアント API {/*client-apis*/}

* [`createRoot`](/reference/react-dom/client/createRoot) lets you create a root to display React components inside a browser DOM node.
* [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) lets you display React components inside a browser DOM node whose HTML content was previously generated by [`react-dom/server`.](/reference/react-dom/server)
* [`createRoot`](/reference/react-dom/client/createRoot) は、ブラウザの DOM ノード内に React コンポーネントを表示するためのルートを作成します。
* [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) は、[`react-dom/server`](/reference/react-dom/server) によって事前生成した HTML コンテンツが含まれるブラウザ DOM ノード内に、React コンポーネントを表示します。

---

## Browser support {/*browser-support*/}
## ブラウザサポート {/*browser-support*/}

React supports all popular browsers, including Internet Explorer 9 and above. Some polyfills are required for older browsers such as IE 9 and IE 10.
React は、Internet Explorer 9 以上を含むすべての一般的なブラウザをサポートしています。IE 9 IE 10 などの古いブラウザにはいくつかのポリフィルが必要です。