logoalt Hacker News

hokumguru • today at 1:18 AM • 1 reply • view on HN

Any of them relay? I find the way almost everybody does graph QL outside of Facebook just kind of sucks. It is very clearly meant to be done in a relay fashion with component scoped fragments, but all I've ever seen is gross giant page level queries that break often.


Replies

collingreen • today at 2:22 AM

I haven't ever succumbed to graphql but this is what I see as the value -- with this approach you can have your components declare the data they need and automatically get that composed and delivered magically (from the front end perspective). It never felt worth it on any project I've worked on but if you aren't doing this part then it seems like a lot of pain for almost no benefit.