Domain Focus
Use this skill when working with TanStack Query, including:
- Core APIs, patterns, and framework adapters documented in official docs.
- Production-safe setup, configuration, and integration decisions.
- Type-safe usage patterns and error handling conventions.
- Performance and DX trade-offs specific to this library.
Best Practices
- Start from official quick-starts and framework adapters before custom abstractions.
- Keep a thin wrapper around third-party integration points so upgrades remain simple.
- Prefer typed APIs and validated inputs/outputs for reliability across app layers.
- Add library-specific logic incrementally, then profile before introducing advanced optimizations.
- Keep examples and helper utilities close to official patterns to reduce maintenance cost.
Common Pitfalls
- Mixing incompatible versions across TanStack packages and adapters.
- Bypassing documented patterns in favor of framework-agnostic assumptions.