How to use Apollo Client with the view layer your application is developed in!
Apollo Client's built-in React support allows you to fetch data from your GraphQL server and use it in building complex and reactive UIs using the React framework. Apollo Client 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 server side render.
Apollo Client, unlike some other tools in the React ecosystem, requires no complex build setup to get up and running. As long as you have a GraphQL server you can get started building out your application with React immediately. Apollo Client's React functionality works out of the box with both
- apollo-elements includes support for Lit,
hybrids, and Polymer, as well as providing class mixin functions so you can integrate Apollo into vanilla elements or any other web component library. Apollo Elements is maintained by Benny Powers (@bennypowers).
- polymer-apollo is a separate Polymer integration maintained by Arun Kumar T K (@aruntk).