@@ -4,30 +4,31 @@ title: React Developer Tools
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 Developer Tools ເພື່ອ ກວດ React [ components] ( /learn/your-first-component ) , ແກ້ໄຂ [ props] ( /learn/passing-props-to-a-component ) ແລະ [ state] ( /learn/state-a-components-memory ) , ແລະ ລະບຸບັນຫາດ້ານປະສິດທິພາບ.
8+
89
910</Intro >
1011
1112<YouWillLearn >
1213
13- * How to install React Developer Tools
14+ * ວິທີຕິດຕັ້ງ React Developer Tools
1415
1516</YouWillLearn >
1617
1718## Browser extension {/* browser-extension* /}
1819
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 :
20+ ວິທີການທີ່ງ່າຍທີ່ສຸດໃນການ debug ເວັບໄຊທີ່ເຮັດດ້ວຍ React ແມ່ນຕິດຕັ້ງ React Developer Tools browser extension. ໃຊ້ໄດ້ກັບ browser ທີ່ນິຍົມກັນຫຼາຍໂຕ :
2021
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 )
22+ * [ ຕິດຕັ້ງສຳລັບ ** Chrome** ] ( https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en )
23+ * [ ຕິດຕັ້ງສຳລັບ ** Firefox** ] ( https://addons.mozilla.org/en-US/firefox/addon/react-devtools/ )
24+ * [ ຕິດຕັ້ງສຳລັບ ** Edge** ] ( https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil )
2425
25- Now, if you visit a website ** built with React,** you will see the _ Components_ and _ Profiler_ panels.
26+ ປັດຈຸບັນ, ຖ້າທ່ານເຂົ້າເວັບໄຊ ** built with React,** ທ່ານຈະເຫັນ _ Components_ ແລະ _ Profiler_ panels.
2627
2728![ React Developer Tools extension] ( /images/docs/react-devtools-extension.png )
2829
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:
30+ ### Safari ແລະ browser ອື່ນ {/* safari-and-other-browsers* /}
31+ ສຳລັບ browser ອື່ນ (ຕົວຢ່າງ , Safari), ຕິດຕັ້ງ [ ` react-devtools ` ] ( https://www.npmjs.com/package/react-devtools ) npm package:
3132``` bash
3233# Yarn
3334yarn global add react-devtools
@@ -36,26 +37,26 @@ yarn global add react-devtools
3637npm install -g react-devtools
3738```
3839
39- Next open the developer tools from the terminal:
40+ ຈາກນັ້ນເປີດ developer tools ຜ່ານ terminal:
4041``` bash
4142react-devtools
4243```
4344
44- Then connect your website by adding the following ` <script> ` tag to the beginning of your website's ` <head> ` :
45+ ຕໍ່ໄປແມ່ນເຊື່ອມຕໍ່ເວັບໄຊໂດຍການເພີ່ມ ` <script> ` tag ໃນບ່ອນເລີ່ມຕົ້ນ ` <head> ` ຂອງເວັບໄຊທ່ານ :
4546``` html {3}
4647<html >
4748 <head >
4849 <script src =" http://localhost:8097" ></script >
4950```
5051
51- Reload your website in the browser now to view it in developer tools.
52+ ໂຫຼດເວັບໄຊຂອງທ່ານຄືນໃໝ່ໃນ browser ຕອນນີ້ ເພື່ອເບິ່ງໃນ developer tools.
5253
5354![ React Developer Tools standalone] ( /images/docs/react-devtools-standalone.png )
5455
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 .
56+ ## ມືຖື (React Native) {/* mobile-react-native* /}
57+ React Developer Tools ສາມາດໃຊ້ກວດແອັບຯທີ່ສ້າງດ້ວຍ [ React Native] ( https://reactnative.dev/ ) ໄດ້ຄືກັນ .
5758
58- The easiest way to use React Developer Tools is to install it globally :
59+ ວິທີການທີ່ງ່າຍທີ່ສຸດແມ່ນໃຊ້ React Developer Tools ທີ່ຕິດຕັ້ງມັນໃນທົ່ວເຄື່ອງທ່ານ :
5960``` bash
6061# Yarn
6162yarn global add react-devtools
@@ -64,13 +65,13 @@ yarn global add react-devtools
6465npm install -g react-devtools
6566```
6667
67- Next open the developer tools from the terminal.
68+ ຈາກນັ້ນເປີດ developer tools ຜ່ານ terminal.
6869``` bash
6970react-devtools
7071```
7172
72- It should connect to any local React Native app that's running .
73+ ມັນຄວນເຊື່ອມຕໍ່ກັບແອັບ React Native ໃນເຄື່ອງທີ່ກຳລັງເຮັດວຽກຢູ່ .
7374
74- > Try reloading the app if developer tools doesn't connect after a few seconds.
75+ > ລອງໂຫຼດແອັບໃໝ່ຖ້າ developer tools ບໍ່ມີການເຊື່ອມຕໍ່ໃນໄລຍະເວລາຕໍ່ມາ.
7576
76- [ Learn more about debugging React Native.] ( https://reactnative.dev/docs/debugging )
77+ [ ຮຽນຮູ້ເພີ່ມເຕີມກ່ຽວກັບ debug ໃນ React Native.] ( https://reactnative.dev/docs/debugging )
0 commit comments