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
saitamajs
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
dtsuji
October 14, 2021
Programming
1.6k
0
Share
saitamajs
dtsuji
October 14, 2021
Other Decks in Programming
See All in Programming
t *testing.T は どこからやってくるの?
otakakot
1
680
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
250
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
340
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
220
🦞OpenClaw works with AWS
licux
1
110
Making the RBS Parser Faster
soutaro
0
410
Angular Signal Forms
debug_mode
0
110
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
180
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
370
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
290
The Less-Told Story of Socket Timeouts
coe401_
3
390
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
150
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
110
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
380
Darren the Foodie - Storyboard
khoart
PRO
3
3.3k
The Cult of Friendly URLs
andyhume
79
6.8k
Done Done
chrislema
186
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.8k
Navigating Weather and Climate Data
rabernat
0
170
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
So, you think you're a good person
axbom
PRO
2
2k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Transcript
2021 - 1 0 - 1 4 1 9 :
3 0 ~ Saitama.js react-rails Daisuke Tsuji@dim 06 27
https://twitter.com/dim 0 62 7
react-rails https://github.com/reactjs/react-rails Rails View React
API n+ 1 `render collection` View View `react_component` React Component
API n+ 1 API React View
Component Props `camelize_props` View ActiveRecord `as_json(include: xxx)`
Component Rails View `react_component` React Component React Component render React
Component -> Props
CSS Rails CSS React React CSS API Rails CSS React
Rails CSS
SPA Rails API API View API + Next.js CRA Rails
erb React
Rails react-rails Rails API
JS