JavaScriptures 4.1 - Relay

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

10 slides
  1. Description • Provide application code with an interface abstracted away

    from network/API details • Handle authentication in a single place • Handle caching in a single place • Handle errors in a single place Responsibilities of an API client
  2. Declare the data your components need with GraphQL, Relay determines

    how and when to fetch your data. Declarative
  3. GraphQL is written next to the views that rely on

    them. Relay aggregates queries into efficient network requests. Colocation

More Decks by Artsy Open Source

Other Decks in Programming