Hướng dẫn đặt tên Component/Files và quy tắc khi nào chọn `type` vs `interface` cho Props.
Môi trường thực hành:
React v19.2 (Client Sandbox)
ESM CDN · Hot Reload
React Playground
React v19.2
Interactive Client Sandbox · Live Hot Reload
4 files
src/main.tsx
Entry File
Instructions:Thực hành React: Quy chuẩn Viết Custom Component & Typescript (Enterprise). Bạn có thể xem cấu trúc index.html, main.tsx và trực tiếp chỉnh sửa component trong src/App.tsx.