diff --git a/src/components/MDX/ExpandableCallout.tsx b/src/components/MDX/ExpandableCallout.tsx
index 5f594063d..40d9540f6 100644
--- a/src/components/MDX/ExpandableCallout.tsx
+++ b/src/components/MDX/ExpandableCallout.tsx
@@ -26,7 +26,7 @@ interface ExpandableCalloutProps {
const variantMap = {
deprecated: {
- title: 'Deprecated',
+ title: 'Застаріле',
Icon: IconWarning,
containerClasses: 'bg-red-5 dark:bg-red-60 dark:bg-opacity-20',
textColor: 'text-red-50 dark:text-red-40',
@@ -34,7 +34,7 @@ const variantMap = {
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
},
note: {
- title: 'Note',
+ title: 'Примітка',
Icon: IconNote,
containerClasses:
'bg-green-5 dark:bg-green-60 dark:bg-opacity-20 text-primary dark:text-primary-dark text-lg',
@@ -52,7 +52,7 @@ const variantMap = {
'linear-gradient(rgba(245, 249, 248, 0), rgba(245, 249, 248, 1)',
},
pitfall: {
- title: 'Pitfall',
+ title: 'Будьте обачні',
Icon: IconPitfall,
containerClasses: 'bg-yellow-5 dark:bg-yellow-60 dark:bg-opacity-20',
textColor: 'text-yellow-50 dark:text-yellow-40',
@@ -60,7 +60,7 @@ const variantMap = {
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
},
wip: {
- title: 'Under Construction',
+ title: 'Досі розробляється',
Icon: IconNote,
containerClasses: 'bg-yellow-5 dark:bg-yellow-60 dark:bg-opacity-20',
textColor: 'text-yellow-50 dark:text-yellow-40',
@@ -76,7 +76,7 @@ const variantMap = {
'linear-gradient(rgba(249, 247, 243, 0), rgba(249, 247, 243, 1)',
},
rsc: {
- title: 'React Server Components',
+ title: 'Серверні компоненти React',
Icon: null,
containerClasses: 'bg-blue-10 dark:bg-blue-60 dark:bg-opacity-20',
textColor: 'text-blue-50 dark:text-blue-40',
diff --git a/src/components/MDX/ExpandableExample.tsx b/src/components/MDX/ExpandableExample.tsx
index 1e709e483..7123bb9cf 100644
--- a/src/components/MDX/ExpandableExample.tsx
+++ b/src/components/MDX/ExpandableExample.tsx
@@ -71,13 +71,13 @@ function ExpandableExample({children, excerpt, type}: ExpandableExampleProps) {
{isDeepDive && (
<>
- Deep Dive
+ Занурення
>
)}
{isExample && (
<>
- Example
+ Приклад
>
)}
@@ -101,7 +101,7 @@ function ExpandableExample({children, excerpt, type}: ExpandableExampleProps) {
- {isExpanded ? 'Hide Details' : 'Show Details'}
+ {isExpanded ? 'Приховати подробиці' : 'Показати подробиці'}
(
size="s"
className={'inline me-1 mb-0.5 text-sm text-gray-60 dark:text-gray-10'}
/>
- Canary only
+ Лише сanary
);
@@ -163,7 +163,7 @@ function LearnMore({
- Ready to learn this topic?
+ Бажаєте вивчити цю тему?
{children}
{path ? (
@@ -172,7 +172,7 @@ function LearnMore({
label="Read More"
href={path}
type="primary">
- Read More
+ Детальніше
) : null}
@@ -186,7 +186,7 @@ function LearnMore({
function ReadBlogPost({path}: {path: string}) {
return (
- Read Post
+ Переглянути публікацію
);
@@ -223,7 +223,7 @@ function YouWillLearn({
children: any;
isChapter?: boolean;
}) {
- let title = isChapter ? 'In this chapter' : 'You will learn';
+ let title = isChapter ? 'У цьому розділі' : 'Ви вивчите';
return
{children} ;
}
@@ -243,7 +243,7 @@ function AuthorCredit({
diff --git a/src/components/MDX/Recap.tsx b/src/components/MDX/Recap.tsx
index d91ed48b4..d9b4f0a6a 100644
--- a/src/components/MDX/Recap.tsx
+++ b/src/components/MDX/Recap.tsx
@@ -13,7 +13,7 @@ function Recap({children}: RecapProps) {
return (
- Recap
+ Підсумок
{children}
diff --git a/src/components/MDX/Sandpack/Console.tsx b/src/components/MDX/Sandpack/Console.tsx
index b5276fc13..fb0009209 100644
--- a/src/components/MDX/Sandpack/Console.tsx
+++ b/src/components/MDX/Sandpack/Console.tsx
@@ -165,7 +165,7 @@ export const SandpackConsole = ({visible}: {visible: boolean}) => {
className="flex items-center p-1"
onClick={() => setIsExpanded(!isExpanded)}>
-
Console ({logs.length})
+
Консоль ({logs.length})
- {isExpanded ? 'Show less' : 'Show more'}
+ {isExpanded ? 'Згорнути' : 'Розгорнути'}
)}
diff --git a/src/components/MDX/Sandpack/DownloadButton.tsx b/src/components/MDX/Sandpack/DownloadButton.tsx
index 94cf13ddc..101e6f255 100644
--- a/src/components/MDX/Sandpack/DownloadButton.tsx
+++ b/src/components/MDX/Sandpack/DownloadButton.tsx
@@ -100,9 +100,9 @@ ${css}
- Download
+ Завантажити
);
}
diff --git a/src/components/MDX/Sandpack/LoadingOverlay.tsx b/src/components/MDX/Sandpack/LoadingOverlay.tsx
index de883629c..b4180fae3 100644
--- a/src/components/MDX/Sandpack/LoadingOverlay.tsx
+++ b/src/components/MDX/Sandpack/LoadingOverlay.tsx
@@ -63,7 +63,7 @@ export const LoadingOverlay = ({
opacity: stillLoading ? 1 : 0,
transition: `opacity ${FADE_ANIMATION_DURATION}ms ease-out`,
}}>
-
+
{/* @ts-ignore: the OpenInCodeSandboxButton type from '@codesandbox/sandpack-react/unstyled' is incompatible with JSX in React 19 */}
diff --git a/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx b/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx
index a27122ed6..ae9081e8f 100644
--- a/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx
+++ b/src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx
@@ -9,13 +9,13 @@ export const OpenInCodeSandboxButton = () => {
return (
+ title="Відкрити в CodeSandbox">
- Fork
+ Відгалузити
);
};
diff --git a/src/components/MDX/Sandpack/OpenInTypeScriptPlayground.tsx b/src/components/MDX/Sandpack/OpenInTypeScriptPlayground.tsx
index 7284912e3..44354138f 100644
--- a/src/components/MDX/Sandpack/OpenInTypeScriptPlayground.tsx
+++ b/src/components/MDX/Sandpack/OpenInTypeScriptPlayground.tsx
@@ -12,7 +12,7 @@ export const OpenInTypeScriptPlaygroundButton = (props: {content: string}) => {
href={`https://www.typescriptlang.org/play#src=${encodeURIComponent(
contentWithReactImport
)}`}
- title="Open in TypeScript Playground"
+ title="Відкрити в TypeScript-пісочниці"
target="_blank"
rel="noreferrer">
{
width="1em"
height="1em"
/>
- TypeScript Playground
+ TypeScript-пісочниця
);
};
diff --git a/src/components/MDX/Sandpack/Preview.tsx b/src/components/MDX/Sandpack/Preview.tsx
index e4fe0afe4..d595c409c 100644
--- a/src/components/MDX/Sandpack/Preview.tsx
+++ b/src/components/MDX/Sandpack/Preview.tsx
@@ -189,7 +189,7 @@ export function Preview({
? 'absolute opacity-0 pointer-events-none duration-75'
: 'opacity-100 duration-150'
)}
- title="Sandbox Preview"
+ title="Попередній перегляд пісочниці"
style={{
height: iframeComputedHeight || '15px',
zIndex: isExpanded ? 'initial' : -1,
diff --git a/src/components/MDX/Sandpack/ResetButton.tsx b/src/components/MDX/Sandpack/ResetButton.tsx
index 0d1e22c80..2fbe6b157 100644
--- a/src/components/MDX/Sandpack/ResetButton.tsx
+++ b/src/components/MDX/Sandpack/ResetButton.tsx
@@ -13,9 +13,9 @@ export function ResetButton({onReset}: ResetButtonProps) {
- Reset
+ Скинути
);
}
diff --git a/src/components/MDX/TeamMember.tsx b/src/components/MDX/TeamMember.tsx
index 2c2fffa73..b8675b7c5 100644
--- a/src/components/MDX/TeamMember.tsx
+++ b/src/components/MDX/TeamMember.tsx
@@ -67,7 +67,7 @@ export function TeamMember({
{twitter && (
@@ -78,7 +78,7 @@ export function TeamMember({
{threads && (
@@ -89,7 +89,7 @@ export function TeamMember({
{bsky && (
@@ -100,7 +100,7 @@ export function TeamMember({
{github && (
{github}
@@ -109,7 +109,7 @@ export function TeamMember({
)}
{personal && (
{personal}
diff --git a/src/components/MDX/YouWillLearnCard.tsx b/src/components/MDX/YouWillLearnCard.tsx
index d46a70277..8ee724403 100644
--- a/src/components/MDX/YouWillLearnCard.tsx
+++ b/src/components/MDX/YouWillLearnCard.tsx
@@ -28,7 +28,7 @@ function YouWillLearnCard({title, path, children}: YouWillLearnCardProps) {
type="primary"
size="md"
label={title}>
- Read More
+ Детальніше
diff --git a/src/components/PageHeading.tsx b/src/components/PageHeading.tsx
index 6000c8e51..9416f99b5 100644
--- a/src/components/PageHeading.tsx
+++ b/src/components/PageHeading.tsx
@@ -33,7 +33,7 @@ function PageHeading({
{title}
{canary && (
)}
diff --git a/src/components/SocialBanner.tsx b/src/components/SocialBanner.tsx
index 2db62c994..38067ff61 100644
--- a/src/components/SocialBanner.tsx
+++ b/src/components/SocialBanner.tsx
@@ -9,7 +9,7 @@ import {ExternalLink} from './ExternalLink';
const bannerText = 'Stream React Conf on May 15-16.';
const bannerLink = 'https://conf.react.dev/';
-const bannerLinkText = 'Learn more.';
+const bannerLinkText = 'Детальніше.';
export default function SocialBanner() {
const ref = useRef(null);
diff --git a/src/components/Tag.tsx b/src/components/Tag.tsx
index 2e63a81f6..a777724ff 100644
--- a/src/components/Tag.tsx
+++ b/src/components/Tag.tsx
@@ -7,23 +7,23 @@ import type {RouteTag} from './Layout/getRouteMeta';
const variantMap = {
foundation: {
- name: 'Foundation',
+ name: 'Початковий рівень',
classes: 'bg-yellow-50 text-white',
},
intermediate: {
- name: 'Intermediate',
+ name: 'Середній рівень',
classes: 'bg-purple-40 text-white',
},
advanced: {
- name: 'Advanced',
+ name: 'Високий рівень',
classes: 'bg-green-40 text-white',
},
experimental: {
- name: 'Experimental',
+ name: 'Експериментальне',
classes: 'bg-ui-orange text-white',
},
deprecated: {
- name: 'Deprecated',
+ name: 'Застаріле',
classes: 'bg-red-40 text-white',
},
};
diff --git a/src/content/blog/index.md b/src/content/blog/index.md
index f7bbe76f3..6561e5ca0 100644
--- a/src/content/blog/index.md
+++ b/src/content/blog/index.md
@@ -1,5 +1,5 @@
---
-title: React Blog
+title: Блог React
---
@@ -106,8 +106,8 @@ Not every React release deserves its own blog post, but you can find a detailed
---
-### Older posts {/*older-posts*/}
+### Старіші публікації {/*older-posts*/}
-See the [older posts.](https://reactjs.org/blog/all.html)
+Перегляньте [старіші публікації.](https://reactjs.org/blog/all.html)
diff --git a/src/content/community/acknowledgements.md b/src/content/community/acknowledgements.md
index bfe67f55a..3bed9c743 100644
--- a/src/content/community/acknowledgements.md
+++ b/src/content/community/acknowledgements.md
@@ -1,5 +1,5 @@
---
-title: Acknowledgements
+title: Подяки
---
diff --git a/src/content/community/docs-contributors.md b/src/content/community/docs-contributors.md
index 27b32a18f..f5f7f70bc 100644
--- a/src/content/community/docs-contributors.md
+++ b/src/content/community/docs-contributors.md
@@ -1,5 +1,5 @@
---
-title: Docs Contributors
+title: Автори документації
---
diff --git a/src/content/community/index.md b/src/content/community/index.md
index 1e28a27f0..56a3505f5 100644
--- a/src/content/community/index.md
+++ b/src/content/community/index.md
@@ -1,5 +1,5 @@
---
-title: React Community
+title: Спільнота React
---
@@ -8,7 +8,7 @@ React has a community of millions of developers. On this page we've listed some
-## Code of Conduct {/*code-of-conduct*/}
+## Кодекс поведінки {/*code-of-conduct*/}
Before participating in React's communities, [please read our Code of Conduct.](https://github.com/facebook/react/blob/main/CODE_OF_CONDUCT.md) We have adopted the [Contributor Covenant](https://www.contributor-covenant.org/) and we expect that all community members adhere to the guidelines within.
diff --git a/src/content/community/team.md b/src/content/community/team.md
index da4ce0791..0cc293717 100644
--- a/src/content/community/team.md
+++ b/src/content/community/team.md
@@ -1,5 +1,5 @@
---
-title: "Meet the Team"
+title: Команда React
---
@@ -100,4 +100,4 @@ Current members of the React team are listed in alphabetical order below.
## Past contributors {/*past-contributors*/}
-You can find the past team members and other people who significantly contributed to React over the years on the [acknowledgements](/community/acknowledgements) page.
+You can find the past team members and other people who significantly contributed to React over the years on the ["Подяки"](/community/acknowledgements) page.
diff --git a/src/content/community/translations.md b/src/content/community/translations.md
index 4c07e6a1e..e31b7b283 100644
--- a/src/content/community/translations.md
+++ b/src/content/community/translations.md
@@ -1,5 +1,5 @@
---
-title: Translations
+title: Переклади
---
diff --git a/src/content/community/videos.md b/src/content/community/videos.md
index 3fad95786..b1e0bea21 100644
--- a/src/content/community/videos.md
+++ b/src/content/community/videos.md
@@ -1,5 +1,5 @@
---
-title: React Videos
+title: Відео про React
---
diff --git a/src/content/learn/creating-a-react-app.md b/src/content/learn/creating-a-react-app.md
index 02b7113d5..0656b5268 100644
--- a/src/content/learn/creating-a-react-app.md
+++ b/src/content/learn/creating-a-react-app.md
@@ -104,10 +104,10 @@ App Router від Next.js також інтегрує [отримання дан
Якщо ваш застосунок містить обмеження, які не спрацюють із наявними фреймворками, або ви бажаєте побудувати власний фреймворк чи розібратися в основах React-застосунку, є інші доступні варіанти для початку React-проєкту з нуля.
-Початок роботи з нуля надає вам більше гнучкості, але потребує від вас вибору інструментів для маршрутизації, отримання даних та інших типових патернів використання. Це дуже схоже на створення власного фреймворку замість використання наявного. [Фреймворки, які ми рекомендуємо](#recommended-react-frameworks), мають готові вбудовані рішення для цих проблем.
+Початок роботи з нуля надає вам більше гнучкості, але потребує від вас вибору інструментів для маршрутизації, отримання даних та інших типових патернів використання. Це дуже схоже на створення власного фреймворку замість використання наявного. [Фреймворки, які ми рекомендуємо](#full-stack-frameworks), мають готові вбудовані рішення для цих проблем.
Якби ви хочете власне рішення, перегляньте наш посібник із [побудови React-застосунку з нуля](/learn/build-a-react-app-from-scratch), щоб отримати інструкції з налаштування нового React-проєкту, починаючи з інструментів збирання, як-от [Vite](https://vite.dev/), [Parcel](https://parceljs.org/) чи [RSbuild](https://rsbuild.dev/).
-----
-_Якщо ви автор фреймворку та бажаєте додати його на цю сторінку, [будь ласка, напишіть нам](https://github.com/reactjs/react.dev/issues/new?assignees=&labels=type%3A+framework&projects=&template=3-framework.yml&title=%5BFramework%5D%3A+)._
\ No newline at end of file
+_Якщо ви автор фреймворку та бажаєте додати його на цю сторінку, [будь ласка, напишіть нам](https://github.com/reactjs/react.dev/issues/new?assignees=&labels=type%3A+framework&projects=&template=3-framework.yml&title=%5BFramework%5D%3A+)._
diff --git a/src/content/learn/describing-the-ui.md b/src/content/learn/describing-the-ui.md
index 3209b0dc7..95073027c 100644
--- a/src/content/learn/describing-the-ui.md
+++ b/src/content/learn/describing-the-ui.md
@@ -186,7 +186,7 @@ img { height: 90px; }
-## JavaScript у JSX з фігурними дужками {/*javascript-in-jsx-with-curly-braces*/}
+## JavaScript у JSX із фігурними дужками {/*javascript-in-jsx-with-curly-braces*/}
JSX дозволяє писати HTML-подібну розмітку всередині файлу JavaScript, зберігаючи логіку рендерингу та вміст в одному місці. Іноді вам потрібно додати трохи логіки JavaScript або посилатися на динамічну властивість у цій розмітці. Тоді ви можете використовувати фігурні дужки у своєму JSX, щоб "відкрити вікно" у JavaScript:
diff --git a/src/content/learn/javascript-in-jsx-with-curly-braces.md b/src/content/learn/javascript-in-jsx-with-curly-braces.md
index 2cbde050a..a95146438 100644
--- a/src/content/learn/javascript-in-jsx-with-curly-braces.md
+++ b/src/content/learn/javascript-in-jsx-with-curly-braces.md
@@ -1,5 +1,5 @@
---
-title: JavaScript у JSX з фігурними дужками
+title: JavaScript у JSX із фігурними дужками
---
diff --git a/src/content/learn/tutorial-tic-tac-toe.md b/src/content/learn/tutorial-tic-tac-toe.md
index 1c61d180a..aae421835 100644
--- a/src/content/learn/tutorial-tic-tac-toe.md
+++ b/src/content/learn/tutorial-tic-tac-toe.md
@@ -202,7 +202,7 @@ Once you've played around with the finished tic-tac-toe game, keep scrolling. Yo
## Setup for the tutorial {/*setup-for-the-tutorial*/}
-In the live code editor below, click **Fork** in the top-right corner to open the editor in a new tab using the website CodeSandbox. CodeSandbox lets you write code in your browser and preview how your users will see the app you've created. The new tab should display an empty square and the starter code for this tutorial.
+In the live code editor below, click **Відгалузити** in the top-right corner to open the editor in a new tab using the website CodeSandbox. CodeSandbox lets you write code in your browser and preview how your users will see the app you've created. The new tab should display an empty square and the starter code for this tutorial.
@@ -264,7 +264,7 @@ body {
You can also follow this tutorial using your local development environment. To do this, you need to:
1. Install [Node.js](https://nodejs.org/en/)
-1. In the CodeSandbox tab you opened earlier, press the top-left corner button to open the menu, and then choose **Download Sandbox** in that menu to download an archive of the files locally
+1. In the CodeSandbox tab you opened earlier, press the top-left corner button to open the menu, and then choose **Завантажити пісочницю** in that menu to download an archive of the files locally
1. Unzip the archive, then open a terminal and `cd` to the directory you unzipped
1. Install the dependencies with `npm install`
1. Run `npm start` to start a local server and follow the prompts to view the code running in a browser
diff --git a/src/content/reference/react-dom/client/index.md b/src/content/reference/react-dom/client/index.md
index 89f48212f..c0ef62fca 100644
--- a/src/content/reference/react-dom/client/index.md
+++ b/src/content/reference/react-dom/client/index.md
@@ -1,5 +1,5 @@
---
-title: Client React DOM APIs
+title: "React DOM: клієнтські API"
---
diff --git a/src/content/reference/react-dom/components/index.md b/src/content/reference/react-dom/components/index.md
index ec2e1d2ee..f51db55eb 100644
--- a/src/content/reference/react-dom/components/index.md
+++ b/src/content/reference/react-dom/components/index.md
@@ -1,5 +1,5 @@
---
-title: "React DOM Components"
+title: "React DOM: компоненти"
---
diff --git a/src/content/reference/react-dom/hooks/index.md b/src/content/reference/react-dom/hooks/index.md
index 73eefae75..95d94f8c5 100644
--- a/src/content/reference/react-dom/hooks/index.md
+++ b/src/content/reference/react-dom/hooks/index.md
@@ -1,5 +1,5 @@
---
-title: "Built-in React DOM Hooks"
+title: "React DOM: вбудовані хуки"
---
diff --git a/src/content/reference/react-dom/index.md b/src/content/reference/react-dom/index.md
index b79b16db6..90650ac77 100644
--- a/src/content/reference/react-dom/index.md
+++ b/src/content/reference/react-dom/index.md
@@ -1,5 +1,5 @@
---
-title: React DOM APIs
+title: "React DOM: API"
---
@@ -41,7 +41,7 @@ The `react-dom` package provides two additional entry points:
---
-## Removed APIs {/*removed-apis*/}
+## Видалені API {/*removed-apis*/}
These APIs were removed in React 19:
diff --git a/src/content/reference/react-dom/server/index.md b/src/content/reference/react-dom/server/index.md
index bea11603d..35e63386e 100644
--- a/src/content/reference/react-dom/server/index.md
+++ b/src/content/reference/react-dom/server/index.md
@@ -1,5 +1,5 @@
---
-title: Server React DOM APIs
+title: "React DOM: серверні API"
---
diff --git a/src/content/reference/react-dom/static/index.md b/src/content/reference/react-dom/static/index.md
index 988ec85dc..84167a1b9 100644
--- a/src/content/reference/react-dom/static/index.md
+++ b/src/content/reference/react-dom/static/index.md
@@ -1,5 +1,5 @@
---
-title: Static React DOM APIs
+title: "React DOM: статичні API"
---
diff --git a/src/content/reference/react/apis.md b/src/content/reference/react/apis.md
index cbab4a0e6..7c4e2f2de 100644
--- a/src/content/reference/react/apis.md
+++ b/src/content/reference/react/apis.md
@@ -1,5 +1,5 @@
---
-title: "Built-in React APIs"
+title: "React: вбудовані API"
---
diff --git a/src/content/reference/react/components.md b/src/content/reference/react/components.md
index 7ce3fab63..b5f9c50fa 100644
--- a/src/content/reference/react/components.md
+++ b/src/content/reference/react/components.md
@@ -1,5 +1,5 @@
---
-title: "Built-in React Components"
+title: "React: вбудовані компоненти"
---
diff --git a/src/content/reference/react/hooks.md b/src/content/reference/react/hooks.md
index 6dea3a0fd..43111538f 100644
--- a/src/content/reference/react/hooks.md
+++ b/src/content/reference/react/hooks.md
@@ -1,5 +1,5 @@
---
-title: "Built-in React Hooks"
+title: "React: вбудовані хуки"
---
diff --git a/src/content/reference/react/index.md b/src/content/reference/react/index.md
index a68ddc014..db255cf94 100644
--- a/src/content/reference/react/index.md
+++ b/src/content/reference/react/index.md
@@ -1,5 +1,5 @@
---
-title: React Reference Overview
+title: Вступ до довідника React
---
@@ -29,7 +29,7 @@ React-dom contains features that are only supported for web applications (which
* [Client APIs](/reference/react-dom/client) - The `react-dom/client` APIs let you render React components on the client (in the browser).
* [Server APIs](/reference/react-dom/server) - The `react-dom/server` APIs let you render React components to HTML on the server.
-## Rules of React {/*rules-of-react*/}
+## Правила React {/*rules-of-react*/}
React has idioms — or rules — for how to express patterns in a way that is easy to understand and yields high-quality applications:
@@ -37,6 +37,6 @@ React has idioms — or rules — for how to express patterns in a way that is e
* [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.
* [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.
-## Legacy APIs {/*legacy-apis*/}
+## Спадкові API {/*legacy-apis*/}
* [Legacy APIs](/reference/react/legacy) - Exported from the `react` package, but not recommended for use in newly written code.
diff --git a/src/content/reference/react/legacy.md b/src/content/reference/react/legacy.md
index b22a9c97e..774c43d3c 100644
--- a/src/content/reference/react/legacy.md
+++ b/src/content/reference/react/legacy.md
@@ -1,5 +1,5 @@
---
-title: "Legacy React APIs"
+title: "Спадкові API в React"
---
@@ -10,7 +10,7 @@ These APIs are exported from the `react` package, but they are not recommended f
---
-## Legacy APIs {/*legacy-apis*/}
+## Спадкові API {/*legacy-apis*/}
* [`Children`](/reference/react/Children) lets you manipulate and transform the JSX received as the `children` prop. [See alternatives.](/reference/react/Children#alternatives)
* [`cloneElement`](/reference/react/cloneElement) lets you create a React element using another element as a starting point. [See alternatives.](/reference/react/cloneElement#alternatives)
@@ -23,7 +23,7 @@ These APIs are exported from the `react` package, but they are not recommended f
---
-## Removed APIs {/*removed-apis*/}
+## Видалені API {/*removed-apis*/}
These APIs were removed in React 19:
diff --git a/src/content/reference/rules/index.md b/src/content/reference/rules/index.md
index dd5f7456c..5144bd5ca 100644
--- a/src/content/reference/rules/index.md
+++ b/src/content/reference/rules/index.md
@@ -1,5 +1,5 @@
---
-title: Rules of React
+title: Правила React
---
diff --git a/src/sidebarBlog.json b/src/sidebarBlog.json
index 5562a5a6c..aa09ae757 100644
--- a/src/sidebarBlog.json
+++ b/src/sidebarBlog.json
@@ -1,13 +1,13 @@
{
- "title": "Blog",
+ "title": "Блог",
"path": "/blog",
"routes": [
{
"hasSectionHeader": true,
- "sectionHeader": "STAY INFORMED"
+ "sectionHeader": "НОВИНИ"
},
{
- "title": "Blog",
+ "title": "Блог",
"path": "/blog",
"skipBreadcrumb": true,
"routes": [
@@ -117,7 +117,7 @@
"path": "/blog/2020/12/21/data-fetching-with-react-server-components"
},
{
- "title": "Older posts",
+ "title": "Старіші публікації",
"path": "https://reactjs.org/blog/all.html"
}
]
diff --git a/src/sidebarCommunity.json b/src/sidebarCommunity.json
index ac8a172d5..329c1dd85 100644
--- a/src/sidebarCommunity.json
+++ b/src/sidebarCommunity.json
@@ -1,13 +1,13 @@
{
- "title": "Community",
+ "title": "Спільнота",
"path": "/community",
"routes": [
{
"hasSectionHeader": true,
- "sectionHeader": "GET INVOLVED"
+ "sectionHeader": "ДОЛУЧИТИСЯ"
},
{
- "title": "Community",
+ "title": "Спільнота",
"path": "/community",
"skipBreadcrumb": true,
"routes": [
@@ -20,23 +20,23 @@
"path": "/community/meetups"
},
{
- "title": "React Videos",
+ "title": "Відео про React",
"path": "/community/videos"
},
{
- "title": "Meet the Team",
+ "title": "Команда React",
"path": "/community/team"
},
{
- "title": "Docs Contributors",
+ "title": "Автори документації",
"path": "/community/docs-contributors"
},
{
- "title": "Translations",
+ "title": "Переклади",
"path": "/community/translations"
},
{
- "title": "Acknowledgements",
+ "title": "Подяки",
"path": "/community/acknowledgements"
},
{
diff --git a/src/sidebarHome.json b/src/sidebarHome.json
index 556ee78b1..d0b17a7e8 100644
--- a/src/sidebarHome.json
+++ b/src/sidebarHome.json
@@ -23,7 +23,7 @@
"path": "/learn/describing-the-ui"
},
{
- "title": "Adding Interactivity",
+ "title": "Додавання інтерактивності",
"path": "/learn/adding-interactivity"
},
{
@@ -39,19 +39,19 @@
"sectionHeader": "REACT API"
},
{
- "title": "Hooks",
+ "title": "Хуки",
"path": "/reference/react"
},
{
- "title": "Components",
+ "title": "Компоненти",
"path": "/reference/react/components"
},
{
- "title": "APIs",
+ "title": "API",
"path": "/reference/react/apis"
},
{
- "title": "Legacy APIs",
+ "title": "Спадкові API",
"path": "/reference/react/legacy"
},
{
@@ -59,35 +59,35 @@
"sectionHeader": "REACT DOM API"
},
{
- "title": "Components",
+ "title": "Компоненти",
"path": "/reference/react-dom/components"
},
{
- "title": "APIs",
+ "title": "API",
"path": "/reference/react-dom"
},
{
- "title": "Client APIs",
+ "title": "Клієнтські API",
"path": "/reference/react-dom/client"
},
{
- "title": "Server APIs",
+ "title": "Серверні API",
"path": "/reference/react-dom/server"
},
{
"hasSectionHeader": true,
- "sectionHeader": "GET INVOLVED"
+ "sectionHeader": "ДОЛУЧИТИСЯ"
},
{
- "title": "React Community",
+ "title": "Спільнота React",
"path": "/community"
},
{
"hasSectionHeader": true,
- "sectionHeader": "STAY INFORMED"
+ "sectionHeader": "НОВИНИ"
},
{
- "title": "React Blog",
+ "title": "Блог React",
"path": "/blog"
}
]
diff --git a/src/sidebarLearn.json b/src/sidebarLearn.json
index d4e171a14..c9c9a2180 100644
--- a/src/sidebarLearn.json
+++ b/src/sidebarLearn.json
@@ -83,7 +83,7 @@
"path": "/learn/writing-markup-with-jsx"
},
{
- "title": "JavaScript у JSX з фігурними дужками",
+ "title": "JavaScript у JSX із фігурними дужками",
"path": "/learn/javascript-in-jsx-with-curly-braces"
},
{
diff --git a/src/sidebarReference.json b/src/sidebarReference.json
index a044c9f5b..2c3d63dc1 100644
--- a/src/sidebarReference.json
+++ b/src/sidebarReference.json
@@ -1,5 +1,5 @@
{
- "title": "API Reference",
+ "title": "Довідник API",
"path": "/reference/react",
"routes": [
{
@@ -7,11 +7,11 @@
"sectionHeader": "react@{{version}}"
},
{
- "title": "Overview",
+ "title": "Вступ",
"path": "/reference/react"
},
{
- "title": "Hooks",
+ "title": "Хуки",
"path": "/reference/react/hooks",
"routes": [
{
@@ -85,7 +85,7 @@
]
},
{
- "title": "Components",
+ "title": "Компоненти",
"path": "/reference/react/components",
"routes": [
{
@@ -107,7 +107,7 @@
]
},
{
- "title": "APIs",
+ "title": "API",
"path": "/reference/react/apis",
"routes": [
{
@@ -160,7 +160,7 @@
"sectionHeader": "react-dom@{{version}}"
},
{
- "title": "Hooks",
+ "title": "Хуки",
"path": "/reference/react-dom/hooks",
"routes": [
{
@@ -170,7 +170,7 @@
]
},
{
- "title": "Components",
+ "title": "Компоненти",
"path": "/reference/react-dom/components",
"routes": [
{
@@ -224,7 +224,7 @@
]
},
{
- "title": "APIs",
+ "title": "API",
"path": "/reference/react-dom",
"routes": [
{
@@ -262,7 +262,7 @@
]
},
{
- "title": "Client APIs",
+ "title": "Клієнтські API",
"path": "/reference/react-dom/client",
"routes": [
{
@@ -276,7 +276,7 @@
]
},
{
- "title": "Server APIs",
+ "title": "Серверні API",
"path": "/reference/react-dom/server",
"routes": [
{
@@ -298,7 +298,7 @@
]
},
{
- "title": "Static APIs",
+ "title": "Статичні API",
"path": "/reference/react-dom/static",
"routes": [
{
@@ -313,10 +313,10 @@
},
{
"hasSectionHeader": true,
- "sectionHeader": "Rules of React"
+ "sectionHeader": "Правила React"
},
{
- "title": "Overview",
+ "title": "Вступ",
"path": "/reference/rules",
"routes": [
{
@@ -335,7 +335,7 @@
},
{
"hasSectionHeader": true,
- "sectionHeader": "React Server Components"
+ "sectionHeader": "Серверні компоненти React"
},
{
"title": "Server Components",
@@ -361,10 +361,10 @@
},
{
"hasSectionHeader": true,
- "sectionHeader": "Legacy APIs"
+ "sectionHeader": "Спадкові API"
},
{
- "title": "Legacy React APIs",
+ "title": "Спадкові API в React",
"path": "/reference/react/legacy",
"routes": [
{
diff --git a/src/utils/prepareMDX.js b/src/utils/prepareMDX.js
index 20a22577d..5be1a3281 100644
--- a/src/utils/prepareMDX.js
+++ b/src/utils/prepareMDX.js
@@ -65,7 +65,7 @@ function getTableOfContents(children, depth) {
if (anchors.length > 0) {
anchors.unshift({
url: '#',
- text: 'Overview',
+ text: 'Вступ',
depth: 2,
});
}
@@ -88,13 +88,13 @@ function extractHeaders(children, depth, out) {
header = {
url: '#challenges',
depth: 2,
- text: 'Challenges',
+ text: 'Завдання',
};
} else if (child.type === 'Recap') {
header = {
url: '#recap',
depth: 2,
- text: 'Recap',
+ text: 'Підсумок',
};
} else if (child.type === 'TeamMember') {
header = {