DEV Community

Which GraphQL client do you use, and why?

Frederik 👨‍💻➡️🌐 Creemers on April 01, 2019

In one of my side projects, I'm currently using Apollo Client, but I'm starting to find writing the code to update the cache after a query or mutat...
Collapse
 
sibelius profile image
Sibelius Seraphini

Relay can handle most updates after mutations, you can easily use updater to handle adding and removing edges from a connection

All queries are static so you gonna have much less weird behaviors when updating relay store/cache

Collapse
 
ianfabs profile image
Ian Fabs • Edited

You should change the title from "... GraphQL query..." to "...GraphQL query client..." also you should use jraph. It is not feature-complete, and only makes queries.

Collapse
 
_bigblind profile image
Frederik 👨‍💻➡️🌐 Creemers

Derp, I messed up on the title, thanks for noticing. Will check out jraph.

Collapse
 
ianfabs profile image
Ian Fabs

no problem! Let me know what you think of jraph :-)

Collapse
 
guico33 profile image
guico33

Why do you need to manually update the cache?