TanStack Query v5: Why `status === 'pending'` Broke Your Loading States (and the 3 Patterns That Fix It)
You upgrade TanStack Query to v5. Your app builds. Tests pass. You open the dashboard and every "loading spinner" component is stuck in a permanent loading state — or worse, flashes through loading → empty → data so fast it looks broken.
Welcome to t...
tahosin.hashnode.dev8 min read