Coding task · JavaScript and React course · Module 11: Data Fetching and APIs
Practice: Async/await in React
Add loading, error, and empty data state handling to a component that fetches spaceships. Use the try/catch/finally pattern.
Task
Loading, error, and empty states