⚠️ THIS PROJECT HAS BEEN DEPRECATED ⚠️
Please note that 4.0.0 is the final version of all React Apollo packages. React Apollo functionality is now directly available from @apollo/client
>= 3. While using the @apollo/react-X
packages will still work, we recommend using the following imports from @apollo/client
directly instead:
- old:
@apollo/react-components
--> new:@apollo/client/react/components
- old:
@apollo/react-hoc
--> new:@apollo/client/react/hoc
- old:
@apollo/react-ssr
--> new:@apollo/client/react/ssr
- old:
@apollo/react-testing
--> new:@apollo/client/testing
- old:
@apollo/react-hooks
--> new:@apollo/client
Moving forward, all Apollo + React issues / pull requests should be opened in the apollo-client repo. Please refer to the Apollo Client migration guide for more details.
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