Skip to main content

Practice ยท 3 of 3

The Async States Decision

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?).

Difficulty: advanced

Back to lesson: Practice: Capstone Design โ€” Attack Your Own Design