skills/alfredoperez/angular-best-practices/angular-best-practices-tanstack

angular-best-practices-tanstack

SKILL.md

Angular TanStack Query Best Practices

TanStack Query rules for server state with automatic caching, deduplication, and background refetching. Use with the core angular-best-practices skill for comprehensive Angular coverage.

Links

When to Apply

  • Fetching data from APIs with injectQuery
  • Performing mutations with cache invalidation
  • Structuring query keys for hierarchical invalidation

Rules

Rule Impact Description
Know When to Use TanStack Query MEDIUM Server state (APIs) vs client state (signals)
Use Query Key Factories MEDIUM Consistent key structure for hierarchical invalidation

Install

Install from skills.sh/alfredoperez/angular-best-practices:

Weekly Installs
50
GitHub Stars
19
First Seen
Feb 9, 2026
Installed on
codex49
opencode48
github-copilot48
gemini-cli47
amp46
kimi-cli46