Case studies

Application Problems, Engineering Decisions, Delivered Changes

Selected work across React interfaces, PostgreSQL workflows and application reliability.

Featured study

Lamiya Wedding Center · 2026 · E-commerce

13 min read • 2470 words

Implemented optimistic cart updates with TanStack Query, snapshot-based rollbacks, and a multi-stage checkout connected to a PostgreSQL reservation backend.

Optimistic cart updates with rollback and server reconciliation.

  • Optimistic cart updates before server confirmation.
  • Snapshot-based rollback when a mutation fails.

React · TanStack Query · Optimistic UI · E-commerce Frontend

Read case study

More case studies

Engineering methodology

  1. Reproduce the failure

    Trace the request or interaction and capture the conditions that trigger it.

  2. Choose the boundary

    Decide where the guarantee belongs, from a client rollback to a database transaction.

  3. Verify the guarantee

    Test the expected flow alongside cases like concurrent requests and failed writes.

  4. Check production behavior

    Use measurements and regression checks to verify how the change holds up under real workloads.

Have a similar problem in your application?

Share what’s happening and I’ll suggest a practical next step.

Discuss your project