📄️ Overview
The QueryManager class provides comprehensive CRUD operations with advanced features like optimistic updates and automatic cache management. It internally uses two important classes: QueryKeys for managing React Query keys and cache operations, and Mutations for handling cache mutations and optimistic updates.
📄️ QueryKeys
The QueryKeys class manages React Query keys and provides methods for cache operations like invalidation, refetching, and data retrieval. It's automatically created and used internally by QueryManager.
📄️ Mutations Class
The Mutations class handles all cache mutations and optimistic updates. It provides methods to add, remove, and update items in the cached data while maintaining consistency across all related queries.
📄️ Hooks - Crud
List Query with Infinite Scroll
📄️ Practical Examples
Prefetching
📄️ API Reference
QueryManager