CodeYourFuture / CodeYourFuture/React-Module-Project

Feature Loading Message

Ouverte
#22 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
🏕 Priority Mandatory 🐂 Size Medium 📅 Week 4 🧩 Feature
Langage dominant
JavaScript
Étoiles
1
Forks
28
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.