Benefits of GraphQL
Queries
Mutations
Subscriptions
This is a simple query
This is a simple mutation
Calling Mutations with Variables
...and this is a subscription
Setting up Apollo Client in your React or React Native Project
All queried data is available in the props of the same component !!
GraphQL Clients
GraphQL Servers
A package that enables you to build a production-ready GraphQL.js schema using the GraphQL schema language
A production-ready Node.js GraphQL server library that supports Express, Connect, Hapi, Koa, and other popular Node HTTP servers, with built-in features like persisted queries, batching, and more. Apollo Server works with any GraphQL client, like Apollo, Relay, and more.
Limitations
What we used
GraphCool
Apollo Client
Native Base
For the Chat App...
QUERIES
MUTATIONS
SUBSCRIPTIONS
Dedicated to Rishabh Jain and Shivraj
Questions?