CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Loading Message

未關閉
#22 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
主要語言
JavaScript
星號
1
分支
28
PR 合併指標
30 天內沒有已合併 PR

描述

## Show a loading message

**Instructions:**

Show a _loading state_ in `` while the data from the server is being fetched. To test this, try loading data from `https://cyf-react.glitch.me/delayed`, which has a 5 second delay before returning the data. You will need to use another state to record when your application is loading data (this can be a boolean) and display a loading message whenever the application is loading data.

**Hint:** Try looking at your Pokemon app for an example.

**Test:**

- [ ] A message inviting the user to wait should be displayed on the screen until bookings data can be rendered on the screen.
- [ ] When bookings are rendered, the loading message should be hidden.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。