gitmyhub

react-apollo

JavaScript ★ 6.8k updated 3y ago ▣ archived

:recycle: React integration for Apollo Client

React Apollo was a library that connected React web applications to GraphQL APIs. GraphQL is a way of fetching data from a server where you specify exactly what you need in a structured query, rather than calling a fixed endpoint that returns a predetermined response. React Apollo sat between a React front-end and a GraphQL server, handling the mechanics of sending queries, caching results, and keeping the UI up to date when data changed.

This repository is now deprecated. The functionality it provided has been folded directly into the main Apollo Client package, available as @apollo/client version 3 and above. The README notes the old package names and their direct replacements in the new library, covering components, higher-order components, server-side rendering utilities, testing helpers, and React hooks.

Version 4.0.0 was the final release of the standalone React Apollo packages. No further development will happen in this repository. Anyone still using the old packages is encouraged to follow the Apollo Client 3 migration guide to switch to the consolidated library. New issues and pull requests related to React and Apollo should go to the apollo-client repository instead.