Skip to content

Commit 1bb5df1

Browse files
authored
Translated this article
1 parent 951189b commit 1bb5df1

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
---
2-
title: React Reference Overview
2+
title: Обзор справочника React
33
---
44

55
<Intro>
66

7-
This section provides detailed reference documentation for working with React. For an introduction to React, please visit the [Learn](/learn) section.
7+
В этом разделе представлена подробная справочная документация по React. Если вы только начинаете знакомство с React, рекомендуем начать с раздела [Изучение](/learn).
88

99
</Intro>
1010

11-
The React reference documentation is broken down into functional subsections:
11+
Справочник разбит на несколько функциональных разделов:
1212

1313
## React {/*react*/}
1414

15-
Programmatic React features:
15+
Основные возможности ядра React:
1616

17-
* [Hooks](/reference/react/hooks) - Use different React features from your components.
18-
* [Components](/reference/react/components) - Built-in components that you can use in your JSX.
19-
* [APIs](/reference/react/apis) - APIs that are useful for defining components.
20-
* [Directives](/reference/rsc/directives) - Provide instructions to bundlers compatible with React Server Components.
17+
- [Хуки](/reference/react/hooks) — использование встроенных функций React в компонентах.
18+
- [Компоненты](/reference/react/components) — встроенные компоненты, доступные для использования в JSX.
19+
- [API](/reference/react/apis) — функции, полезные для определения компонентов.
20+
- [Директивы](/reference/rsc/directives) — инструкции для совместимых с серверными компонентами пакетов.
2121

2222
## React DOM {/*react-dom*/}
2323

24-
React-dom contains features that are only supported for web applications (which run in the browser DOM environment). This section is broken into the following:
24+
Пакет `react-dom` предоставляет функциональность, специфичную для веб-среды (браузера). Раздел включает:
2525

26-
* [Hooks](/reference/react-dom/hooks) - Hooks for web applications which run in the browser DOM environment.
27-
* [Components](/reference/react-dom/components) - React supports all of the browser built-in HTML and SVG components.
28-
* [APIs](/reference/react-dom) - The `react-dom` package contains methods supported only in web applications.
29-
* [Client APIs](/reference/react-dom/client) - The `react-dom/client` APIs let you render React components on the client (in the browser).
30-
* [Server APIs](/reference/react-dom/server) - The `react-dom/server` APIs let you render React components to HTML on the server.
26+
- [Хуки](/reference/react-dom/hooks) — хуки, работающие в DOM-среде.
27+
- [Компоненты](/reference/react-dom/components) — поддержка всех стандартных HTML- и SVG-элементов как компонентов React.
28+
- [API](/reference/react-dom) — методы из пакета `react-dom`, доступные только в веб-приложениях.
29+
- [Клиентские API](/reference/react-dom/client) — API для рендеринга React-компонентов в браузере.
30+
- [Серверные API](/reference/react-dom/server) — API для рендеринга React-компонентов на сервере.
3131

32-
## Rules of React {/*rules-of-react*/}
32+
## Правила React {/*rules-of-react*/}
3333

34-
React has idioms — or rules — for how to express patterns in a way that is easy to understand and yields high-quality applications:
34+
React предъявляет определённые требования к структуре компонентов, чтобы код был понятным и приложения — надёжными:
3535

36-
* [Components and Hooks must be pure](/reference/rules/components-and-hooks-must-be-pure) – Purity makes your code easier to understand, debug, and allows React to automatically optimize your components and hooks correctly.
37-
* [React calls Components and Hooks](/reference/rules/react-calls-components-and-hooks) React is responsible for rendering components and hooks when necessary to optimize the user experience.
38-
* [Rules of Hooks](/reference/rules/rules-of-hooks) – Hooks are defined using JavaScript functions, but they represent a special type of reusable UI logic with restrictions on where they can be called.
36+
- [Компоненты и хуки должны быть чистыми](/reference/rules/components-and-hooks-must-be-pure) — чистота кода делает его более понятным и предсказуемым и облегчает оптимизацию со стороны React.
37+
- [React управляет вызовами компонентов и хуков](/reference/rules/react-calls-components-and-hooks) React сам инициирует вызовы компонентов и хуков, чтобы обеспечить оптимальный пользовательский опыт.
38+
- [Правила хуков](/reference/rules/rules-of-hooks) — хуки — это особый тип логики интерфейса с ограничениями на место вызова.
3939

40-
## Legacy APIs {/*legacy-apis*/}
40+
## Устаревшие API {/*legacy-apis*/}
4141

42-
* [Legacy APIs](/reference/react/legacy) - Exported from the `react` package, but not recommended for use in newly written code.
42+
- [Устаревшие API](/reference/react/legacy) — экспортируются из пакета `react`, но не рекомендуются к использованию.

0 commit comments

Comments
 (0)