State Management with React Query + Zustand Version 1.1.0 | TanStack Query v5 | Zustand v5 | March 2026 Note: This document provides comprehensive patterns for AI agents and LLMs working with TanStack Query v5 and Zustand v5. All examples are verified against v5 APIs. Optimized for automated refactoring, code generation, and state management best practices. v5 Breaking Changes (Quick Reference) TanStack Query v5: - → - option → (imported helper) - → - / / removed from — still valid on - on removed → use Zustand v5: - as 2nd arg removed → from - Selectors returning new references need to avoid…