awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
tannerlinsley avatar

tannerlinsley/react-query

0
View on GitHub↗
49,769 estrellas·3,891 forks·TypeScript·MIT·6 vistastanstack.com/query↗

React Query

React Query is an asynchronous state management library and data fetching orchestrator designed to fetch, cache, and synchronize server state in web applications. It functions as a server-state cache manager that handles asynchronous data requests to keep local application state in sync with a remote server.

The library implements a stale-while-revalidate cache pattern, which provides immediate access to cached data while triggering background updates to maintain consistency. It further supports optimistic user interface updates, allowing the interface to change immediately during data mutations while syncing with the server in the background.

The utility covers a broad range of capabilities including remote data mutation, web data caching, and the management of pagination and dependent queries. It also provides tools for optimizing data loading and synchronizing server state across various JavaScript and TypeScript UI frameworks.

Features

  • Server State Managers - Functions as a server-state manager that synchronizes remote data with local application state.
  • Stale-While-Revalidate Strategies - Implements a stale-while-revalidate cache pattern to provide immediate data access while triggering background updates.
  • Cache Revalidation - Updates server information and automatically refreshes the local cache to maintain data consistency across the UI.
  • Asynchronous Data Fetching - Retrieves remote data and manages its lifecycle as asynchronous state to keep the user interface in sync.
  • Asynchronous State Managers - Manages remote server data as asynchronous state to ensure the user interface remains synchronized.
  • Asynchronous Data Caching - Caches the results of asynchronous network operations using unique keys to reduce redundant requests.
  • Data Fetching Orchestrators - Orchestrates mutations, pagination, and dependent queries to synchronize local state with a remote server.
  • Stale-While-Revalidate - Implements the stale-while-revalidate pattern to provide immediate cached data while triggering background updates.
  • Optimistic Updates - Provides a system to update the user interface immediately during mutations and synchronize changes with the server in the background.
  • Cache Mutation Utilities - Provides utilities for updating and revalidating local data caches during the mutation lifecycle.
  • Cache Key Generators - Generates unique cache keys using serialized arrays or strings for efficient retrieval of asynchronous data.
  • Cache Garbage Collection - Implements automatic removal of unused cache entries to prevent memory leaks in long-running sessions.
  • State Synchronization Patterns - Uses an observer-based pattern to trigger automatic data refetches when window focus or connectivity changes.
  • Dependency Resolvers - Defers network requests until prerequisite data dependencies are resolved to ensure components are fully populated.
  • Perceived Performance Optimizations - Optimizes perceived performance through prefetching resources and providing immediate feedback via optimistic updates.
  • State Management Utilities - Provides state management utilities to handle asynchronous data lifecycles across multiple JavaScript and TypeScript frameworks.
  • Web Caching - Stores network responses locally to reduce redundant API calls and improve application loading speeds.
  • Data Fetching Utilities - Provides utilities for managing network requests, preloading, and caching across various UI frameworks.
  • Optimistic UI Updates - Updates the user interface immediately during mutations and synchronizes with the server in the background.
  • API Clients and Utilities - Data fetching and caching for React.
  • Data Fetching - Fetch, cache, and update asynchronous data.
  • React Ecosystem - Hooks-based library for fetching, caching, and updating asynchronous data.
  • State Management - Powerful asynchronous state management for React applications.

Historial de estrellas

Gráfico del historial de estrellas de tannerlinsley/react-queryGráfico del historial de estrellas de tannerlinsley/react-query

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a React Query

Proyectos open-source similares, clasificados según cuántas características comparten con React Query.
  • tanstack/queryAvatar de TanStack

    TanStack/query

    49,761Ver en GitHub↗

    This project provides a comprehensive suite of tools for managing asynchronous state and building full-stack web applications. At its core, it functions as a centralized synchronization layer that automates data fetching, caching, and background revalidation, ensuring that remote server data remains consistent with the local user interface. By utilizing a declarative, hook-based programming model, it simplifies the management of complex data lifecycles and loading states. The project distinguishes itself through a headless design philosophy that decouples business logic from visual presentati

    TypeScriptasynccachedata
    Ver en GitHub↗49,761
  • vercel/swrAvatar de vercel

    vercel/swr

    32,406Ver en GitHub↗

    SWR is a data fetching library that provides a collection of hooks for managing remote data synchronization, caching, and state updates in web applications. It employs a declarative approach to handle complex network request lifecycles and dependency chains, ensuring that client-side application state remains consistent with server data through automatic revalidation and background updates. The library distinguishes itself through a reactive cache layer that automatically synchronizes local state with remote sources based on component lifecycle events. It features event-driven revalidation, w

    TypeScriptcachedatadata-fetching
    Ver en GitHub↗32,406
  • facebook/reactAvatar de facebook

    facebook/react

    245,669Ver en GitHub↗

    React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional data flow.

    JavaScriptjavascriptuifrontend
    Ver en GitHub↗245,669
  • facebook/relayAvatar de facebook

    facebook/relay

    18,940Ver en GitHub↗

    Relay is a GraphQL client framework and state manager used for building data-driven applications. It functions as a declarative data fetching layer and a GraphQL compiler that transforms declarations into optimized runtime code with automatic type generation. The framework distinguishes itself through a build-time compilation process that generates optimized queries and a data masking system that prevents components from accessing undeclared data. It employs a normalized client-side cache to maintain consistency across entities and an optimistic update mechanism to provide immediate interface

    Rust
    Ver en GitHub↗18,940
Ver las 30 alternativas a React Query→

Preguntas frecuentes

¿Qué hace tannerlinsley/react-query?

React Query is an asynchronous state management library and data fetching orchestrator designed to fetch, cache, and synchronize server state in web applications. It functions as a server-state cache manager that handles asynchronous data requests to keep local application state in sync with a remote server.

¿Cuáles son las características principales de tannerlinsley/react-query?

Las características principales de tannerlinsley/react-query son: Server State Managers, Stale-While-Revalidate Strategies, Cache Revalidation, Asynchronous Data Fetching, Asynchronous State Managers, Asynchronous Data Caching, Data Fetching Orchestrators, Stale-While-Revalidate.

¿Qué alternativas de código abierto existen para tannerlinsley/react-query?

Las alternativas de código abierto para tannerlinsley/react-query incluyen: tanstack/query — This project provides a comprehensive suite of tools for managing asynchronous state and building full-stack web… vercel/swr — SWR is a data fetching library that provides a collection of hooks for managing remote data synchronization, caching,… facebook/react — React is a JavaScript library for building user interfaces based on a component-driven architecture and unidirectional… facebook/relay — Relay is a GraphQL client framework and state manager used for building data-driven applications. It functions as a… ctrlplusb/easy-peasy — Easy-peasy is a React state management library and typed framework that provides a centralized store for managing… zerobias/effector — Effector is a reactive state management library and data flow orchestrator designed for building complex, event-driven…