⚠️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-testingpackages for ease of migration, they are no longer under active development, as they simply re-export from
@apollo/client. React Apollo's
@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.
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