3 ms·
_Context: I do front-end and back-end, so I'm usually the one who ends up maintaining the GraphQL server_. The vast majority of people who've used GraphQL have
by andrewingram 4y ago
_Context: I do front-end and back-end, so I'm usually the one who ends up maintaining the GraphQL server_.
The vast majority of people who've used GraphQL haven't used it with something like Relay; and in my mind that means they haven't used GraphQL in a way that really shows off its strengths. This isn't to say that GraphQL doesn't have any benefits without Relay, but rather that the cost/benefit scale only really tip heavily towards benefits if you're using it to solve the problems it was intended to solve -- that of reliably getting a component's data dependencies into the component.
Every time I use GraphQL without Relay I find myself questioning whether it's adding anything except complexity, every time I use Relay (other than the initial architecture build, on-ramp is steep) it feels great. Relay's learning curve and poor documentation is really unfortunate, because the difference is quite pronounced.