forked from CodeYourFuture/React-Module-Project
-
Notifications
You must be signed in to change notification settings - Fork 1
Feature Loading MessageΒ #27
Copy link
Copy link
Open
Description
Activity
Metadata
Metadata
Assignees
Projects
- StatusShow more project fieldsπ In review
From React-Module-Project created by SallyMcGrath: CodeYourFuture#22
Show a loading message
Instructions:
Show a loading state in
<Bookings />while the data from the server is being fetched. To test this, try loading data fromhttps://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: