Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JavaScriptures 4.1 - Relay
Search
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
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
120
アクセシビリティから考える情報設計
high_g_engineer
0
330
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
760
20260828_品質と開発生産性を両立させる、AI時代のE2Eテストの考え方
magicpod
0
170
FastAPI の並行処理モデルを完全に理解する
hoto17296
9
3.8k
高専キャリア LT 発表内容
crysta1221
6
5.6k
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
140
PyO3 で既存 Python 評価器を Rust core 化する ー wasm-bindgen でブラウザにも配るための設計
kdash
1
560
新卒PdEのリアル
ryu1013
1
470
「AI時代、配布するPythonコードをどう守るか: 難読化の実験と判断軸」 #PyconJP2026
pkshadeck
PRO
2
180
AIと壁打ちしながら進めるコスト管理
fufuhu
2
2k
GraphRAGのKnowledge Graphを 直接!見る/View-GraphRAG's-KnowledgeGraph-directly!
tyumugi1113
1
270
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
210
Technical Leadership for Architectural Decision Making
baasie
3
560
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
250
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.2k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
680
Marketing to machines
jonoalderson
1
5.8k
Exploring anti-patterns in Rails
aemeredith
3
500
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
Between Models and Reality
mayunak
4
450
Test your architecture with Archunit
thirion
2
2.4k
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