Core: learn it Step 8 of 16 on the Frontend Developer roadmap

Loading and error states

Show a spinner or message while data loads, and a clear message with a retry button if it fails. On slow mobile networks this is the difference between a page that feels broken and one that feels solid.

More in Fetch, async and APIs

See it on the Frontend Developer roadmap