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
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JavaScriptures 4.1 - Relay
https://github.com/artsy/javascriptures/tree/master/4_intro-to-relay
Artsy Open Source
April 11, 2018
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
690
The Artsy Omakase - Artsy x React Native 2018
artsyopensource
1
1.2k
Learning How to Learn - Artsy x React Native
artsyopensource
0
590
JavaScriptures 5 - Babel & Webpack
artsyopensource
0
640
JavaScriptures 4.2 - Local State
artsyopensource
0
610
JavaScriptures 3 - Styled Components
artsyopensource
1
490
JavaScriptures 2 - TypeScript
artsyopensource
0
410
JavaScriptures 1 - React
artsyopensource
0
420
Other Decks in Programming
See All in Programming
高専キャリア LT 発表内容
crysta1221
6
5.5k
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
420
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
810
이 함수, 실패하면 어떻게 되나요? null부터 Rich Errors까지, Kotlin 에러 처리 15년
haeti2
0
120
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
250
リアルな遅延を測る仕様
kota_yata
1
140
My Marp Sample
sinoue0108
0
140
DynamoDBの基礎を振り返りながらベクトル検索機能を理解する
musan
3
260
承認済みなのに差戻しできてしまうバグ、型で潰せます
shinchit
0
130
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
230
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
Building an Out-of-Order CPU
latte72
0
580
Featured
See All Featured
Embracing the Ebb and Flow
colly
88
5.2k
How GitHub (no longer) Works
holman
316
150k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
390
Six Lessons from altMBA
skipperchong
29
4.5k
30 Presentation Tips
portentint
PRO
1
390
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
It's Worth the Effort
3n
188
29k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
300
Become a Pro
speakerdeck
PRO
31
6.2k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
310
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