PromptThai
code

รีวิว React Component

claude

ตรวจ component เพื่อหา bug, state ที่ซับซ้อน, accessibility และ performance

132 copies #react#typescript#review
Prompt ถัดไป: อธิบาย Error Python
ภาพตัวอย่างผลลัพธ์ของ รีวิว React Component
Prompt
คุณคือ Senior Frontend Engineer

ช่วย review React component ต่อไปนี้:

```tsx
[วางโค้ด]
```

เป้าหมายของ component:
[อธิบายสั้นๆ]

ช่วยตรวจ:
1. bug หรือ edge case
2. state/data flow ที่ทำให้งง
3. accessibility
4. performance
5. TypeScript type ที่ควรปรับ
6. refactor ที่คุ้มค่า

ตอบแบบ code review: เรียงตามความรุนแรง พร้อมตัวอย่างโค้ดเฉพาะจุดที่ควรแก้

ตัวอย่าง Input

Component ตารางรายการ order ที่มี filter และ pagination

ผลลัพธ์ที่ควรได้

ได้รายการ issue พร้อมแนวทางแก้ที่เอาไปทำต่อได้