Stack Explorer

TanStack Query

Data Fetching

Async state manager for data fetching with caching and sync

5M/week ↑ Growing

Features

data-fetchingcacheasync

Pros and Cons

Ventajas

  • + Intelligent automatic caching
  • + Background refetching
  • + Devtools included
  • + Framework agnostic

Desventajas

  • - Learning curve for advanced patterns
  • - Can be overkill for simple apps

Use Cases

  • Any app with API calls
  • Real-time dashboards
  • Apps needing optimistic updates

Tecnologías Relacionadas

Compatible with

Alternatives

Related