Unity WebLabs← unityweb.studio

Demo · TanStack Query explorer

Filter by the stack you care about.

An in-memory catalog of recent projects. The query layer is TanStack Query; filter state is client-only, cached between route visits, and revalidated on background refetches.

Loading catalog…

What this proves

Modern client data patterns without a cargo cult.

TanStack Query 5 handles caching, revalidation, and the "is this still fetching?" flag. We compose it with plain useState for filter state — no reducer, no global store. Most product UIs don't need more than this.

In production this query hits /api/case-studies on the main Laravel site. If the API is unreachable (say, during local dev without the Laravel server running), the fetcher gracefully falls back to an in-memory snapshot so the demo still renders.