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
260
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
560
The Artsy Omakase - Artsy x React Native 2018
artsyopensource
1
970
Learning How to Learn - Artsy x React Native
artsyopensource
0
490
JavaScriptures 5 - Babel & Webpack
artsyopensource
0
510
JavaScriptures 4.2 - Local State
artsyopensource
0
480
JavaScriptures 3 - Styled Components
artsyopensource
1
410
JavaScriptures 2 - TypeScript
artsyopensource
0
370
JavaScriptures 1 - React
artsyopensource
0
380
Other Decks in Programming
See All in Programming
大LLM時代にこの先生きのこるには-ITエンジニア編
fumiyakume
7
2.9k
Rollupのビルド時間高速化によるプレビュー表示速度改善とバンドラとASTを駆使したプロダクト開発の難しさ
plaidtech
PRO
1
170
Sharing features among Android applications: experience feedback
jbvincey
0
110
Building a macOS screen saver with Kotlin (Android Makers 2025)
zsmb
1
150
地域ITコミュニティの活性化とAWSに移行してみた話
yuukis
0
240
Make Parsers Compatible Using Automata Learning
makenowjust
1
4.5k
MCP調べてみました! / Exploring MCP
uhzz
2
2.3k
Making TCPSocket.new "Happy"!
coe401_
1
870
Java 24まとめ / Java 24 summary
kishida
3
500
AI Agents with JavaScript
slobodan
0
230
Youtube Lofier - Chrome拡張開発
ninikoko
0
2.4k
ComposeでWebアプリを作る技術
tbsten
0
110
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
It's Worth the Effort
3n
184
28k
KATA
mclloyd
29
14k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
40
7.2k
Making the Leap to Tech Lead
cromwellryan
133
9.2k
Java REST API Framework Comparison - PWX 2021
mraible
30
8.5k
Writing Fast Ruby
sferik
628
61k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.3k
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