Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
JavaScriptures 4.1 - Relay
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Artsy Open Source
April 11, 2018
Programming
0
280
JavaScriptures 4.1 - Relay
https://github.com/artsy/javascriptures/tree/master/4_intro-to-relay
Artsy Open Source
April 11, 2018
Tweet
Share
More Decks by Artsy Open Source
See All by Artsy Open Source
Adding React Native to an Existing App - Artsy x React Native 2018
artsyopensource
0
650
The Artsy Omakase - Artsy x React Native 2018
artsyopensource
1
1.1k
Learning How to Learn - Artsy x React Native
artsyopensource
0
540
JavaScriptures 5 - Babel & Webpack
artsyopensource
0
620
JavaScriptures 4.2 - Local State
artsyopensource
0
580
JavaScriptures 3 - Styled Components
artsyopensource
1
460
JavaScriptures 2 - TypeScript
artsyopensource
0
390
JavaScriptures 1 - React
artsyopensource
0
400
Other Decks in Programming
See All in Programming
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
2
160
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
160
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
190
CSC307 Lecture 11
javiergs
PRO
0
580
生成AIを活用したソフトウェア開発ライフサイクル変革の現在値
hiroyukimori
PRO
0
120
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
810
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
670
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.8k
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
340
NOT A HOTEL - 建築や人と融合し、自由を創り出すソフトウェア
not_a_hokuts
2
240
Metaprogramming isn't real, it can't hurt you
okuramasafumi
0
110
AIプロダクト時代のQAエンジニアに求められること
imtnd
1
390
Featured
See All Featured
Balancing Empowerment & Direction
lara
5
910
SEO for Brand Visibility & Recognition
aleyda
0
4.3k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
65
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
130
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
180
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
650
[SF Ruby Conf 2025] Rails X
palkan
1
780
Navigating Weather and Climate Data
rabernat
0
120
Mobile First: as difficult as doing things right
swwweet
225
10k
Transcript
Relay Let there be data in the firmament JavaScriptures IV.I
Alloy
Why have an API client at all?
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
Relay A framework for data-driven React apps
Declare the data your components need with GraphQL, Relay determines
how and when to fetch your data. Declarative
GraphQL is written next to the views that rely on
them. Relay aggregates queries into efficient network requests. Colocation
Write GraphQL mutations and Relay offers automatic data consistency, optimistic
updates, and error handling. Mutations
Relay compiler uses your full GraphQL schema at compile-time to
ensure the data consistency Safety
Example
Competitors