Skip to main content

Practice · 3 of 3

The Async States Decision

CHALLENGE
Difficulty: advanced+25 XP

Declare states for the list page: loading (boolean — does a visible loading state exist while fetching?), errorState (boolean — is there a visible error state when the API fails?), emptyState (boolean — is there a designed zero-tickets view?), and optimisticWrite (boolean — do you block re-submission while a create request is in flight?).

Back to lesson: Practice: Capstone Design — Attack Your Own Design