3 ms·
Can anyone compare use of Relay + Apollo? I've used Relay extensively but never tried Apollo.
by Rodeoclash 10y ago
Can anyone compare use of Relay + Apollo? I've used Relay extensively but never tried Apollo.
- linkmotif 10y ago+1. If anyone has tried both, please share your experience!
- andrewingram 10y agoRelay has some nicer ergonomics when it comes to composing queries from fragments for different components, and the mutation behaviour is a bit more "magic", but both of these benefits come with some serious restrictions on what you can do. The next version of Relay looks like it'll do away with this approach, bringing it closer in line with how Apollo does things right now. I'm a heavy user of Relay (been using it since it was first open-sourced around 18 months ago), but given that it's going to be changing quite a bit in the near future, I think newcomers to GraphQL are going to be better off with Apollo for now.
- linkmotif 10y agoThanks. Yes I too am using soon-to-be classic Relay. I've enjoyed transitioning to Relay.GraphQLMutation and can't say I miss the fat query. So Relay "modern" will be like Apollo... interesting.
- sergiotapia 10y agoA nice birds-eye view comparison can be found here: https://stackshare.io/stackups/apollo-vs-relay https://stackshare.io/stackups/apollo-vs-relay