awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
apollographql avatar

apollographql/react-apolloArchived

0
View on GitHub↗
6,799 نجوم·764 تفرعات·JavaScript·MIT·3 مشاهداتwww.apollographql.com/docs/react↗

React Apollo

React Apollo is a React-specific GraphQL data fetching library that binds Apollo Client to components through declarative hooks for queries, mutations, and subscriptions. It provides a declarative approach to GraphQL query execution where components declare their data requirements and automatically receive loading, error, and data states without managing request lifecycle code.

The library distinguishes itself through a normalized cache layer that deduplicates entities and serves repeated requests without network calls, combined with incremental result streaming via the @defer directive for partial query field delivery. It supports persisted operations safelisting for security, where approved queries are registered with the server so only pre-authorized operations are accepted. A fine-grained network status enumeration exposes distinct states for loading, refetching, polling, and pagination, enabling precise UI feedback.

The library offers provider-based client injection through a context provider at the component tree root, making the GraphQL client accessible to all descendant hooks. It includes configurable caching strategies with cache-first and network-only fetch policies, conditional query skipping using a type-safe token, and support for real-time subscriptions that push live data from the server without polling. Polling and refetch mechanisms allow queries to be re-executed at intervals or on demand, with partial error handling that can either discard all data on error or keep partial results when some fields fail.

Features

  • React GraphQL Hooks - Binds Apollo Client to React components with hooks for declarative GraphQL queries, mutations, and subscriptions.
  • Query Result Caching - Caches fetched query data locally so identical queries return instantly without making a network request.
  • Client Query Execution - Provides a declarative hook-based API for executing GraphQL queries and managing their lifecycle.
  • GraphQL Normalized Caches - Ships a normalized client-side cache that deduplicates GraphQL entities and serves repeated requests without network calls.
  • Provider-Based Clients - Wraps the component tree root with a provider that makes the GraphQL client accessible to all child components.
  • Context Provider Injection - Uses a React context provider at the component tree root to inject the GraphQL client into all descendant hooks.
  • Query Hooks - Ships React hooks that execute GraphQL queries and expose loading, error, and data states to components.
  • GraphQL Data Fetching - Fetches data from a GraphQL endpoint and automatically re-renders React components when that data changes.
  • Declarative GraphQL Lifecycles - Manages loading, error, and data states of GraphQL queries in React components without manual request lifecycle code.
  • Declarative Data Hooks - Provides declarative React hooks that automatically manage GraphQL query loading, error, and data states.
  • GraphQL Query Hooks - Executes GraphQL queries via React hooks and returns loading, error, and data states for UI rendering.
  • Manual Query Triggers - Defers GraphQL query execution until a manual trigger like a button click by returning an execution function from a hook.
  • GraphQL Subscriptions - Implements real-time GraphQL subscriptions that push live data from the server to React components without polling.
  • GraphQL Deferred Streams - Implements incremental query result streaming via the @defer directive for partial field delivery.
  • GraphQL Fetch Policies - Offers configurable fetch policies like cache-first and network-only to control how queries retrieve data.
  • Persisted Operation Enforcement - Supports persisted operations safelisting where approved queries are registered with the server for security.
  • Query Refetching - Triggers fresh GraphQL query execution in response to user actions, optionally with new variables.
  • GraphQL Deferred Fields - Implements the @defer directive for incremental delivery of GraphQL query fields as partial results.
  • GraphQL Query Polling - Re-executes GraphQL queries at intervals or on demand with distinct network statuses for each trigger type.
  • Polling and Refetching - Supports configurable polling intervals and on-demand refetching with distinct network statuses for each trigger type.
  • Data Polling - Re-executes GraphQL queries periodically at set intervals to keep displayed data near-real-time with the server.

سجل النجوم

مخطط تاريخ النجوم لـ apollographql/react-apolloمخطط تاريخ النجوم لـ apollographql/react-apollo

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ React Apollo

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع React Apollo.
  • trojanowski/react-apollo-hooksالصورة الرمزية لـ trojanowski

    trojanowski/react-apollo-hooks

    2,388عرض على GitHub↗

    This library provides a collection of hooks for integrating GraphQL data operations into functional components within the Apollo Client ecosystem. It functions as a state management tool that synchronizes remote server data with local component state, ensuring consistent data representation across the user interface. The project distinguishes itself by enabling server-side rendering through a framework of utilities that pre-fetch data and resolve component trees to deliver fully populated HTML. It utilizes a provider-based pattern to inject the data client into the component tree, allowing ne

    TypeScript
    عرض على GitHub↗2,388
  • urql-graphql/urqlالصورة الرمزية لـ urql-graphql

    urql-graphql/urql

    8,959عرض على GitHub↗

    urql is a GraphQL client library designed for fetching and managing data from a GraphQL API. It provides a system for handling GraphQL data fetching, state management, and integration with React components. The library is distinguished by a middleware pipeline architecture that allows the request-response flow to be modified through swappable exchanges. This enables the customization of the data layer, including the addition of custom business logic, request deduplication, and specialized fetching behaviors. The project covers a broad range of capabilities, including normalized caching to en

    TypeScriptcomplex-appsexchangegraphql
    عرض على GitHub↗8,959
  • akryum/vue-apolloالصورة الرمزية لـ Akryum

    Akryum/vue-apollo

    6,041عرض على GitHub↗

    Vue Apollo is a GraphQL integration library for Vue applications that connects Vue components to GraphQL APIs using Apollo Client. It provides a reactive data layer for querying, mutating, and subscribing to data from GraphQL endpoints, with automatic cache updates and real-time subscription support. The library offers multiple API surfaces for working with GraphQL data, including slot-based declarative components, composable functions for the Composition API, and Options API integration. It handles the full lifecycle of GraphQL operations, from automatic data fetching with reactive queries t

    TypeScript
    عرض على GitHub↗6,041
  • apollographql/apollo-clientالصورة الرمزية لـ apollographql

    apollographql/apollo-client

    19,798عرض على GitHub↗

    Apollo Client is a GraphQL client library and data fetching framework used to request data from a GraphQL server and synchronize that state within a frontend application. It functions as a remote state manager and a local state management tool, allowing developers to define client-side schemas and resolvers for data that does not reside on a remote server. The project features a normalized GraphQL cache that identifies objects by ID to ensure referential equality and consistent data updates across different queries. It also includes a GraphQL API mocking tool to simulate server responses and

    TypeScriptapollo-clientapollographqlgraphql
    عرض على GitHub↗19,798
عرض جميع البدائل الـ 30 لـ React Apollo→

الأسئلة الشائعة

ما هي وظيفة apollographql/react-apollo؟

React Apollo is a React-specific GraphQL data fetching library that binds Apollo Client to components through declarative hooks for queries, mutations, and subscriptions. It provides a declarative approach to GraphQL query execution where components declare their data requirements and automatically receive loading, error, and data states without managing request lifecycle code.

ما هي الميزات الرئيسية لـ apollographql/react-apollo؟

الميزات الرئيسية لـ apollographql/react-apollo هي: React GraphQL Hooks, Query Result Caching, Client Query Execution, GraphQL Normalized Caches, Provider-Based Clients, Context Provider Injection, Query Hooks, GraphQL Data Fetching.

ما هي البدائل مفتوحة المصدر لـ apollographql/react-apollo؟

تشمل البدائل مفتوحة المصدر لـ apollographql/react-apollo: trojanowski/react-apollo-hooks — This library provides a collection of hooks for integrating GraphQL data operations into functional components within… urql-graphql/urql — urql is a GraphQL client library designed for fetching and managing data from a GraphQL API. It provides a system for… akryum/vue-apollo — Vue Apollo is a GraphQL integration library for Vue applications that connects Vue components to GraphQL APIs using… formidablelabs/urql — urql is a GraphQL client and data management tool used to execute GraphQL operations and synchronize data from remote… apollographql/apollo-client — Apollo Client is a GraphQL client library and data fetching framework used to request data from a GraphQL server and… apollographql/apollo-ios — apollo-ios is a GraphQL client library for iOS and Apple platforms that enables type-safe network communication. It…