`). ການຄິກປຸ່ມບໍ່ຄືກັບການຄິກ toolbar ຮອບໆ, ສະນັ້ນການຢຸດເຜີຍແຜ່ຈິງເໝາະສົມສຳລັບ UI ນີ້.
-#### Capture phase events {/*capture-phase-events*/}
+#### ການບັນທຶກ phase events {/*capture-phase-events*/}
-In rare cases, you might need to catch all events on child elements, *even if they stopped propagation*. For example, maybe you want to log every click to analytics, regardless of the propagation logic. You can do this by adding `Capture` at the end of the event name:
+ໃນກໍລະນີທີ່ເກີດຂຶ້ນບໍ່ຫຼາຍ, ທ່ານອາດຈະຕ້ອງ catch event ທັງໝົດໃນ child element, *ເຖິງວ່າເຫດການເຫຼົ່ານັ້ນຈະຢຸດເຜີຍແຜ່ໄປແລ້ວກໍຕາມ*. ຕົວຢ່າງ, ບາງທີທ່ານອາດຕ້ອງການບັນທຶກທຸກການຄິກໄປຍັງການວິເຄາະ ໂດຍບໍ່ຄຳນຶງ logic ການເຜີຍແຜ່. ທ່ານສາມາດເຮັດໄດ້ໂດຍເພີ່ມ `Capture` ຕໍ່ທ້າຍຊື່ event:
```js
{ /* this runs first */ }}>
@@ -433,19 +433,19 @@ In rare cases, you might need to catch all events on child elements, *even if th
```
-Each event propagates in three phases:
+ແຕ່ລະ event ເຜີຍແຜ່ໃນສາມຂັ້ນຕອນ:
-1. It travels down, calling all `onClickCapture` handlers.
-2. It runs the clicked element's `onClick` handler.
-3. It travels upwards, calling all `onClick` handlers.
+1. ມັນເຄື່ອນລົງມາ, ໂດຍການເອີ້ນ `onClickCapture` handler.
+2. ມັນແລ່ນ `onClick` handler ຂອງ element ການຄິກ.
+3. ມັນເຄື່ອນທີ່ຂຶ້ນທາງເທິງ, ເອີ້ນ `onClick` handler ທັງໝົດ.
-Capture events are useful for code like routers or analytics, but you probably won't use them in app code.
+Event Capture ມີປະໂຫຍດສຳລັບ code ເຊັ່ນ router ຫຼື ການວິເຄາະ, ແຕ່ທ່ານອາດບໍ່ແມ່ນ event ເຫຼົ່ານັ້ນໃນ code ຂອງແອັບ.
-### Passing handlers as alternative to propagation {/*passing-handlers-as-alternative-to-propagation*/}
+### ການສົ່ງ handler ເປັນທາງເລືອກໃນການເຜີຍແຜ່ {/*passing-handlers-as-alternative-to-propagation*/}
-Notice how this click handler runs a line of code _and then_ calls the `onClick` prop passed by the parent:
+ສັງເກດວ່າ click handler ນີ້ແລ່ນ code _ແລ້ວ_ ເອີ້ນ prop `onClick` ທີ່ parent ສົ່ງໄດ້ແນວໃດ:
```js {4,5}
function Button({ onClick, children }) {
@@ -460,13 +460,13 @@ function Button({ onClick, children }) {
}
```
-You could add more code to this handler before calling the parent `onClick` event handler, too. This pattern provides an *alternative* to propagation. It lets the child component handle the event, while also letting the parent component specify some additional behavior. Unlike propagation, it's not automatic. But the benefit of this pattern is that you can clearly follow the whole chain of code that executes as a result of some event.
+ທ່ານສາມາດເພີ່ມ code ໃຫ້ກັບ handler ນີ້ກ່ອນທີ່ຈະເອີ້ນ event handler `onClick` parent ໄດ້, ຄືກັນ. ຮູບແບບນີ້ໃຫ້ *ທາງເລືອກ* ໃນການເຜີຍແຜ່. ມັນອະນຸຍາດໃຫ້ child component ຈັດການ event, ໃນຂະນະທີ່ຍັງໃຫ້ parent component ລະບຸພຶດທິກຳເພີ່ມເຕີມບາງຢ່າງ. ບໍ່ຄືກັບການເຜີຍແຜ່, ມັນບໍ່ອັດຕະໂນມັດ. ແຕ່ຂໍ້ດີຂອງຮູບແບບນີ້ຄືທ່ານສາມາດຕິດຕາມຕ່ອງໂສ່ຂອງ code ທັງໝົດໄດ້ຢ່າງຊັດເຈນເຊິ່ງງດຳເນີນການໂດຍເປັນຜົນມາຈາກ event ບາງຢ່າງ.
-If you rely on propagation and it's difficult to trace which handlers execute and why, try this approach instead.
+ຖ້າທ່ານເພິ່ງພາການເຜີຍແຜ່ ແລະ ເປັນການຍາກທີ່ຈະຕິດຕາມວ່າ handler ໃດ execute ແລະ ຍ້ອນຫຍັງ, ໃຫ້ລອງໃຊ້ວິທີນີ້ແທນ.
-### Preventing default behavior {/*preventing-default-behavior*/}
+### ການປ້ອງກັນພຶດທິກຳເລີ່ມຕົ້ນ {/*preventing-default-behavior*/}
-Some browser events have default behavior associated with them. For example, a `