CodeYourFuture / CodeYourFuture/React-Module-Project

Feature fetch CustomerProfile data

オープン
#21 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
♟️ Dependent ticket 🏕 Priority Mandatory 🐇 Size Small 📅 Week 3
主要言語
JavaScript
スター
1
フォーク
28
PR マージ指標
30日以内にマージされた PR はありません

説明

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/` in the `` 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。