apollo-client VS react-apollo

Compare apollo-client vs react-apollo and see what are their differences.

apollo-client

:rocket:  A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server. (by apollographql)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
apollo-client react-apollo
30 8
19,199 6,933
0.3% -
9.8 7.9
about 14 hours ago over 3 years ago
TypeScript TypeScript
MIT License -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

apollo-client

Posts with mentions or reviews of apollo-client. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-01.

react-apollo

Posts with mentions or reviews of react-apollo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-26.
  • Sending object's delta instead of whole object, for a subscription?
    2 projects | /r/graphql | 26 Jul 2022
    This apollo issue matches my problem: https://github.com/apollographql/react-apollo/issues/2866
  • 5 tips for debugging Apollo GraphQL MockedProvider
    3 projects | dev.to | 7 Jun 2022
    We’re heavy users of Apollo GraphQL in my team at Swarmia, but sometimes mocking the queries is bothersome. And based on a few GitHub comments, it looks like we’re not alone. This blog post is here to help!
  • React-Apollo, don't run query on component load
    1 project | /r/codehunter | 23 Apr 2022
    I'm using the awesome https://github.com/apollographql/react-apollo library and I'm trying to see if there is a better convention to load data into components than how I'm doing it now.
  • GraphQL with React Native
    1 project | /r/reactnative | 2 Mar 2022
    Hello guys, I'm working with GraphQL using Apollo Client and facing a big issue but haven't found a fix yet. The problem is with fetchMore callback. This trigger twice, one is the original call, second is the call with new variables. But onComplete only return the response of the original one. When I use nextFetchPolicy: "cache-first" it not trigger the original variables anymore, but the onComplete doesn't return the result of new call. I've looking for a solution on the internet and found this: https://github.com/apollographql/react-apollo/issues/2177 But a few years passed and there aren't any explain or fix. It makes me nervous about choosing apollo client for long-term usage. Can you suggest a client that still has maintainers?
  • GraphQL Code Generator - Introducing Hooks support for React Apollo plugin
    4 projects | dev.to | 29 Jul 2021
    React Apollo fits perfectly the requirements, and it now supports Hooks for your GraphQL operations.
  • Complex Apollo cache management with numerous parameterized queries made as painless as possible
    3 projects | /r/graphql | 15 Jun 2021
    I've been using Apollo for a couple of years now, and it is infamously nebulous when it comes to moderately complex real-world scenarios, such as parameterized queries. There are many years-spanning github issues on this problem alone, with barely any maintainable solutions proffered. I've written a lengthy guide that explains exactly how Apollo's InMemoryCache works under the hood and how to sanely solve these caching issues.
  • Apolloclient Refetch All Instances Of This Query
    1 project | /r/graphql | 6 Feb 2021
    1 project | /r/graphql | 6 Feb 2021

What are some alternatives?

When comparing apollo-client and react-apollo you can also consider the following projects:

react-relay - Relay is a JavaScript framework for building data-driven React applications.

TanStack Query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.

adrenaline

sveltekit-graphql-github - Use Apollo Client with SvelteKit to Query a GraphQL API: we use the GitHub API to query our repos and learn a bit of SvelteKit along the way.

react-transmit

react-query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]

cerebral-module-http - HTTP module for Cerebral

graphql-request - Minimal GraphQL client

apollo-augmented-hooks - Drop-in replacements for @apollo/client's useQuery, useMutation and useSubscription hooks with reduced overhead and additional functionality.