Skip to content

Commit c98670a

Browse files
oleksii-polovyivldmrkl
authored andcommitted
Uk translation home page (#6)
* uk-translation-home-page * Delete TRANSLATION.md * a-simple-component.md fix * a-stateful-component.md updated * "rendered markup" fix * mihilbabin's suggestion * an-application.md fix * component-based.md fix * learn-once-write-anywhere.md fix * Тире між членами безсполучникового речення * component-based.md fix * title fix in declarative.md * declarative.md fix * westanvv's suggestion * westanvv's suggestion * add comma * header fix in learn-once-write-anywhere.md * an-application.md updated * declarative.md updated * fixing merge conflict
1 parent 2697e27 commit c98670a

7 files changed

+18
-18
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: A Component Using External Plugins
2+
title: Компонент, що використовує зовнішні модулі
33
order: 3
44
domid: markdown-example
55
---
66

7-
React allows you to interface with other libraries and frameworks. This example uses **remarkable**, an external Markdown library, to convert the `<textarea>`'s value in real time.
7+
React дозволяє взаємодіяти з іншими бібліотеками та фреймворками. У цьому прикладі використана **дивовижна** зовнішня бібліотека — Markdown, для зміни значення `<textarea>` в реальному часі.
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
2-
title: A Simple Component
2+
title: Простий компонент
33
order: 0
44
domid: hello-example
55
---
66

7-
React components implement a `render()` method that takes input data and returns what to display. This example uses an XML-like syntax called JSX. Input data that is passed into the component can be accessed by `render()` via `this.props`.
7+
Компоненти реалізують метод `render()`, який приймає вхідні дані і повертає те, що буде показано користувачу. У цьому прикладі використовується XML-подібний синтаксис під назвою JSX. Доступ до вхідних даних, які передаються в компонент, можна отримати за допомогою `render()` та `this.props`.
88

9-
**JSX is optional and not required to use React.** Try the [Babel REPL](babel://es5-syntax-example) to see the raw JavaScript code produced by the JSX compilation step.
9+
**JSX не є обов'язковим для React.** Спробуйте [Babel REPL](babel://es5-syntax-example), щоб побачити необроблений код JavaScript, створений на етапі компіляції JSX.
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: A Stateful Component
2+
title: Компонент зі станом
33
order: 1
44
domid: timer-example
55
---
66

7-
In addition to taking input data (accessed via `this.props`), a component can maintain internal state data (accessed via `this.state`). When a component's state data changes, the rendered markup will be updated by re-invoking `render()`.
7+
У доповнення до прийняття вхідних даних (доступ до яких здійснюється через `this.props`), компонент може зберігати дані внутрішнього стану (доступні через `this.state`). Коли дані стану компонента змінюються, відбувається повторне відрендерення розмітки з використанням функції `render()`.
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: An Application
2+
title: Застосування
33
order: 2
44
domid: todos-example
55
---
66

7-
Using `props` and `state`, we can put together a small Todo application. This example uses `state` to track the current list of items as well as the text that the user has entered. Although event handlers appear to be rendered inline, they will be collected and implemented using event delegation.
7+
Використовуючи `пропси` і `стан`, ми можемо створити невеликий додаток для складання списку справ. Цей приклад використовує `стан` для відстеження поточного списку елементів, а також тексту, введеного користувачем. Хоча обробники подій здаються вбудованими, вони будуть зібрані та реалізовані за допомогою методу делегування подій.
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Component-Based
2+
title: Заснований на компонентах
33
order: 1
44
---
55

6-
Build encapsulated components that manage their own state, then compose them to make complex UIs.
6+
Створюйте інкапсульовані компоненти, які керують власним станом, а з них будуйте складні інтерфейси.
77

8-
Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep state out of the DOM.
8+
Оскільки логіка компонентів написана на JavaScript, замість шаблонів, ви з легкістю можете передавати складні дані у вашому додатку і зберігати стан окремо від DOM.

content/home/marketing/declarative.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Declarative
2+
title: Декларативний
33
order: 0
44
---
55

6-
React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes.
6+
React спрощує створення інтерактивних інтерфейсів. Вам потрібно лише описати, як різні частини інтерфейсу виглядають у кожному стані вашого додатку і React ефективно оновить та відрендерить лише потрібні компоненти, коли ваші дані зміняться.
77

8-
Declarative views make your code more predictable and easier to debug.
8+
Декларативні інтерфейси роблять ваш код більш передбачуваним і його набагато легше налагоджувати.
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Learn Once, Write Anywhere
2+
title: Вивчіть лише раз — пишіть будь-де
33
order: 2
44
---
55

6-
We don't make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code.
6+
Ми не робимо припущень щодо стеку технологій які ви використовуєте, тому ви можете розробляти нові функції в React, не переписуючи існуючий код.
77

8-
React can also render on the server using Node and power mobile apps using [React Native](https://facebook.github.io/react-native/).
8+
React також може рендеритись на сервері, використовуючи Node, і приводити в дію мобільні додатки, які використовують [React Native](https://facebook.github.io/react-native/).

0 commit comments

Comments
 (0)