Powerful GraphQL with Super Charged Data Fetching
Wednesday, July 27, 2022 - 3:30 PM UTC, for 1 hour.
Regular, 60 minute presentation
Room: African 80
GraphQL is a popular technology for building APIs, and with a large ecosystem, it is easier than ever to get GraphQL servers up and running. Though when building graphs, with dozens, or even thousands of interrelated types, structuring resolvers to be maintainable and performant can be a challenge. In this live coding session, Tyler will elaborate on these challenges, and will explore a pattern that results in GraphQL type independence, maintainability, and performance at scale. We will use tools like Dataloader, hyper Data, and hyper Cache to super charge our data fetching, transforming a poor performing graph into a maintainable performant graph.
Prerequisites
- JavaScript, in particular Promises - A basic knowledge of GraphQL, both querying and building GraphQL servers - Memoization/Caching
Take Aways
- Learn how to structure types in a graphql project
- Learn how to efficiently fetch data to power your resolvers
- Learn how to use tech such as dataloader to build testable and maintainable graphql resolvers