4 ms·
Why is all the GraphQL documentation so tightly coupled with either Apollo or Relay? Apollo doesn't work nice with a non-react setup (imhe), not to start about
by neoeldex 8y ago
Why is all the GraphQL documentation so tightly coupled with either Apollo or Relay?
Apollo doesn't work nice with a non-react setup (imhe), not to start about Relay itself.
All the Relay server side stuff makes the client also really boilerplaty.
I don't think i'd buy this book, since it's also apollo stained.
Does someone have good resources on how to use vanilla GraphQL without the bloated Apollo/Relay stuff?
I'm currently working on a GraphQL server (using Graphene), and thankfully I'm able to not use Relay (with which it tightly integrates). So I'm able to implement my own pagination and filters.
- Waterluvian 8y agoAlso if it's the new REST then it absolutely cannot be language specific, let alone library specific.
- andrewingram 8y agoRelay (Modern) doesn't require any of the Relay-specific schema patterns. But most of them (connections, the node interface) are useful enough to want to use anyway. That said, I agree that too much of the documentation/articles/tutorials about how to use GraphQL assumes using a particular implementation. I'm far more interested in talking about higher-level concerns like best practices and data modelling.
- lorendsr 8y agoChapters 1-5 are apollo-free! And the queries and mutations used in the apollo client chapters are applicable outside apollo.