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
660
The Artsy Omakase - Artsy x React Native 2018
artsyopensource
1
1.1k
Learning How to Learn - Artsy x React Native
artsyopensource
0
560
JavaScriptures 5 - Babel & Webpack
artsyopensource
0
620
JavaScriptures 4.2 - Local State
artsyopensource
0
590
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
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
550
Nostalgia Meets Technology: Super Mario with TypeScript
manfredsteyer
PRO
0
110
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
300
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
610
見せてもらおうか、 OpenSearchの性能とやらを!
shunta27
1
100
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
440
20260313 - Grafana & Friends Taipei #1 - Kubernetes v1.36 的開發雜記:那些困在 Alpha 加護病房太久的 Metrics
tico88612
0
230
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.2k
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.4k
ロボットのための工場に灯りは要らない
watany
11
3.1k
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
3.1k
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
790
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
170
From π to Pie charts
rasagy
0
160
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Embracing the Ebb and Flow
colly
88
5k
We Are The Robots
honzajavorek
0
200
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
320
Believing is Seeing
oripsolob
1
94
Claude Code のすすめ
schroneko
67
220k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
52k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
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