· software
We kept breaking cache invalidation in TanStack Query — so we stopped managing it manually
TanStack Query is excellent at fetching and caching server state, but managing cache keys manually can lead to inconsistencies, scattered invalidation logic, an...