Fetch Data With Loading And Error

ReactJS Hard 6 views
Back to Questions

Problem Description

Fetch a fake list and show loading/error/success UI.

Input Format

No input.

Output Format

Render a React component.

Constraints

Use fetch inside useEffect and handle states.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next