Problem Description

Build a card that loads data and shows idle/loading/success/error states.

Input Format

No input.

Output Format

Render a React component.

Constraints

Store status and data separately and switch UI by status.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next