StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Languages
  4. Npm Packages
  5. apollo-boost vs apollo-client

apollo-boost vs apollo-client

OverviewComparisonAlternatives

Overview

apollo-client
apollo-client
Stacks210
Followers19
Votes0
GitHub Stars19.0K
Forks2.6K
apollo-boost
apollo-boost
Stacks98
Followers0
Votes0
GitHub Stars19.0K
Forks2.6K

apollo-boost vs apollo-client: What are the differences?

Introduction:

In the world of web development, Apollo has become a popular choice for integrating GraphQL with JavaScript applications. When working with Apollo, two commonly used packages are apollo-boost and apollo-client. While both serve the purpose of handling GraphQL requests and managing local state, there are some key differences between the two that differentiate their functionality and capabilities.

  1. Cache Configuration: One notable difference between apollo-boost and apollo-client lies in the way they handle cache configuration. apollo-boost simplifies cache setup by providing a pre-configured InMemoryCache instance with sensible defaults. Conversely, apollo-client allows for more fine-grained control over the cache configuration by allowing developers to create and configure their own instance of InMemoryCache.

  2. Dependency Management: When it comes to dependency management, apollo-boost strives for simplicity by bundling several Apollo packages together, including apollo-client, graphql, and graphql-tag. This bundling approach helps to reduce the number of dependencies required when installing and using apollo-boost. On the other hand, apollo-client allows for more flexibility in terms of dependency management, as it allows developers to selectively install and configure the necessary Apollo packages based on their specific project requirements.

  3. Network Interface: The way network requests are made differs between apollo-boost and apollo-client. apollo-boost utilizes the createHttpLink function from the apollo-link-http package to create the network interface, automatically handling the required setup for HTTP requests. In contrast, apollo-client provides more flexibility by allowing developers to choose their preferred network interface implementation, such as createHttpLink or createWebSocketLink, based on the specific needs of their application.

  4. Extensions Support: Another difference worth mentioning is the support for extensions within Apollo. apollo-boost does not provide built-in support for extensions, which limits the ability to perform advanced operations like custom logging or modifying error handling behavior. On the other hand, apollo-client offers support for extensions, empowering developers with more flexibility and control over the Apollo client functionality.

  5. Directives Support: Directives in GraphQL allow for more dynamic query execution by modifying the behavior of fields or the execution plan. apollo-boost lacks native support for directives, meaning developers need to manually implement directive support if required. In contrast, apollo-client provides built-in support for directives, simplifying the implementation and execution of queries involving directives.

  6. Client Configuration: While both apollo-boost and apollo-client provide ways to configure the Apollo client, the granularity of control differs. apollo-boost abstracts away some low-level configuration options, providing a simplified API and sensible default behavior. On the other hand, apollo-client offers more extensive configuration options, allowing developers to fine-tune aspects such as HTTP headers, cache persistence, and batching to better suit their specific needs.

In summary, the key differences between apollo-boost and apollo-client lie in cache configuration, dependency management, network interface setup, extensions support, directives support, and client configuration. These distinctions give developers the flexibility to choose the package that aligns better with their project requirements and preferences.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Detailed Comparison

apollo-client
apollo-client
apollo-boost
apollo-boost

A simple yet functional GraphQL client.

The easiest way to get started with Apollo Client.

Statistics
GitHub Stars
19.0K
GitHub Stars
19.0K
GitHub Forks
2.6K
GitHub Forks
2.6K
Stacks
210
Stacks
98
Followers
19
Followers
0
Votes
0
Votes
0

What are some alternatives to apollo-client, apollo-boost?

typescript

typescript

TypeScript is a language for application scale JavaScript development.

eslint

eslint

An AST-based pattern checker for JavaScript.

react

react

React is a JavaScript library for building user interfaces.

@types/node

@types/node

TypeScript definitions for Node.js.

prettier

prettier

Prettier is an opinionated code formatter.

react-dom

react-dom

React package for working with the DOM.

jest

jest

Delightful JavaScript Testing.

express

express

Fast, unopinionated, minimalist web framework.

mocha

mocha

Simple, flexible, fun test framework.

webpack

webpack

Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase