CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Loading Message

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Dominant language
JavaScript
Stars
1
Forks
28
PR merge metrics
No merged PRs in 30d

Description

## 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.