# TanStack Query · Tech watch

[Canonical source](<https://sebastien.rigaux.be/en/tech-watch/tags/tanstack-query>)

Fetching, caching and synchronizing server state in interfaces.

## [Centralize TanStack Query keys with a typed API](<https://sebastien.rigaux.be/en/tech-watch/links/centralize-tanstack-query-keys-with-a-typed-api>)

React Query Key Manager organizes keys by namespace and checks their arguments at compile time. It reduces scattered strings and query collisions in larger applications.

2025-08-18 · [Markdown](<https://sebastien.rigaux.be/en/tech-watch/links/centralize-tanstack-query-keys-with-a-typed-api.md>) · [Original resource](<https://github.com/draftswithea/react-query-key-manager>)

## [Clarify React Query states with pattern matching](<https://sebastien.rigaux.be/en/tech-watch/links/clarify-react-query-states-with-pattern-matching>)

Gabriel Pichot organizes loading, error, success and empty states with pattern matching. The approach reduces scattered branches in components and improves readability.

2025-04-24 · [Markdown](<https://sebastien.rigaux.be/en/tech-watch/links/clarify-react-query-states-with-pattern-matching.md>) · [Original resource](<https://www.gabrielpichot.fr/blog/simplify-tanstack-react-query-state-handling-with-pattern-matching/>)

## [Normy: normalize data to simplify cache updates](<https://sebastien.rigaux.be/en/tech-watch/links/normy-normalize-data-to-simplify-cache-updates>)

Normy normalizes data fetched through libraries such as React Query or SWR. Shared entities can then update across cached results without repeating synchronization logic.

2025-01-07 · [Markdown](<https://sebastien.rigaux.be/en/tech-watch/links/normy-normalize-data-to-simplify-cache-updates.md>) · [Original resource](<https://github.com/klis87/normy>)

## [Offload calculations with Web Workers, Comlink and TanStack Query](<https://sebastien.rigaux.be/en/tech-watch/links/offload-calculations-with-web-workers-comlink-and-tanstack-query>)

The article combines Comlink and TanStack Query to manage calculations in a Web Worker. Its example shows how to keep the interface responsive during expensive computation.

2024-06-29 · [Markdown](<https://sebastien.rigaux.be/en/tech-watch/links/offload-calculations-with-web-workers-comlink-and-tanstack-query.md>) · [Original resource](<https://johnnyreilly.com/web-workers-comlink-vite-tanstack-query>)
