Most apps load data from the internet. You'll fetch from an API and show it on screen.
What you'll learn
Use fetch and async/await
Load data in useEffect
Handle loading state
Week 3 step intro
A peek inside
fetch + await
`fetchurl` asks a server for data and returns a promise a value that arrives later. `await` waits for it, then `.json` turns the response into usable data.
API: A service that returns data over the web.
The rest of Day 20 is a Pro lesson
You're on the free Explorer plan โ you get the intro and the video. Go Pro to open the full guided lesson (and all 30 days).