Skip to content

Commit de63829

Browse files
committed
translate react-developer-tools page
1 parent 323baf7 commit de63829

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed
Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
11
---
2-
title: React Developer Tools
2+
title: ابزار توسعه ری‌اکت
33
---
44

55
<Intro>
6-
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.
8-
6+
از ابزار توسعه ری‌اکت برای بررسی کردن [کاپوننت ها](/learn/your-first-component)، تغییرات [پراپ](/learn/passing-props-to-a-component) و [وضعیت ها](/learn/state-a-components-memory) و همچنین شناسایی مشکلات عملکردی و کارایی استفاده می شود.
97
</Intro>
108

119
<YouWillLearn>
1210

13-
* How to install React Developer Tools
11+
* چگونه ابزار توسعه ری‌اکت را نصب کنید.
1412

1513
</YouWillLearn>
1614

17-
## Browser extension {/*browser-extension*/}
15+
## اکستنشن های مرورگر {/*browser-extension*/}
1816

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:
17+
نصب کردن افزونه ابزار توسعه ری‌اکت، ساده ترین راهی است که برای اشکال زدایی کردن وبسایت های که با ری‌اکت ساخته شده اند وجود دارد. این افزونه برای مرورگر های معروف در دسترس می باشد.
2018

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)
19+
* [نصب برای **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
20+
* [نصب برای **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/)
21+
* [نصب برای **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil)
2422

25-
Now, if you visit a website **built with React,** you will see the _Components_ and _Profiler_ panels.
23+
حالا اگر یک وب سایت که با **ری‌اکت** ساخته شده است را باز کنید، پنل های _Components_ و _Profiler_ را مشاهده خواهید کرد.
2624

2725
![React Developer Tools extension](/images/docs/react-devtools-extension.png)
2826

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:
27+
### سافاری و سایر مرورگر ها {/*safari-and-other-browsers*/}
28+
برای سایر مرورگر ها (مانند سافاری) پکیج [`react-devtools`](https://www.npmjs.com/package/react-devtools) را نصب کنید.
3129
```bash
3230
# Yarn
3331
yarn global add react-devtools
@@ -36,26 +34,26 @@ yarn global add react-devtools
3634
npm install -g react-devtools
3735
```
3836

39-
Next open the developer tools from the terminal:
37+
بعد ابزار های توسعه را از ترمینال باز کنید:
4038
```bash
4139
react-devtools
4240
```
4341

44-
Then connect your website by adding the following `<script>` tag to the beginning of your website's `<head>`:
42+
سپس وب سایت خود را با اضافه کردن تگ `<script>` به ابتدای تگ `<head>` به این پکیج متصل کنید.
4543
```html {3}
4644
<html>
4745
<head>
4846
<script src="http://localhost:8097"></script>
4947
```
5048

51-
Reload your website in the browser now to view it in developer tools.
49+
وب سایت خود را بارگیری مجدد کرده تا بتوانید آن را در ابزار توسعه مشاهده کنید.
5250

5351
![React Developer Tools standalone](/images/docs/react-devtools-standalone.png)
5452

55-
## Mobile (React Native) {/*mobile-react-native*/}
53+
## موبایل (ری‌اکت نیتیو) {/*mobile-react-native*/}
5654

57-
To inspect apps built with [React Native](https://reactnative.dev/), you can use [React Native DevTools](https://reactnative.dev/docs/react-native-devtools), the built-in debugger that deeply integrates React Developer Tools. All features work identically to the browser extension, including native element highlighting and selection.
55+
برای بررسی کردن برنامه هایی که با [ری‌اکت نیتیو](https://reactnative.dev/) ساخته شده اند، میتوانید از [React Native DevTools](https://reactnative.dev/docs/react-native-devtools) استفاده کنید. این یک اشکال زدای درونی دارد که به صورت عمیق با ابزار توسعه ری‌اکت ادغام می شود. همه ویژگی ها به صورت کاملا یکسان با انچه در افزونه مروگر وجود دارد از جمله برجسته سازی عنصر و انتخاب شده ها کار می کند.
5856

59-
[Learn more about debugging in React Native.](https://reactnative.dev/docs/debugging)
57+
[در مورد اشکال زدایی در ری‌اکت نیتیو بیشتر بخوانید.](https://reactnative.dev/docs/debugging)
6058

61-
> For versions of React Native earlier than 0.76, please use the standalone build of React DevTools by following the [Safari and other browsers](#safari-and-other-browsers) guide above.
59+
> برای نسخه های ری‌اکت نیتیو قبل از 0.76، لطفا از ابزار توسعه مستقل React DevTools برای [سافاری و سایر مرورگر ها](#safari-and-other-browsers) در راهنمای فوق استفاده کنید.

0 commit comments

Comments
 (0)