A type-safe data-fetching layer with TanStack Query, Zod, and a BFF

Cover image for A type-safe data-fetching layer with TanStack Query, Zod, and a BFF

A practical frontend architecture for sharing API contracts, validating responses, fetching during SSR, caching in React, forwarding authentication through a BFF, and keeping mutations synchronized with Symfony.

…

Related writing

Need a software engineer?

Send the goal, stack, and timeline. I'll reply with a next step.

Work with me