DEV Community

Cover image for Getting started with React + GraphQL

Getting started with React + GraphQL

Tomek Poniatowicz on March 19, 2019

How to implement GraphQL in a React app? Let's use React Apollo. This lib will allow you to fetch data from GraphQL server and use it the React fra...
Collapse
 
daniel15 profile image
Daniel Lo Nigro

Have you compared Apollo to Relay, or to lightweight GraphQL libraries like urql? I'd be curious as to the advantages of Apollo over Relay, and vice versa.

Collapse
 
tomekponiat profile image
Tomek Poniatowicz • Edited

Do not have much experience with Relay, but I think Apollo's biggest advantage (over Relay) is being more elastic and having a much lower entry barrier.

Collapse
 
junibrosas profile image
Juni Brosas

A Github repository for the tutorial is always a nice to have :)

Collapse
 
adeyemiadekore2 profile image
korey 🇳🇬

Thanks,
formerly using react-redux, but with apollo and graphQL the automatic data binding to my component is just too sweet.