Skip to content

Commit fa731c7

Browse files
docs: translate index.md to Русский
1 parent 2958f53 commit fa731c7

1 file changed

Lines changed: 8 additions & 10 deletions

File tree

  • src/content/reference/react-dom/static
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,26 @@
11
---
2-
title: Static React DOM APIs
2+
title: Статические API React DOM
33
---
44

55
<Intro>
66

7-
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.
7+
Статические API `react-dom/static` позволяют генерировать статический HTML для React-компонентов. Их функциональность ограничена по сравнению с потоковыми API. [Фреймворк](/learn/start-a-new-react-project#production-grade-react-frameworks) может вызывать их за вас. Большинству ваших компонентов не нужно их импортировать или использовать.
88

99
</Intro>
1010

1111
---
1212

13-
## Static APIs for Web Streams {/*static-apis-for-web-streams*/}
13+
## Статические API для Web Streams {/*static-apis-for-web-streams*/}
1414

15-
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:
15+
Эти методы доступны только в средах с [Web Streams](https://developer.mozilla.org/ru/docs/Web/API/Streams_API), которые включают браузеры, Deno и некоторые современные edge-среды выполнения:
1616

17-
* [`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)
17+
* [`prerender`](/reference/react-dom/static/prerender) рендерит React-дерево в статический HTML с помощью [Readable Web Stream.](https://developer.mozilla.org/ru/docs/Web/API/ReadableStream)
1818

1919

2020
---
2121

22-
## Static APIs for Node.js Streams {/*static-apis-for-nodejs-streams*/}
23-
24-
These methods are only available in the environments with [Node.js Streams](https://nodejs.org/api/stream.html):
25-
26-
* [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream) renders a React tree to static HTML with a [Node.js Stream.](https://nodejs.org/api/stream.html)
22+
## Статические API для Node.js Streams {/*static-apis-for-nodejs-streams*/}
2723

24+
Эти методы доступны только в средах с [Node.js Streams](https://nodejs.org/api/stream.html):
2825

26+
* [`prerenderToNodeStream`](/reference/react-dom/static/prerenderToNodeStream) рендерит React-дерево в статический HTML с помощью [Node.js Stream.](https://nodejs.org/api/stream.html)

0 commit comments

Comments
 (0)