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
Artsy Open Source
April 11, 2018
Programming
0
270
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
570
The Artsy Omakase - Artsy x React Native 2018
artsyopensource
1
990
Learning How to Learn - Artsy x React Native
artsyopensource
0
510
JavaScriptures 5 - Babel & Webpack
artsyopensource
0
540
JavaScriptures 4.2 - Local State
artsyopensource
0
490
JavaScriptures 3 - Styled Components
artsyopensource
1
430
JavaScriptures 2 - TypeScript
artsyopensource
0
370
JavaScriptures 1 - React
artsyopensource
0
390
Other Decks in Programming
See All in Programming
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
1
300
技術同人誌をMCP Serverにしてみた
74th
0
280
datadog dash 2025 LLM observability for reliability and stability
ivry_presentationmaterials
0
110
deno-redisの紹介とJSRパッケージの運用について (toranoana.deno #21)
uki00a
0
140
明示と暗黙 ー PHPとGoの インターフェイスの違いを知る
shimabox
2
280
プロダクト志向ってなんなんだろうね
righttouch
PRO
0
150
Elixir で IoT 開発、 Nerves なら簡単にできる!?
pojiro
1
150
今ならAmazon ECSのサービス間通信をどう選ぶか / Selection of ECS Interservice Communication 2025
tkikuc
16
3.2k
Java on Azure で LangGraph!
kohei3110
0
170
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
110
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1k
Team operations that are not burdened by SRE
kazatohiei
1
180
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Into the Great Unknown - MozCon
thekraken
39
1.9k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
What's in a price? How to price your products and services
michaelherold
246
12k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Faster Mobile Websites
deanohume
307
31k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Docker and Python
trallard
44
3.4k
Designing for Performance
lara
609
69k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
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