← Track projects
Track project · 13

Build the Production Task Screen

Build a complete task screen using React Hook Form, Zod, TanStack Query, and deliberate state ownership.

Definition of done

What you are building

Deliverables

Build plan

Work through it one observable step at a time

  1. 01

    Create stable query-key factories for list/detail resources.

  2. 02

    Load the task list and render loading, empty, error, and success states.

  3. 03

    Build the create form with React Hook Form and Zod.

  4. 04

    Map API validation errors back to the form without losing client validation.

  5. 05

    Create mutations and invalidate only the cache identities affected by the change.

  6. 06

    Add paginated queries and prefetch the likely next page.

  7. 07

    Add one optimistic update with snapshot/cancel/rollback logic.

  8. 08

    Reproduce a mutation race and decide whether cancellation, sequencing, or server reconciliation owns the fix.

  9. 09

    Move shareable filters/page state into the URL and justify remaining local state.

Evidence

Do not rely on “it seems to work”

Evidence to collect

Project exit ticket

Close the project only when these are true

Completion