# apollo-client

Apollo Client is a JavaScript GraphQL state management library for managing local and remote application data, including fetching, caching, and UI updates.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Creating Query Components with Apollo

DevFeed: [Creating Query Components with Apollo](<https://devfeed.tech/articles/creating-query-components-with-apollo-27371.md>)

Original publisher: [Read original article](<http://engineering.khanacademy.org/posts/creating-query-components-with-apollo.htm>)

Author: Khan Academy

Published: 2017-06-12T22:00:00Z

Content type: article

Language: en

Sources: [Khan Academy](<https://devfeed.tech/sources/khan-academy.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [news](<https://devfeed.tech/tags/news.md>), [query](<https://devfeed.tech/tags/query.md>), [web-frontend](<https://devfeed.tech/tags/web-frontend.md>)

### AI overview

The article presents "Query Components" as a way to separate Apollo and GraphQL query handling from React presentation. Its SchoolsQuery component wraps the query, maps loading, empty, and error states plus school results into props, and passes them to a presentation component through a function-as-children callback. This leaves the presentation focused on rendering and lets the same query support different layouts. The example filters schools by postal code and uses Flow types; a similar wrapper can trigger mutations. The author says the pattern has been useful but is still being evaluated for scale, and suggests it could also work with REST APIs.

### Source excerpt

By Brian Genisio Here at Khan Academy, we've been using GraphQL in several projects with great success. GraphQL ... Read more

## What's New in Apollo Client 4.3

DevFeed: [What's New in Apollo Client 4.3](<https://devfeed.tech/articles/what-s-new-in-apollo-client-4-3-32028.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/whats-new-in-apollo-client-4-3>)

Author: Jerel Miller

Published: 2026-09-15T12:01:05Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Code generation](<https://devfeed.tech/topics/code-generation.md>)

Tags: [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [cache](<https://devfeed.tech/tags/cache.md>), [codegen](<https://devfeed.tech/tags/codegen.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [native](<https://devfeed.tech/tags/native.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

Apollo Client 4.3 adds native custom scalar support, type-safe cache access, and improved TypeScript handling for incremental GraphQL data. The release also updates generated types and data-state narrowing for deferred fields.

### Source excerpt

Apollo Client 4.3 is here: native custom scalar support, type-safe cache access, and more consistent @defer and @stream behavior. See what's new and upgrade today.

## The Absolute State of Management

DevFeed: [The Absolute State of Management](<https://devfeed.tech/articles/the-absolute-state-of-management-26566.md>)

Original publisher: [Read original article](<https://infrequently.org/2026/07/state-management/>)

Author: Alex Russell

Published: 2026-07-23T00:00:00Z

Content type: opinion

Language: en

Sources: [Alex Russell](<https://devfeed.tech/sources/alex-russell.md>)

Topics: [state-management](<https://devfeed.tech/topics/state-management.md>), [React](<https://devfeed.tech/topics/react.md>), [Zustand](<https://devfeed.tech/topics/zustand.md>), [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Redux](<https://devfeed.tech/topics/redux.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [frameworkism](<https://devfeed.tech/tags/frameworkism.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [notifications](<https://devfeed.tech/tags/notifications.md>), [react](<https://devfeed.tech/tags/react.md>), [redux](<https://devfeed.tech/tags/redux.md>), [state](<https://devfeed.tech/tags/state.md>), [state-management](<https://devfeed.tech/tags/state-management.md>), [tanstack](<https://devfeed.tech/tags/tanstack.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [ui](<https://devfeed.tech/tags/ui.md>), [webdev](<https://devfeed.tech/tags/webdev.md>), [zustand](<https://devfeed.tech/tags/zustand.md>)

### AI overview

The excerpt argues that React and its ecosystem's many "state management" libraries use the same label for different roles. It lists tools including MobX, Recoil, Jotai, XState, Apollo, Redux, TanStack Store, and Zustand, noting that several may appear on one page despite React's own state facilities. The author's central claim is that these tools do not meaningfully manage state: they may encapsulate it, filter or transform updates, and propagate change notifications. The excerpt cuts off before explaining the distinction further.

### Source excerpt

It is by no means the gravest linguistic crime of the React epoch,1 but "state management" grates like nails on chalkboard. A Socratic dialogue I keep having about it goes something like this: me: This UI is far too heavyweight for what it does, have you considered not using React? them: But how will we do state management without React? me: What do you mean? <alternatives> are reactive. them: React manages state in our app. me: It does? Then what are <various_libraries> for? them: Oh, those manage state. me: The libraries that trigger this "Who's on First?" routine include: MobX, which promises "simple, scalable state management." Satchel, apparently, "is characterized by exposing an observable state that makes view updates painless and efficient" Recoil, billed as "a state management library for React" Jotai, which pledges "primitive and flexible state management for React" XState, a "state management and orchestration solution for JavaScript and TypeScript apps" Apollo, promising "a comprehensive GraphQL state management library for JavaScript" Redux, tagline: "a predictable state container for JavaScript apps." TanStack Store, "a framework-agnostic state primitive for immutable updates" Zustand, described as the "🐻 bear necessities for state management in React" Contrasts sharp enough to cut softened butter.2 Suffice it to say, the ecosystem has not picked a winner. Indeed, I regularly see several of these libraries on a single page. But even one would seem too many, given that we're adding a second "state management" system to a framework that spills considerable documentation ink chest-beating about its state management facilities. One of the following must be true: React is a state management system and someone has smuggled in a duplicative dependency we can jettison. React is an inadequate state management system and we should stop trusting it with an ill-defined subset of the "state management" problem. React is not a state management system and we should s

## What's New in Apollo Client 4.2

DevFeed: [What's New in Apollo Client 4.2](<https://devfeed.tech/articles/what-s-new-in-apollo-client-4-2-23586.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/whats-new-in-apollo-client-4-2>)

Author: Jerel Miller

Published: 2026-05-27T11:33:11Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [typesafety](<https://devfeed.tech/topics/typesafety.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [event](<https://devfeed.tech/tags/event.md>), [focus](<https://devfeed.tech/tags/focus.md>), [type-safe](<https://devfeed.tech/tags/type-safe.md>)

### AI overview

Apollo Client 4.2 propagates declared default options through React hooks and core APIs so TypeScript types reflect runtime behavior. Opting in requires TypeScript module augmentation and a matching runtime option. Generic arguments to hooks and core APIs are deprecated; they remain usable but do not provide the new type safety, so the excerpt points readers to migration guidance. The release also introduces event-based refetching for events such as window focus and network reconnection, replacing the need to build this behavior with custom event handling or wrapper hooks. The excerpt ends while describing how to configure it.

### Source excerpt

Discover Apollo Client 4.2's type-safe default options and event-based refetching. Eliminate type mismatches and automatically refetch on window focus. Learn how.

## Building MCP Apps with Apollo Client and Apollo MCP Server

DevFeed: [Building MCP Apps with Apollo Client and Apollo MCP Server](<https://devfeed.tech/articles/building-mcp-apps-with-apollo-client-and-apollo-mcp-server-23245.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/building-mcp-apps-with-apollo-client-and-apollo-mcp-server>)

Author: Andrew McGivery

Published: 2026-03-02T12:00:24Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [apollo-server](<https://devfeed.tech/topics/apollo-server.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [agentic-workflows](<https://devfeed.tech/tags/agentic-workflows.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-chat](<https://devfeed.tech/tags/ai-chat.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [apis](<https://devfeed.tech/tags/apis.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [apollo-mcp-server](<https://devfeed.tech/tags/apollo-mcp-server.md>), [apps](<https://devfeed.tech/tags/apps.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [framework](<https://devfeed.tech/tags/framework.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-apps](<https://devfeed.tech/tags/mcp-apps.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [server](<https://devfeed.tech/tags/server.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

Apollo's framework lets teams build MCP Apps with familiar Apollo Client patterns and serve them through Apollo MCP Server, without maintaining dedicated MCP infrastructure. It supports OpenAI and platforms implementing the MCP Apps specification. The excerpt frames in-chat apps as an additional distribution channel for structured, interactive experiences and workflows such as booking, purchasing, or configuring; it does not describe the promised getting-started template beyond its heading.

### Source excerpt

Build MCP Apps with Apollo Client and Apollo MCP Server. Learn how to create conversational, interactive apps for ChatGPT and other MCP hosts using GraphQL, auto-generated tools, and a deploy-anywhere framework with no custom MCP infrastructure required.

## Apollo Skills: Teaching AI Agents How to Use Apollo and GraphQL

DevFeed: [Apollo Skills: Teaching AI Agents How to Use Apollo and GraphQL](<https://devfeed.tech/articles/apollo-skills-teaching-ai-agents-how-to-use-apollo-and-graphql-23220.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/apollo-skills-teaching-ai-agents-how-to-use-apollo-and-graphql>)

Author: Dale Seo

Published: 2026-02-03T12:00:35Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Agent Skills](<https://devfeed.tech/topics/agent-skills.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [apollo-server](<https://devfeed.tech/topics/apollo-server.md>), [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [Claude Code](<https://devfeed.tech/topics/claude-code.md>)

Tags: [2019](<https://devfeed.tech/tags/2019.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [apollo-mcp-server](<https://devfeed.tech/tags/apollo-mcp-server.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-code](<https://devfeed.tech/tags/claude-code.md>), [connectors](<https://devfeed.tech/tags/connectors.md>), [copilot](<https://devfeed.tech/tags/copilot.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [example](<https://devfeed.tech/tags/example.md>), [github](<https://devfeed.tech/tags/github.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [guidance](<https://devfeed.tech/tags/guidance.md>), [schema](<https://devfeed.tech/tags/schema.md>), [server](<https://devfeed.tech/tags/server.md>), [skills](<https://devfeed.tech/tags/skills.md>)

### AI overview

Apollo Skills aims to help AI agents avoid repeating outdated or inconsistent GraphQL patterns by giving them reusable Apollo guidance across sessions. The excerpt says agents otherwise start each conversation without team conventions, may miss error handling or performance considerations, and leave developers re-entering context. Apollo describes publishing apollographql/skills as a public artifact to test the idea and iterate on feedback. The excerpt ends before its concrete example, so it does not show how the skills guide a particular implementation.

### Source excerpt

Apollo Skills teaches AI agents to write production-quality GraphQL. Covers Apollo Client, Apollo Server, Connectors, schema design, and operations. Install: npx skills add apollographql/skills. Works with Claude Code, Cursor, Copilot. Open source at github.com/apollographql/skills

## @stream all the things with Apollo Client 4.1

DevFeed: [@stream all the things with Apollo Client 4.1](<https://devfeed.tech/articles/stream-all-the-things-with-apollo-client-4-1-23525.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/stream-all-the-things-with-apollo-client-4-1>)

Author: Jerel Miller

Published: 2026-01-21T12:36:16Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [cache](<https://devfeed.tech/tags/cache.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [incremental](<https://devfeed.tech/tags/incremental.md>), [performance](<https://devfeed.tech/tags/performance.md>), [stream](<https://devfeed.tech/tags/stream.md>)

### AI overview

Apollo Client 4.1 adds @stream support for incrementally returning array items, updating the cache and notifying components as items arrive. It works with two GraphQL incremental delivery formats, whose result timing may differ; the dedicated handler for the newer format sets a request header, but requires a server that implements that format. Fragment watching can now accept arrays to watch multiple cache entities. The excerpt also lists fixes for stale cached array items and incremental rerendering, deduplication of watches and observables, and other fragment and mutation improvements.

### Source excerpt

Apollo Client 4.1 introduces full @stream directive support, compatibility with the latest GraphQL incremental delivery spec, and powerful new APIs for working with fragments.

## Building Apps for ChatGPT with Apollo MCP Server and Apollo Client

DevFeed: [Building Apps for ChatGPT with Apollo MCP Server and Apollo Client](<https://devfeed.tech/articles/building-apps-for-chatgpt-with-apollo-mcp-server-and-apollo-client-23243.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/building-apps-for-chatgpt-with-apollo-mcp-server-and-apollo-client>)

Author: Andrew McGivery

Published: 2025-12-18T17:02:39Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [ChatGPT](<https://devfeed.tech/topics/chatgpt.md>), [apollo-client](<https://devfeed.tech/topics/apollo-client.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [apollo-mcp-server](<https://devfeed.tech/tags/apollo-mcp-server.md>), [apps-sdk](<https://devfeed.tech/tags/apps-sdk.md>), [chatgpt](<https://devfeed.tech/tags/chatgpt.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-apps](<https://devfeed.tech/tags/mcp-apps.md>)

### AI overview

The post introduces a tutorial for building an app embedded in ChatGPT using Apollo Client and Apollo MCP Server. It describes these apps as conversational interfaces that can take actions and respond to follow-up questions. The authors aim to abstract provider and protocol details so developers can focus on the app and, eventually, deploy it across supported platforms without maintaining a separate MCP server and app for each. The excerpt contrasts that goal with the documented setup--creating an MCP server, an HTML resource, and tools tied to that resource for each action--but does not include the tutorial's implementation steps.

### Source excerpt

This post will introduce a tutorial on how to build an app for ChatGPT using Apollo Client and Apollo MCP Server. You'll have what you need to get started with our opinionated stack for building these apps.

## Apollo Strengthens Its San Francisco Presence for the Agentic Era

DevFeed: [Apollo Strengthens Its San Francisco Presence for the Agentic Era](<https://devfeed.tech/articles/apollo-strengthens-its-san-francisco-presence-for-the-agentic-era-23221.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/apollo-strengthens-its-san-francisco-presence-for-the-agentic-era>)

Author: Sandy Parlin

Published: 2025-12-02T09:36:00Z

Content type: news

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [ai](<https://devfeed.tech/tags/ai.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [developers](<https://devfeed.tech/tags/developers.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [era](<https://devfeed.tech/tags/era.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [hiring](<https://devfeed.tech/tags/hiring.md>), [innovation](<https://devfeed.tech/tags/innovation.md>), [investment](<https://devfeed.tech/tags/investment.md>), [office](<https://devfeed.tech/tags/office.md>), [remote](<https://devfeed.tech/tags/remote.md>), [remote-work](<https://devfeed.tech/tags/remote-work.md>), [roles](<https://devfeed.tech/tags/roles.md>), [san-francisco](<https://devfeed.tech/tags/san-francisco.md>), [space](<https://devfeed.tech/tags/space.md>), [talent](<https://devfeed.tech/tags/talent.md>), [team](<https://devfeed.tech/tags/team.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

Apollo GraphQL is opening a headquarters at 201 California Street in San Francisco to expand space for collaboration, customer meetings, and team connections. The company says the office strengthens its long-term investment in the city and will help accelerate thinking and decision-making as AI develops and agentic systems emerge. Apollo will remain distributed, says remote work is core to its operations, and is hiring across multiple roles.

### Source excerpt

Today, we're excited to share that Apollo GraphQL is opening its new San Francisco headquarters at 201 California Street, between Embarcadero and Jackson Square. Apollo has always had a presence in San Francisco, but this move represents a deliberate strengthening of that footprint to support our mission of helping developers build the world.

## Mastering Cache Key Resolution in Apollo iOS with @typePolicy and @fieldPolicy

DevFeed: [Mastering Cache Key Resolution in Apollo iOS with @typePolicy and @fieldPolicy](<https://devfeed.tech/articles/mastering-cache-key-resolution-in-apollo-ios-with-typepolicy-and-fieldpolicy-23450.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/mastering-cache-key-resolution-in-apollo-ios-with-typepolicy-and-fieldpolicy>)

Author: Zach FettersMoore

Published: 2025-11-10T10:37:20Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [apollo-client](<https://devfeed.tech/topics/apollo-client.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [entries](<https://devfeed.tech/tags/entries.md>), [field](<https://devfeed.tech/tags/field.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [ios](<https://devfeed.tech/tags/ios.md>), [key](<https://devfeed.tech/tags/key.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [network](<https://devfeed.tech/tags/network.md>), [object](<https://devfeed.tech/tags/object.md>), [policies](<https://devfeed.tech/tags/policies.md>), [queries](<https://devfeed.tech/tags/queries.md>), [reading](<https://devfeed.tech/tags/reading.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [schema](<https://devfeed.tech/tags/schema.md>), [storage](<https://devfeed.tech/tags/storage.md>), [store](<https://devfeed.tech/tags/store.md>), [type](<https://devfeed.tech/tags/type.md>), [unique](<https://devfeed.tech/tags/unique.md>)

### AI overview

Apollo iOS normalizes nested GraphQL responses into a flat cache, identifying objects by cache keys. Its default response-path keys can store the same entity separately when it appears at different query paths. Type policies let writes use schema identifiers such as `id` to keep objects with the same identity in one cache entry; field policies can use query parameters to find matching cached objects on reads and may avoid a network request when they construct a key matching one established by a type policy. The excerpt explains these roles but does not include directive syntax or configuration details.

### Source excerpt

When working with Apollo iOS's normalized cache, one of the most critical decisions you'll make is how to identify and retrieve cached objects efficiently. The and directives provide a powerful declarative approach to cache key resolution, enabling your application to intelligently store and retrieve data while minimizing network requests and avoiding cache duplication. Overview: The Cache Key Resolution Problem Apollo iOS uses a normalized cache to store GraphQL responses.

## Medium Android App -- Migrating from Apollo Kotlin 3 to 4: Lessons Learned

DevFeed: [Medium Android App -- Migrating from Apollo Kotlin 3 to 4: Lessons Learned](<https://devfeed.tech/articles/medium-android-app-migrating-from-apollo-kotlin-3-to-4-lessons-learned-20324.md>)

Original publisher: [Read original article](<https://medium.engineering/medium-android-app-migrating-from-apollo-kotlin-3-to-4-lessons-learned-ff8d0d861cdb?source=rss----2817475205d3---4>)

Author: Pierrick CAEN

Published: 2025-10-06T08:18:42Z

Content type: article

Language: en

Sources: [Medium](<https://devfeed.tech/sources/medium.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [experience report](<https://devfeed.tech/topics/experience-report.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [Exception handling](<https://devfeed.tech/topics/exception-handling.md>), [Android](<https://devfeed.tech/topics/android.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [cache](<https://devfeed.tech/tags/cache.md>), [exception-handling](<https://devfeed.tech/tags/exception-handling.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [medium](<https://devfeed.tech/tags/medium.md>), [migration](<https://devfeed.tech/tags/migration.md>), [network](<https://devfeed.tech/tags/network.md>), [performance](<https://devfeed.tech/tags/performance.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

The Medium Android migration from Apollo Kotlin 3 to 4 exposed cache misses in `watch()` calls because Apollo 4 surfaces exceptions through `ApolloResponse`, including misses that had previously gone unnoticed. The app used `FetchPolicy.CacheFirst` and watched normalized-cache changes for live UI updates. The author traced misses to faulty programmatic cache keys, switched to declarative type and field policies, and configured `__typename` on all operations. Watchers now return `Result` values and filter expected cache or network exceptions according to fetch policy, since fallback responses may follow. The migration also updated exception handling, replaced `executeV3()` with `execute()`, and removed `fetchThrows = true`. The author added a Currency scalar adapter. HTTP batching and persisted queries are described as future improvements; persisted queries require backend support.

### Source excerpt

Photo by Mario Verduzco on UnsplashMedium Android App -- Migrating from Apollo Kotlin 3 to 4: Lessons Learned In this post, I'll share my experience migrating the Medium Android app from Apollo Kotlin version 3 to version 4, including the challenges I encountered and how I solved them to improve our GraphQL implementation. Understanding Our Apollo Cache Implementation Before diving into the migration, it's important to understand how we use Apollo's cache in the Medium Android app. Our app relies heavily on Apollo's normalized cache for several critical purposes: Performance Optimization: We use FetchPolicy.CacheFirst as our default strategy, which means we always try to serve data from the cache first before making network requests. This significantly reduces loading times and provides a smooth user experience, especially when users navigate between screens that display similar content. Real-time Updates: We use Apollo's watch() functionality extensively to observe cache changes and automatically update our UI when data changes. This is particularly useful for features like: Live clap counts on posts Real-time follower updates Post viewed updates and more... Starting the Migration The initial plan was straightforward: update Apollo Kotlin from version 3 to 4. The IntelliJ plugin made this process seem simple at first glance. Key Changes in Apollo Kotlin 4 Group id / plugin id / package name: Apollo Kotlin 4 uses a new identifier (com.apollographql.apollo) for its maven group id, Gradle plugin id, and package name. This change from com.apollographql.apollo3 allows running version 4 alongside version 3 if needed. Source: Apollo Kotlin Migration Guide - Group id / plugin id / package name Exception handling: Apollo 4 has a new way of handling exceptions. Instead of throwing exceptions directly, they're now passed through ApolloResponse. Source: Apollo Kotlin Migration Guide -- Fetch errors do not throw ApolloCompositeException: In Apollo Kotlin 3, when both cache and netw

## Apollo Client 4.0: A Leaner and Cleaner GraphQL Client with No Compromises

DevFeed: [Apollo Client 4.0: A Leaner and Cleaner GraphQL Client with No Compromises](<https://devfeed.tech/articles/apollo-client-4-0-a-leaner-and-cleaner-graphql-client-with-no-compromises-23131.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/announcing-apollo-client-4-0>)

Author: Jerel Miller

Published: 2025-09-03T08:00:11Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [client](<https://devfeed.tech/tags/client.md>), [community](<https://devfeed.tech/tags/community.md>), [community-feedback](<https://devfeed.tech/tags/community-feedback.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [experience](<https://devfeed.tech/tags/experience.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [iteration](<https://devfeed.tech/tags/iteration.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [milestone](<https://devfeed.tech/tags/milestone.md>), [performant](<https://devfeed.tech/tags/performant.md>), [release](<https://devfeed.tech/tags/release.md>), [size](<https://devfeed.tech/tags/size.md>), [support](<https://devfeed.tech/tags/support.md>)

### AI overview

Apollo Client 4.0 makes several features opt-in to reduce bundle size: local state management is excluded unless imported, and a feature whose name is missing from the excerpt is no longer bundled by default when custom terminating links are used. It targets browsers from 2023 and Node.js 20+, with ESM support and improved tree-shaking; the source estimates a 20-30% reduction in Apollo Client's bundle contribution for most applications. TypeScript changes put types alongside APIs in namespaces, enforce required query variables, and replace a fragile generic with module augmentation for custom link-chain context types. The excerpt ends mid-sentence, so it does not establish the full set of changes or limitations.

### Source excerpt

We're thrilled to announce Apollo Client 4.0, a milestone release that delivers significant improvements in bundle size, TypeScript support, and developer experience. After extensive community feedback and months of iteration through release candidates, version 4.0 represents our most refined and performant Apollo Client yet. The JavaScript ecosystem has evolved dramatically since Apollo Client 3.0's release.

## @apollo/client-integration-nextjs Officially Released

DevFeed: [@apollo/client-integration-nextjs Officially Released](<https://devfeed.tech/articles/apollo-client-integration-nextjs-officially-released-23174.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/apollo-client-integration-nextjs-officially-released>)

Author: Lenz Weber-Tronic

Published: 2025-04-07T11:26:16Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Server-side rendering](<https://devfeed.tech/topics/server-side-rendering.md>)

Tags: [alpha](<https://devfeed.tech/tags/alpha.md>), [apis](<https://devfeed.tech/tags/apis.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [application](<https://devfeed.tech/tags/application.md>), [cache](<https://devfeed.tech/tags/cache.md>), [colocation](<https://devfeed.tech/tags/colocation.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [integration](<https://devfeed.tech/tags/integration.md>), [introduced](<https://devfeed.tech/tags/introduced.md>), [nextjs](<https://devfeed.tech/tags/nextjs.md>), [queries](<https://devfeed.tech/tags/queries.md>), [race-conditions](<https://devfeed.tech/tags/race-conditions.md>), [stable](<https://devfeed.tech/tags/stable.md>)

### AI overview

The Apollo Client integration for Next.js is described as stable after nearly two years of testing and production use, with the earlier hydration race-condition concerns not reported in the wild. The package name has changed from an experimental name to a stable one, so existing users need to update imports; the names themselves are omitted from the supplied excerpt. A new implementation supports multipart responses, enabling query preloading in RSC and cache rehydration. The described approach combines fragment colocation and streaming SSR to render available results early, then handles later requests on the client through the normalized cache. Setup guidance is referenced for RSC and SSR, but its details are not included here.

### Source excerpt

Exciting News: Officially Released! After almost two years of testing, gathering user feedback, and refining our approach, we're thrilled to announce that has been released as a stable package with the new name . This milestone marks a significant achievement for the Apollo Client community 🎉 A Brief History of Apollo Client + Next.js When we first started working on this integration, we were concerned about potential race conditions during hydration with how Next.js works.

## More resilient code with data masking in Apollo Client 3.12

DevFeed: [More resilient code with data masking in Apollo Client 3.12](<https://devfeed.tech/articles/more-resilient-code-with-data-masking-in-apollo-client-3-12-23460.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/more-resilient-code-with-data-masking-in-apollo-client-3-12>)

Author: Jerel Miller

Published: 2024-12-10T09:47:59Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [data-masking](<https://devfeed.tech/tags/data-masking.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [performant](<https://devfeed.tech/tags/performant.md>), [query](<https://devfeed.tech/tags/query.md>), [react](<https://devfeed.tech/tags/react.md>), [render](<https://devfeed.tech/tags/render.md>)

### AI overview

Apollo Client 3.12 introduces data masking to expose each component only to fields requested by its query or fragment. This can prevent implicit dependencies: in the excerpt's example, a component breaks after another component removes a publish-date field that it had been relying on indirectly. Masking makes the missing data visible at the component boundary. It also encourages colocated GraphQL fragments, read with the useFragment hook; the source says components then re-render only when fields used by their fragment change. Enable masking with the option set to true on the Apollo Client instance. The supplied excerpt ends during the enablement explanation, so it does not establish further configuration details.

### Source excerpt

We are excited to announce the release of Apollo Client 3.12, which primarily focuses on data masking. When building complex applications today, Apollo Client users are leveraging GraphQL fragments to make their applications more maintainable. Data masking leverages fragments to help you write more resilient and performant code. What is data masking? Data masking enforces that only the fields requested by a component in a query or fragment are available to it.

## Effortless Data Fetching: Introducing Apollo Connectors for REST APIs

DevFeed: [Effortless Data Fetching: Introducing Apollo Connectors for REST APIs](<https://devfeed.tech/articles/effortless-data-fetching-introducing-apollo-connectors-for-rest-apis-23280.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/effortless-data-fetching-introducing-apollo-connectors-for-rest-apis>)

Author: Robert Walters

Published: 2024-12-05T14:00:17Z

Content type: tutorial

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [Apollo Connectors](<https://devfeed.tech/topics/apollo-connectors.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>), [apollo-client](<https://devfeed.tech/topics/apollo-client.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo-connectors](<https://devfeed.tech/tags/apollo-connectors.md>), [backend](<https://devfeed.tech/tags/backend.md>), [client](<https://devfeed.tech/tags/client.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [resolvers](<https://devfeed.tech/tags/resolvers.md>), [rest-apis](<https://devfeed.tech/tags/rest-apis.md>)

### AI overview

Apollo Connectors let a GraphQL backend fetch REST API data without custom resolver code, reducing the code developers need to write. The excerpt demonstrates a React client using Apollo GraphQL Client to query a CurrencyAPI-backed service; the client query remains unchanged, while the backend setup described requires a GraphQL schema and connector configuration rather than REST-fetching resolvers. Following the demo requires a CurrencyAPI key, an Apollo account, Apollo Rover CLI, and configuration in Apollo Studio and project files. The article says Connectors were in preview when it was written in November 2024, with general availability anticipated in early 2025. The supplied excerpt ends during setup, so it does not show the complete configuration or execution steps.

### Source excerpt

Writing resolvers for REST APIs has been a rite of passage for developers working with GraphQL, but what if there were an easier way? Meet Apollo Connectors. As shown in Figure 1, Apollo Connectors mitigate the need to write code that connects to and returns data from REST APIs, reducing code surface area and time so you can focus on the business problem you're trying to solve.

## What's new in Apollo Client 3.11

DevFeed: [What's new in Apollo Client 3.11](<https://devfeed.tech/articles/what-s-new-in-apollo-client-3-11-23584.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/whats-new-in-apollo-client-3-11>)

Author: Jerel Miller

Published: 2024-07-23T11:21:52Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [React](<https://devfeed.tech/topics/react.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>)

Tags: [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [react](<https://devfeed.tech/tags/react.md>), [release](<https://devfeed.tech/tags/release.md>), [subscriptions](<https://devfeed.tech/tags/subscriptions.md>)

### AI overview

Apollo Client 3.11 introduces subscription API improvements, support for React 19 release candidate versions, improved React Compiler support, new Apollo Client Devtools options, and a transition from experimental schema testing utilities to the @apollo/graphql-testing-library package.

### Source excerpt

With the release of Apollo Client 3.11, we're excited to announce a number of features and improvements. Here is what you can expect in Apollo Client 3.11: - A number of improvements to Apollo Client's subscription APIs such as access to in Suspense-enabled hooks, the ability to forward extensions in , a new option for , and a new function for . - Support for React 19 release candidate versions with improved React Compiler support. - New Apollo Client Devtools options.

## Optimizing Data Fetching with Apollo Client: Leveraging useFragment and Colocated Fragments

DevFeed: [Optimizing Data Fetching with Apollo Client: Leveraging useFragment and Colocated Fragments](<https://devfeed.tech/articles/optimizing-data-fetching-with-apollo-client-leveraging-usefragment-and-colocated-fragments-23477.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/optimizing-data-fetching-with-apollo-client-leveraging-usefragment-and-colocated-fragments>)

Author: Tyler Goelz

Published: 2024-05-10T10:50:08Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [cache](<https://devfeed.tech/tags/cache.md>), [components](<https://devfeed.tech/tags/components.md>), [fetching](<https://devfeed.tech/tags/fetching.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [maintainability](<https://devfeed.tech/tags/maintainability.md>), [performance](<https://devfeed.tech/tags/performance.md>), [react](<https://devfeed.tech/tags/react.md>), [relay](<https://devfeed.tech/tags/relay.md>), [responsibility](<https://devfeed.tech/tags/responsibility.md>)

### AI overview

The excerpt presents Apollo Client's useFragment hook with colocated fragments as a way to keep data needs declared near the components that use them without making those components responsible for fetching. Earlier colocated-fragment approaches still relied on parents passing fragment data through props or components accessing the cache manually; useFragment provides direct access to fragment data in Apollo's normalized cache. The author says this helped their team reduce over-fetching and improve maintainability while preserving the practice of querying only needed data. The hook was introduced in Apollo Client 3.7 and stabilized in 3.8. The supplied text ends mid-sentence, so it does not provide the full implementation or results.

### Source excerpt

When building complex applications today, Apollo Client users typically reach for to get data to their components. This is no surprise as this is considered a best practice by the Apollo Client documentation. However, this can cause challenges while trying to minimize over-fetching while maintaining a clear separation of concern.

## What's new in Apollo Client 3.10

DevFeed: [What's new in Apollo Client 3.10](<https://devfeed.tech/articles/what-s-new-in-apollo-client-3-10-23583.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/whats-new-in-apollo-client-3-10>)

Author: Lenz Weber-Tronic

Published: 2024-04-25T12:26:16Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [api](<https://devfeed.tech/tags/api.md>), [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [react](<https://devfeed.tech/tags/react.md>), [resolvers](<https://devfeed.tech/tags/resolvers.md>), [schema](<https://devfeed.tech/tags/schema.md>), [stable](<https://devfeed.tech/tags/stable.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [tools](<https://devfeed.tech/tags/tools.md>), [vanilla-javascript](<https://devfeed.tech/tags/vanilla-javascript.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

Apollo Client 3.10 adds experimental schema-based testing utilities that let tests alter resolvers to simulate changing results. The excerpt presents this as an alternative to the existing testing approach and says the schema can be used with Mock Service Worker or another new option to simulate a GraphQL server; both approaches use the real link chain instead of a mocked one. It also adds a function to the client class for using hook functionality in vanilla JavaScript or other frameworks. Finally, an API introduced as alpha in 3.9 is now stable; it starts a query outside React, such as in a router action, and later attaches to the generated result with a hook.

### Source excerpt

Apollo Client 3.10 has just been released, and we want to provide you with an overview of what's new: - Introducing new experimental schema-based testing utilities - New API: - reaches "stable" status Let's take a look: Introducing new experimental schema-based testing utilities In Apollo Client 3.10, we are introducing new schema-based testing utilities under the import. This adds two new tools: You can modify the resolvers inside your tests to simulate changing results.

## What's new in Apollo Client 3.9

DevFeed: [What's new in Apollo Client 3.9](<https://devfeed.tech/articles/what-s-new-in-apollo-client-3-9-23585.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/whats-new-in-apollo-client-3-9>)

Author: Alessia Bellisario

Published: 2024-01-31T12:27:45Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [3](<https://devfeed.tech/tags/3.md>), [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [features](<https://devfeed.tech/tags/features.md>), [fetching](<https://devfeed.tech/tags/fetching.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [interaction](<https://devfeed.tech/tags/interaction.md>), [memory](<https://devfeed.tech/tags/memory.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [release](<https://devfeed.tech/tags/release.md>), [user-interaction](<https://devfeed.tech/tags/user-interaction.md>), [what-s-new](<https://devfeed.tech/tags/what-s-new.md>)

### AI overview

Apollo Client 3.9 adds a hook for starting Suspense-enabled queries in response to user interaction, plus a way to preload queries outside React before components render. Preloading returns a reference used to read data and suspend while loading, while keeping components current with cache updates; this feature is alpha and may change before 3.10. The release also introduces a hook that exposes handlers for a given query, and includes memory-use optimizations spanning more than twenty memory-related pull requests. The excerpt's opening list mentions multipart subscription network adapters for Relay and urql and other improvements, but does not provide details about them.

### Source excerpt

With the release of Apollo Client 3.9, we're excited to announce a host of new features and improvements, including: - Suspense-enabled data fetching in response to user interaction with - Preloading data outside of React with and - Memory usage optimizations - A new hook for accessing and for a given - Multipart subscriptions network adapters for Relay and urql - improvements Let's dive in!

## Apollo Client 3.9 Feature Spotlight - The memory story

DevFeed: [Apollo Client 3.9 Feature Spotlight - The memory story](<https://devfeed.tech/articles/apollo-client-3-9-feature-spotlight-the-memory-story-23154.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/apollo-3-9-beta-feature-spotlight-the-memory-story>)

Author: Lenz Weber-Tronic

Published: 2023-12-20T16:02:32Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>), [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [Cache](<https://devfeed.tech/topics/cache.md>)

Tags: [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [beta](<https://devfeed.tech/tags/beta.md>), [cache](<https://devfeed.tech/tags/cache.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-leaks](<https://devfeed.tech/tags/memory-leaks.md>)

### AI overview

Apollo Client 3.9 beta fixes multiple memory leaks and adds granular control over internal cache sizes. The maintainers describe how they used artificially scaled benchmarks, large heap dumps, and Facebook's memlab tool to find leaks they could not reproduce locally. A long-running issue had accumulated reports of different leaks without reproductions, making investigation difficult; the original reporter later said upgrading to 3.6.0 and following another user's recommendation fixed their problem. The release also deprecates canonizeResults because of an associated conceptual memory leak the maintainers say cannot be fixed. The excerpt does not include the requested guidance on choosing default cache sizes.

### Source excerpt

Apollo Client 3.9 is out in beta now, and it fixes various memory leaks, adds granular control over internal cache sizes, and deprecates the canonizeResults option due to a conceptual and non-fixable memory leak associated with it. We want your help to find the correct default cache sizes - see the last paragraph for details on that. The memory story Sometimes, in an open source project, you have that issue that sticks around for a long time because it's not clear how you would tackle it.

## Apollo Client Office Hours with Alessia Bellisario

DevFeed: [Apollo Client Office Hours with Alessia Bellisario](<https://devfeed.tech/articles/apollo-client-office-hours-with-alessia-bellisario-23176.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/apollo-client-office-hours-with-alessia-bellisario>)

Author: Dylan Anthony

Published: 2023-11-08T17:46:38Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [client library](<https://devfeed.tech/topics/client-library.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Discord](<https://devfeed.tech/topics/discord.md>)

Tags: [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [office-hours](<https://devfeed.tech/tags/office-hours.md>), [process](<https://devfeed.tech/tags/process.md>)

### AI overview

Apollo Client maintainer Alessia Bellisario describes improving the library's release process as the team grew, making it easier to ship bug fixes, features, and other improvements. In this excerpt from an October 6, 2023 Apollo Discord office-hours conversation with Jeff Auriemma, she also mentions working on defer support. The excerpt ends before the release process is explained, so its mechanics and tradeoffs are not established here.

### Source excerpt

Alessia Bellisario and Jeff Auriemma talk about Apollo Client. Originally streamed in Apollo's Discord on October 6, 2023. Transcript Jeff: Alright. We're back at office hours after a bit of a hiatus. This is really exciting. Welcome back to everybody who's joined us before, welcome to anybody who's joining us for the first time. This is Apollo Maintainer Office Hours, focusing on Apollo Client today, and we're really excited to talk to you about that. I'm Jeff, Jeff Auriemma.

## Apollo Client 3.8 Adds React 18 Suspense Integration and New Data-Fetching Features

DevFeed: [Apollo Client 3.8 Adds React 18 Suspense Integration and New Data-Fetching Features](<https://devfeed.tech/articles/wait-for-it-announcing-apollo-client-3-8-with-react-suspense-integration-23570.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/wait-for-it-announcing-apollo-client-3-8-with-react-suspense-integration>)

Author: Jerel Miller

Published: 2023-08-07T12:07:43Z

Content type: release

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [React](<https://devfeed.tech/topics/react.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>)

Tags: [announcement](<https://devfeed.tech/tags/announcement.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [errors](<https://devfeed.tech/tags/errors.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [react](<https://devfeed.tech/tags/react.md>), [react-hooks](<https://devfeed.tech/tags/react-hooks.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

Apollo Client 3.8 introduces React 18 Suspense integration with three new React hooks, along with query document transforms, automatic removal of fields from variables, improved error extraction, type-safe query skipping, and selective update skipping.

### Source excerpt

Today we're thrilled to announce the release of Apollo Client 3.8 with long-awaited support for React 18's Suspense features! This is our biggest minor release yet and is jam packed with lots of great features and updates. This release is a culmination of 16 alphas, 8 betas, and 3 release candidates. Thank you to everyone who has tried the new features and provided us with valuable input!

## Office Hours: Apollo Client

DevFeed: [Office Hours: Apollo Client](<https://devfeed.tech/articles/office-hours-apollo-client-23472.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/office-hours-apollo-client>)

Author: Patrick Arminio

Published: 2023-06-30T10:04:05Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>)

Tags: [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [discord](<https://devfeed.tech/tags/discord.md>), [engineering-manager](<https://devfeed.tech/tags/engineering-manager.md>), [germany](<https://devfeed.tech/tags/germany.md>), [ios](<https://devfeed.tech/tags/ios.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [office-hours](<https://devfeed.tech/tags/office-hours.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [redux](<https://devfeed.tech/tags/redux.md>), [rtk](<https://devfeed.tech/tags/rtk.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

This office-hours recording opens with Apollo Client maintainers Jeff Auriemma and Lenz Weber-Tronic introducing their roles and backgrounds. The excerpt then turns to TypeScript: Lenz says he wants to understand its compiler more deeply, describing advanced type behavior as something learned through experimentation because it is not fully documented beyond a certain level. The supplied text ends mid-sentence, so it does not establish any further discussion or practical guidance.

### Source excerpt

Here we are with another episode of our office hours! We have a recording of the stream below, where Jeff Auriemma and Lenz Weber-Tronic discuss all about Apollo Client! Join the Discord server, now so you don't miss future office hours! Transcript Jeff Hey everybody, welcome back. I'm Jeff, Jeff Auriemma. My pronouns are he and him. I'm the engineering manager for the Apollo client maintainers for web, iOS and Kotlin here at Apollo.

## Don't Overreact! Introducing Apollo Client's new @nonreactive directive and useFragment hook

DevFeed: [Don't Overreact! Introducing Apollo Client's new @nonreactive directive and useFragment hook](<https://devfeed.tech/articles/don-t-overreact-introducing-apollo-client-s-new-nonreactive-directive-and-usefragment-hook-23405.md>)

Original publisher: [Read original article](<https://www.apollographql.com/blog/introducing-apollo-clients-nonreactive-directive-and-usefragment-hook>)

Author: Alessia Bellisario

Published: 2023-06-15T08:53:00Z

Content type: article

Language: en

Sources: [Apollo Blog](<https://devfeed.tech/sources/apollo-blog.md>)

Topics: [apollo-client](<https://devfeed.tech/topics/apollo-client.md>), [React](<https://devfeed.tech/topics/react.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [apollo-client](<https://devfeed.tech/tags/apollo-client.md>), [cache](<https://devfeed.tech/tags/cache.md>), [fragments](<https://devfeed.tech/tags/fragments.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [lag](<https://devfeed.tech/tags/lag.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [performance](<https://devfeed.tech/tags/performance.md>), [react](<https://devfeed.tech/tags/react.md>), [render](<https://devfeed.tech/tags/render.md>), [rendering](<https://devfeed.tech/tags/rendering.md>), [skip](<https://devfeed.tech/tags/skip.md>)

### AI overview

Apollo Client 3.8 beta introduces `@nonreactive` to mark query fields or fragments whose cache changes should not trigger a re-render, and `useFragment` to provide a live cache binding that broadcasts fragment results to individual components. In a list rendered from a watched query, updating one user can re-render the parent and all child rows, including unchanged ones. The excerpt presents the new techniques as ways to let child components update without re-rendering the parent, individually or together. It also cautions that `memo` has a prop-comparison cost and cites frequent renders with unchanged props and expensive rendering as criteria for considering that optimization.

### Source excerpt

Efficient React apps are selective in their re-rendering, using a variety of techniques (such as ) to skip re-rendering unchanged components. With the beta release of Apollo Client 3.8, we're excited to spotlight a couple of new techniques to help you re-render exactly the components that you need to: - The directive: mark GraphQL query fields and fragments that shouldn't trigger a re-render if their cached value changes.

[Next page](<https://devfeed.tech/topics/apollo-client.md?cursor=WyIyMDIzLTA2LTE1VDA4OjUzOjAwKzAwOjAwIiwgIjlhZWFkNzMwLWJkMDQtNDVlOC1iZTViLTMzYjY2ZDY2MzY5MSJd>)