Feature fetch CustomerProfile data
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, react
- Lĩnh vực
- frontend
Hướng nghiên cứu
Xem xét dependency #20 và component CustomerProfile, sau đó lần theo nút "Show profile" của bảng. Sử dụng customer endpoint được chỉ định với ID đã chọn và xác minh rằng khi nhấp vào nút, profile hiển thị ID, email, trạng thái VIP và số điện thoại trong một danh sách.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Display a customer profile - iteration 2
Depends on #20
Instructions:
When a "Show profile" button is clicked in the table, fetch the corresponding customer profile from https://cyf-react.glitch.me/customers/<ID> in the <CustomerProfile /> component. A customer profile should show the customer ID, their email, if they are VIP and their phone number in a list.
Hint: You need to use useEffect and the correct dependency array. You'll need to fetch customers data from the API every time a "Show profile" button is clicked and render it accordingly.
Test:
When you click on a "Show profile" button in the table, the corresponding customer profile is loaded and rendered on the screen.
- Ngôn ngữ chính
- JavaScript
- Star
- 1
- Fork
- 28
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeYourFuture/React-Module-Project
-
Feature Error Message Đang mở♟️ Dependent ticket 🏕 Priority Mandatory 🐇 Size Small 📅 Week 3 📅 Week 4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Loading Message Đang mở🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Search State Đang mở🐂 Size Medium 📅 Week 3 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Active Row Đang mở🏝️ Priority Stretch 🐂 Size Medium 📅 Week 2 🧩 Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Feature Bookings state Đang mở🏕 Priority Mandatory 🐇 Size Small 📅 Week 2 🧩 Feature
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Tất cả issue của CodeYourFuture/React-Module-Project
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
palladius/rails8-app-on-gcp#145 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
dotenvx/dotenv-vscode#139 ·
-
test-change-proposal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
web-platform-tests/interop#1455 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
corsairdev/corsair#1764 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100