Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. GraphQL
  3. ember-apollo-client

ember-apollo-client

MITJavaScriptv5.0.0

An Ember CLI addon for integrating Apollo Client and GraphQL into Ember.js applications.

GitHubGitHub
280 stars72 forks0 contributors

What is ember-apollo-client?

ember-apollo-client is an Ember CLI addon that integrates Apollo Client and GraphQL into Ember.js applications. It provides tools for querying, mutating, and subscribing to GraphQL APIs, handling data management, caching, and real-time updates while aligning with Ember's conventions and lifecycle patterns.

Target Audience

Ember.js developers building applications that consume GraphQL APIs, particularly those needing robust data fetching, real-time subscriptions, and seamless integration with Apollo Client's ecosystem.

Value Proposition

Developers choose ember-apollo-client for its battle-tested reliability in large apps, automatic cleanup of queries and subscriptions, and deep integration with Ember's framework, reducing boilerplate and preventing common GraphQL pitfalls.

Overview

🚀 An ember-cli addon for Apollo Client and GraphQL

Use Cases

Best For

  • Integrating GraphQL APIs into Ember.js applications
  • Building real-time features with GraphQL subscriptions
  • Managing complex data fetching with Apollo Client in Ember
  • Server-side rendered Ember apps using FastBoot with GraphQL
  • Testing GraphQL operations deterministically in Ember tests
  • Using TypeScript with GraphQL imports in Ember projects

Not Ideal For

  • Projects not using Ember.js or planning to migrate away from Ember
  • Applications requiring frequent inline GraphQL queries without precompilation overhead
  • Teams with strict dependencies on Apollo Client v1 or v2, as this addon only supports v3+
  • Small prototypes where the setup complexity for subscriptions or custom links outweighs GraphQL benefits

Pros & Cons

Pros

Automatic Resource Management

Automatically unsubscribes from watch queries and subscriptions when routes or components are destroyed, preventing memory leaks, as emphasized in the queryManager usage.

Seamless Ember Integration

Designed to work with Ember's conventions and lifecycle, using computed macros and services to feel native, such as the queryManager decorator for easy data fetching.

Robust Testing Support

Includes deterministic testing utilities with tracked promises, ensuring reliable test suites for GraphQL operations, highlighted in the testing section.

SSR and FastBoot Ready

Supports server-side rendering with FastBoot when configured with ssrMode: true, enabling isomorphic Ember apps with GraphQL, as documented.

TypeScript and Tooling

Provides type definitions for GraphQL imports and Apollo operations, enhancing developer experience in TypeScript projects, with setup instructions in the README.

Cons

Inline Query Performance Hit

Inline queries using graphql-tag are compiled at runtime, which is slower and increases bundle size, as the README warns against using them in favor of external files.

Complex Subscription Setup

Configuring GraphQL subscriptions requires manual WebSocket link setup and link composition, which can be error-prone and time-consuming, as shown in the examples.

Apollo Version Lock-in

Only compatible with Apollo Client v3 or above, forcing upgrades from older versions and risking breaking changes with future Apollo updates that may require addon updates.

Steep Customization Learning Curve

Extending the Apollo service for advanced features like custom links or authentication requires deep knowledge of both Apollo Client and Ember services, complicating initial setup.

Frequently Asked Questions

Quick Stats

Stars280
Forks72
Contributors0
Open Issues21
Last commit9 months ago
CreatedSince 2017

Tags

#emberjs#data-fetching#fastboot#graphql#ember-addon#ember-cli#typescript#testing#subscriptions#real-time#apollo-client#ember

Built With

e
ember-auto-import
G
GraphQL
E
Ember.js
A
Apollo Client

Included in

GraphQL15.0k
Auto-fetched 1 day ago

Related Projects

apollo-clientapollo-client

The industry-leading GraphQL client for TypeScript, JavaScript, React, Vue, Angular, and more. Apollo Client delivers powerful caching, intuitive APIs, and comprehensive developer tools to accelerate your app development.

Stars19,715
Forks2,700
Last commit3 days ago
relayrelay

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

Stars18,942
Forks1,890
Last commit1 day ago
aws-amplifyaws-amplify

A declarative JavaScript library for application development using cloud services.

Stars9,573
Forks2,169
Last commit2 days ago
urqlurql

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

Stars8,943
Forks475
Last commit5 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub