Skip to content

nelsieborja/react-apollo

Repository files navigation

React + Apollo

Technologies

Frontend

  • React - Frontend framework for building user interfaces
  • Apollo Client 2.1 - Production ready, caching GrapQL client

Backend

  • graphql-yoga - Fully-featured GraphQL Server
  • Prisma - Open-sourced GraphQL API layer that turns your database into a GraphQL API

Why GraphQL Client?

The major benefit of using a GraphQL client library is that it saves you from writing infrastructure code for networking and caching.


Apollo vs Relay

Relay is open-source built by Facebook. Despite its performance benefits, its a pretty complex framework and understanding all its bits and pieces does require some time to really get into it. The release of Relay Modern is to simplify all that, however as "they" suggested, Relay might not be the right choice yet if you're just gettting started with GraphQL.

Apollo Client is a community-driven effort to build an easy-to-understand, flexible and powerful GraphQL client. It's production-ready and has handy feature like caching, optimistic UI, subscription support and many more.


Steps


Reference

HOW TO GRAPHQL