DEV Community

Cover image for Facing the Monster: An Analgesic for Relayphobia

Facing the Monster: An Analgesic for Relayphobia

Mauricio Vieira on April 08, 2024

In all these years of building interfaces with React, I used Apollo whenever I needed to consume an API made with GraphQL, mainly because it's a li...
Collapse
 
mauricioabreu profile image
Maurício Antunes

Nice write-up! It's comprehensible even for someone who is entirely focused on backend development, like myself. Congratulations

Collapse
 
brunoeduardodev profile image
Bruno Eduardo de Souza Medeiros

amazing tutorial!
can’t wait to try relay myself!

Collapse
 
lemoscaio profile image
Caio Lemos

Great job on this article, Mauricio!

The config reminds me a lot of how React Query from Tanstack works, especially because of how we need to configure the query provider, which is essentially an abstraction of what Relay requires doing manually.

And that query part with the auto-generated types... chef's kiss. I like having a well-organized code and I can already imagine how clean can we make each query and each component.