3 ms·
I have recently started learning React and I am following the lessons in www.hotwographql.com. I am trying to decide which GraphQL library to use for the practi
by soflete 9y ago
I have recently started learning React and I am following the lessons in www.hotwographql.com. I am trying to decide which GraphQL library to use for the practical exercise. Should I go for Relay or Apollo?
Also, I have been working as an Android developer for the last couple of years, and I was wondering how similar are the React and Android implementations of Apollo.
- nikolasburk 9y agoHow to choose between Relay & Apollo is one of the most common questions people ask when they get started with GraphQL! In general, it definitely depends on your project and what you're optimizing for. Relay is very mature and heavily optimized for performance, however, it's not very easy to understand and comes with a notable learning curve. Apollo on the other hand is a community-driven effort to build a very flexible GraphQL client that still offers a powerful and intuitive API. I'd actually suggest you try to go through both tutorials on How to GraphQL and see which one feels better for you :) PS. In case you weren't aware of it - the second GraphQL Radio episode had Lee Byron and Joe Savona (both from Facebook/Relay) as well as Sashko Stubailo and Jonas Helfer (both from Apollo) as guests: www.graphqlradio.com
- ismaelbej 9y agoI've found that Apollo stack is more user friendly for learning. I didn't try in a production environment, but unless there's a huge difference in performance I'd use Apollo.