Articles
Over 3000 developers participated in the first “State of GraphQL” survey, and the results are finally in. If you’re interested in GraphQL (which I assume you are, otherwise, why did you subscribe ?), check out the results!
There’s a common problem with GraphQL, the N+1 Query. The power of GraphQL makes it a perfect storm for triggering N+1 Queries in a web framework. The team at Popmenu devised a solution that harnesses ActiveRecord’s association reflection system and a helpful tool supplied by the graphql gem, the lookahead, to solve this issue.
Whether for testing or more independent development, mocking a GraphQL server can be incredibly useful during any phase of your projects. If you’re interested in how to use GraphQL Mesh for this purpose, read up!
Tools & Open Source
It’s been 5 months since The Guild launched GraphQL Hive, and they just reached the next milestone on their journey: Hive is now open source and available for anyone to host their own instance.
Videos
Learn how to create Apollo Client middleware for updating request headers sent to your API using React context.