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
Universal Applications
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Stepan Parunashvili
March 19, 2016
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Universal Applications
Building Universal Applications, Delivered at FE Day in Guangzhou
Stepan Parunashvili
March 19, 2016
More Decks by Stepan Parunashvili
See All by Stepan Parunashvili
Scaling React Applications
stopachka
2
140
Engineering Growth
stopachka
0
87
Universal Applications
stopachka
1
110
ES2015 & React
stopachka
0
87
ES2015
stopachka
0
92
Other Decks in Programming
See All in Programming
Web3Dライブラリを作ってVue Custom Rendererの仕組みを理解しよう / lets learn vue custom renderer by making 3d library
drumath2237
1
130
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
310
AmebaブログはKMPから卒業します
kmars0605
0
340
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.5k
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
170
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
420
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.8k
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
220
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.8k
Apple Intelligenceとオンデバイス時代の到来
yahir0
0
240
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
4
1.5k
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.7k
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
1
660
Crafting Experiences
bethany
1
430
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
590
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
970
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1.1k
Why Our Code Smells
bkeepers
PRO
340
58k
Test your architecture with Archunit
thirion
2
2.5k
Tell your own story through comics
letsgokoyo
1
1.1k
WENDY [Excerpt]
tessaabrams
14
40k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.8k
Typedesign – Prime Four
hannesfritz
42
3.2k
Transcript
Universal Applications Stepan Parunashvili 1
@stopachka www.stepanp.com 2 笳茯
Universal Applications 3
Isomorphic? 4
5
6
7
Isomorphic 8
Universal 9
10
...2015 11
...2014 12
...2013 13
...2012 14
...2011 15
...2010 16
...2009 17
2008 18
19
20 v2.2.2
21
22
23 javascript?
24 鉖᯾牦
25
26 routing validation views
27 routing validation views c00l animations
28 routing validation views c00l animations (in some browsers...b^.^d)
29
30
2009... 31
2010 32
33
34 v0.1.0
35
36
37
38
39 routing validation views
40 ...routing ...validation ...views routing validation views
41
42
43
is it just the way things are? 44
45
46
47 routing validation views
48
49 what if we made our own representation of the
dom...
...React! 50
win 1: code sharing 51
win 2: perceived performance 52
win 3: SEO 53
Can we build this? 54
ٵ॓ԧ牫 55
56 server.js
57 server.js
58 server.js
59 server.js
60
61
62 server.js
63 server.js
64 server.js
65
Time to react 66
67 components.js
68 server.js
69 server.js
70 server.js
71 server.js
72
73 components.js
74 components.js
75 components.js
76
77 server.js
78 server.js
79 server.js
80 load client side react client.js
81
...Now the views are shared 82
What's the catch? 83
build tools (webpack, babel & family) 84
Time to route 85
86 client.js
ReactRouter 87
88 server.js
let's disable universal rendering for now 89
90 server.js
91 server.js
92 components.js
93 load client side react components.js
94 load client side react routes.js
95 load client side react client.js
96 load client side react client.js
show it working 97
98
99
disable js 100
101 server.js
102 server.js server.js
103 server.js server.js
104 server.js server.js
105 server.js server.js
show it working 106
How about stores? 107
108 client.js
109 client.js
110 client.js
111 client.js
112 client.js
113 client.js
114 server.js server.js
115 server.js server.js
116 server.js server.js
initial data 珌牫 117
118 client.js
119 client.js
120 server.js
121 server.js
122 server.js
123 server.js
124 server.js
125 server.js
ok, ok....ݢฎ... 126
How about data fetching? 127
128 api.js
129 api.js
130 components.js
131 components.js
132 server.js
133 server.js
134 server.js
135 server.js
/home -> /page/2 ? 136
137 client.js
138 client.js
139 client.js
...but there's a library for that 140
react-resolver 141
is it all rosy? 142
not really 143
but the payoff? 144
145
146
147
148 routing validation views
wait... single-threaded-backend? 149
ClojureScript. 150
ClojureScript. Boom 151
so.. 152
Build Declaratively 153
Question assumptions 154
Questions? 155