React in Practice · 32 min · 240 XP

Checkpoint: order dashboard

Synthesize effects, request states, derived filtering and summaries in an order dashboard.

This checkpoint supplies only the component name. Model the possible request states on paper before you write the effect.

The loaded orders are source data. The active status filter, visible rows, count and paid revenue are different kinds of values: store the filter because a person changes it, but calculate the visible rows and summary from the latest data during render.

Loading your workspace…