1. React
  2. ReactNext
  3. 2016
  4. High Performance GraphQL

High Performance GraphQL

Barak Chamo at ReactNext 2016

DataLoader is the missing piece in the React-Relay-GraphQL stack, a utility for caching and coalescing data queries to optimize large, nested GraphQL queries. Digging through it's internals and in turn, JavaScript's internal asynchronous model, we'll see how DataLoader leverages Node's event loop and micro task management to coalesce database calls and dramatically improve upon caveats in common GraphQL-based apps.