/react-apollo

:recycle: React integration for Apollo Client

Primary LanguageTypeScriptMIT LicenseMIT

React Apollo

React Apollo

npm version Build Status Join the community on Spectrum

⚠️ Deprecation Notice ⚠️

Please note that as of version 4.0.0 you should prefer to import React hooks and testing utilities from @apollo/client. While we still have separate @apollo/react-hooks and @apollo/react-testing packages for ease of migration, they are no longer under active development, as they simply re-export from @apollo/client. React Apollo's graphql HOC (@apollo/react-hoc) and render proper components (@apollo/react-components) are in maintenance mode, meaning they will continue to receive important bug fixes, but will not be updated with new functionality.

React Apollo allows you to fetch data from your GraphQL server and use it in building complex and reactive UIs using the React framework. React Apollo may be used in any context that React may be used. In the browser, in React Native, or in Node.js when you want to do server-side rendering.

Documentation

All Apollo Client documentation, including React Apollo usage articles and helpful recipes, lives on https://www.apollographql.com/docs/react/

For the React Apollo API reference, visit https://www.apollographql.com/docs/react/api/react-apollo.html

Maintainers