Skip to content

Commit 3fbe51e

Browse files
authored
Merge pull request #498 from alinkedd/translate-react-developer-tools
Finished translation of React Developer Tools page
2 parents 6757efe + 75f5b3d commit 3fbe51e

File tree

2 files changed

+25
-23
lines changed

2 files changed

+25
-23
lines changed

TRANSLATION.md

+2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,13 @@
1717
| Оригінал | Переклад |
1818
| ------------------ | ---------- |
1919
| API reference | API довідник |
20+
| app | застосунок |
2021
| array | массив |
2122
| arrow function | стрілкова функція |
2223
| attribute | атрибут |
2324
| batch | група оновлень |
2425
| batching | групування |
26+
| browser | браузер |
2527
| bug | помилка, дефект |
2628
| bundler | бандлер |
2729
| callback | функція зворотнього виклику |
+23-23
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
---
2-
title: React Developer Tools
2+
title: Інструменти React розробника
33
---
44

55
<Intro>
66

7-
Use React Developer Tools to inspect React [components](/learn/your-first-component), edit [props](/learn/passing-props-to-a-component) and [state](/learn/state-a-components-memory), and identify performance problems.
7+
Використовуйте інструменти React розробника (_React Developer Tools_) для інспектування React [компонентів](/learn/your-first-component), редагування їх [пропсів](/learn/passing-props-to-a-component) і [стану](/learn/state-a-components-memory), а також для виявлення проблем з продуктивністю.
88

99
</Intro>
1010

1111
<YouWillLearn>
1212

13-
* How to install React Developer Tools
13+
* Як встановити інструменти React розробника
1414

1515
</YouWillLearn>
1616

17-
## Browser extension {/*browser-extension*/}
17+
## Розширення браузера {/*browser-extension*/}
1818

19-
The easiest way to debug websites built with React is to install the React Developer Tools browser extension. It is available for several popular browsers:
19+
Найпростіший спосіб налагодження вебсайтів, створених за допомогою React — встановити розширення браузера "Інструменти React розробника" (_React Developer Tools_). Воно доступне для декількох популярних браузерів:
2020

21-
* [Install for **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
22-
* [Install for **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/)
23-
* [Install for **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil)
21+
* [Встановити для **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=uk)
22+
* [Встановити для **Firefox**](https://addons.mozilla.org/uk/firefox/addon/react-devtools/)
23+
* [Встановити для **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil?hl=uk)
2424

25-
Now, if you visit a website **built with React,** you will see the _Components_ and _Profiler_ panels.
25+
Тепер, якщо ви відвідаєте вебсайт, **який створений за допомогою React**, ви побачите вкладки _Components_ і _Profiler_.
2626

27-
![React Developer Tools extension](/images/docs/react-devtools-extension.png)
27+
![Розширення 'Інструменти React розробника'](/images/docs/react-devtools-extension.png)
2828

29-
### Safari and other browsers {/*safari-and-other-browsers*/}
30-
For other browsers (for example, Safari), install the [`react-devtools`](https://www.npmjs.com/package/react-devtools) npm package:
29+
### Safari та інші браузери {/*safari-and-other-browsers*/}
30+
Для інших браузерів (наприклад, Safari) встановіть npm-пакет [`react-devtools`](https://www.npmjs.com/package/react-devtools):
3131
```bash
3232
# Yarn
3333
yarn global add react-devtools
@@ -36,26 +36,26 @@ yarn global add react-devtools
3636
npm install -g react-devtools
3737
```
3838

39-
Next open the developer tools from the terminal:
39+
Далі відкрийте інструменти розробника з терміналу:
4040
```bash
4141
react-devtools
4242
```
4343

44-
Then connect your website by adding the following `<script>` tag to the beginning of your website's `<head>`:
44+
Потім під'єднайте ваш вебсайт, вказавши наступний тег `<script>` на початку елементу `<head>` у коді вашого вебсайту:
4545
```html {3}
4646
<html>
4747
<head>
4848
<script src="http://localhost:8097"></script>
4949
```
5050

51-
Reload your website in the browser now to view it in developer tools.
51+
Перезавантажте вебсайт у браузері, щоб переглянути його в інструментах розробника.
5252

53-
![React Developer Tools standalone](/images/docs/react-devtools-standalone.png)
53+
![Автономні 'Інструменти React розробника'](/images/docs/react-devtools-standalone.png)
5454

55-
## Mobile (React Native) {/*mobile-react-native*/}
56-
React Developer Tools can be used to inspect apps built with [React Native](https://reactnative.dev/) as well.
55+
## Мобільний застосунок (React Native) {/*mobile-react-native*/}
56+
Інструменти React розробника також можна використовувати для інспектування застосунків, створених за допомогою [React Native](https://reactnative.dev/).
5757

58-
The easiest way to use React Developer Tools is to install it globally:
58+
Найпростіший спосіб використання інструментів — встановити їх глобально:
5959
```bash
6060
# Yarn
6161
yarn global add react-devtools
@@ -64,13 +64,13 @@ yarn global add react-devtools
6464
npm install -g react-devtools
6565
```
6666

67-
Next open the developer tools from the terminal.
67+
Далі відкрийте інструменти розробника з терміналу:
6868
```bash
6969
react-devtools
7070
```
7171

72-
It should connect to any local React Native app that's running.
72+
Вони повинні під'єднатися до будь-якого локально працюючого застосунку React Native.
7373

74-
> Try reloading the app if developer tools doesn't connect after a few seconds.
74+
> Спробуйте перезавантажити застосунок, якщо інструменти розробки не під'єднуються протягом кількох секунд.
7575
76-
[Learn more about debugging React Native.](https://reactnative.dev/docs/debugging)
76+
[Дізнатися більше про налагодження React Native.](https://reactnative.dev/docs/debugging)

0 commit comments

Comments
 (0)