Pro tip: Use `response.headers.get('Content-Type')` to see if it’s actually JSON. Some APIs are sneaky and send text/html or something weird.
For error handling, I like this pattern:
```
if (!response.ok) throw new Error(await response.text());
const data = await response.json();
```
And yeah, axios is easier but fetch is built-in. Tradeoffs!
For error handling, I like this pattern:
```
if (!response.ok) throw new Error(await response.text());
const data = await response.json();
```
And yeah, axios is easier but fetch is built-in. Tradeoffs!
