From fa731c7314a05b0ef17df4a82d54bee51728adb4 Mon Sep 17 00:00:00 2001 From: "translate-react-bot[bot]" <251169733+translate-react-bot[bot]@users.noreply.github.com> Date: Wed, 4 Feb 2026 15:12:10 +0000 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20translate=20`index.md`=20to=20?= =?UTF-8?q?=D0=A0=D1=83=D1=81=D1=81=D0=BA=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reference/react-dom/static/index.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/content/reference/react-dom/static/index.md b/src/content/reference/react-dom/static/index.md index 988ec85dc6..123897528c 100644 --- a/src/content/reference/react-dom/static/index.md +++ b/src/content/reference/react-dom/static/index.md @@ -1,28 +1,26 @@ --- -title: Static React DOM APIs +title: Статические API React DOM --- -The `react-dom/static` APIs let you generate static HTML for React components. They have limited functionality compared to the streaming APIs. 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. +Статические API `react-dom/static` позволяют генерировать статический HTML для React-компонентов. Их функциональность ограничена по сравнению с потоковыми API. [Фреймворк](/learn/start-a-new-react-project#production-grade-react-frameworks) может вызывать их за вас. Большинству ваших компонентов не нужно их импортировать или использовать. --- -## Static APIs for Web Streams {/*static-apis-for-web-streams*/} +## Статические API для Web Streams {/*static-apis-for-web-streams*/} -These methods are only available in the environments with [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API), which includes browsers, Deno, and some modern edge runtimes: +Эти методы доступны только в средах с [Web Streams](https://developer.mozilla.org/ru/docs/Web/API/Streams_API), которые включают браузеры, Deno и некоторые современные edge-среды выполнения: -* [`prerender`](/reference/react-dom/static/prerender) renders a React tree to static HTML with a [Readable Web Stream.](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) +* [`prerender`](/reference/react-dom/static/prerender) рендерит React-дерево в статический HTML с помощью [Readable Web Stream.](https://developer.mozilla.org/ru/docs/Web/API/ReadableStream) --- -## Static APIs for Node.js Streams {/*static-apis-for-nodejs-streams*/} - -These methods are only available in the environments with [Node.js Streams](https://nodejs.org/api/stream.html): - -* [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream) renders a React tree to static HTML with a [Node.js Stream.](https://nodejs.org/api/stream.html) +## Статические API для Node.js Streams {/*static-apis-for-nodejs-streams*/} +Эти методы доступны только в средах с [Node.js Streams](https://nodejs.org/api/stream.html): +* [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream) рендерит React-дерево в статический HTML с помощью [Node.js Stream.](https://nodejs.org/api/stream.html) \ No newline at end of file From cc4631c4e3aa0fed5b9c72dabc49f0a386bf2cea Mon Sep 17 00:00:00 2001 From: "translate-react-bot[bot]" <251169733+translate-react-bot[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 16:24:55 +0000 Subject: [PATCH 2/2] =?UTF-8?q?docs:=20translate=20`index.md`=20to=20?= =?UTF-8?q?=D0=A0=D1=83=D1=81=D1=81=D0=BA=D0=B8=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content/reference/react-dom/static/index.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/content/reference/react-dom/static/index.md b/src/content/reference/react-dom/static/index.md index 123897528c..9ae7985cdb 100644 --- a/src/content/reference/react-dom/static/index.md +++ b/src/content/reference/react-dom/static/index.md @@ -1,10 +1,9 @@ --- title: Статические API React DOM --- - -Статические API `react-dom/static` позволяют генерировать статический HTML для React-компонентов. Их функциональность ограничена по сравнению с потоковыми API. [Фреймворк](/learn/start-a-new-react-project#production-grade-react-frameworks) может вызывать их за вас. Большинству ваших компонентов не нужно их импортировать или использовать. +API `react-dom/static` позволяют генерировать статический HTML для React-компонентов. Их функциональность ограничена по сравнению со стриминговыми API. [Фреймворк](/learn/start-a-new-react-project#production-grade-react-frameworks) может вызывать их за вас. Большинству ваших компонентов не нужно их импортировать или использовать. @@ -12,9 +11,9 @@ title: Статические API React DOM ## Статические API для Web Streams {/*static-apis-for-web-streams*/} -Эти методы доступны только в средах с [Web Streams](https://developer.mozilla.org/ru/docs/Web/API/Streams_API), которые включают браузеры, Deno и некоторые современные edge-среды выполнения: +Эти методы доступны только в средах с [Web Streams](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API), включая браузеры, Deno и некоторые современные среды выполнения на периферии: -* [`prerender`](/reference/react-dom/static/prerender) рендерит React-дерево в статический HTML с помощью [Readable Web Stream.](https://developer.mozilla.org/ru/docs/Web/API/ReadableStream) +* [`prerender`](/reference/react-dom/static/prerender) рендерит React-дерево в статический HTML с помощью [Readable Web Stream.](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) ---