Skip to content
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

Перевод referece/react/components #841

Merged
Merged
18 changes: 9 additions & 9 deletions src/content/reference/react/components.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
---
title: "Built-in React Components"
title: "Встроенные react-компоненты"
fpetrakov marked this conversation as resolved.
Show resolved Hide resolved
---

<Intro>

React exposes a few built-in components that you can use in your JSX.
Реакт из коробки предоставляет несколько компонентов.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Реакт из коробки предоставляет несколько компонентов.
React из коробки предоставляет несколько компонентов, которые можно использовать в JSX

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Кажется, что "которые можно использовать в JSX" можно опустить, потому что все компоненты можно использовать в JSX

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React превратился в Реакт, замечание от @gcor не до конца исправлено.


</Intro>

---

## Built-in components {/*built-in-components*/}
## Встроенные компоненты {/*built-in-components*/}

* [`<Fragment>`](/reference/react/Fragment), alternatively written as `<>...</>`, lets you group multiple JSX nodes together.
* [`<Profiler>`](/reference/react/Profiler) lets you measure rendering performance of a React tree programmatically.
* [`<Suspense>`](/reference/react/Suspense) lets you display a fallback while the child components are loading.
* [`<StrictMode>`](/reference/react/StrictMode) enables extra development-only checks that help you find bugs early.
* [`<Fragment>`](/reference/react/Fragment), или `<>...</>`, объединяет несколько JSX узлов.
* [`<Profiler>`](/reference/react/Profiler) измеряет производительность рендера компонентов.
fpetrakov marked this conversation as resolved.
Show resolved Hide resolved
* [`<Suspense>`](/reference/react/Suspense) отображает заглушку, пока загружаются дочерние компоненты.
* [`<StrictMode>`](/reference/react/StrictMode) включает дополнительные проверки в режиме разработки, они помогают находить баги раньше.

---

## Your own components {/*your-own-components*/}
## Ваши компоненты {/*your-own-components*/}

You can also [define your own components](/learn/your-first-component) as JavaScript functions.
Вы также можете [создавать свои компоненты](/learn/your-first-component), используя JavaScript-функции.
2 changes: 1 addition & 1 deletion src/sidebarReference.json
ntishkevich marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
]
},
{
"title": "Components",
"title": "Компоненты",
"path": "/reference/react/components",
"routes": [
{
Expand Down