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
ES2015 & React
Search
Stepan Parunashvili
December 18, 2015
Technology
0
64
ES2015 & React
Talk on ES2015, and react at futureadvisor
Stepan Parunashvili
December 18, 2015
Tweet
Share
More Decks by Stepan Parunashvili
See All by Stepan Parunashvili
Scaling React Applications
stopachka
2
110
Universal Applications
stopachka
0
82
Engineering Growth
stopachka
0
61
Universal Applications
stopachka
1
92
ES2015
stopachka
0
69
Other Decks in Technology
See All in Technology
スケールアップ企業でQA組織が機能し続けるための組織設計と仕組み〜ボトムアップとトップダウンを両輪としたアプローチ〜
tarappo
3
310
中央集権型を脱却した話 分散型をやめて、連邦型にたどり着くまで
sansantech
PRO
1
190
Kiroで見直す開発プロセスとAI-DLC
k_adachi_01
0
110
"作る"から"使われる"へ:Backstage 活用の現在地
sbtechnight
0
240
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Escape from Excel方眼紙 ~マークダウンで繋ぐ、人とAIの架け橋~ /nikkei-tech-talk44
nikkei_engineer_recruiting
0
170
プラットフォームエンジニアリングはAI時代の開発者をどう救うのか
jacopen
8
4.2k
AWS CDK「読めるけど書けない」を脱却するファーストステップ
smt7174
3
210
建設DXを支えるANDPAD: 2025年のセキュリティの取り組みと卒業したいセキュリティ
andpad
0
140
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
3
13k
Agent Skill 是什麼?對軟體產業帶來的變化
appleboy
0
190
スピンアウト講座06_認証系(API-OAuth-MCP)入門
overflowinc
0
720
Featured
See All Featured
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
220
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Designing for humans not robots
tammielis
254
26k
Exploring anti-patterns in Rails
aemeredith
2
290
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
240
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
210
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
300
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
160
Are puppies a ranking factor?
jonoalderson
1
3.1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
160
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Transcript
() => <React /> Stepan Parunashvili 1
2
No more waiting 3
Babel $ npm install -g babel-cli 4
ES2015 5
Arrow Functions () => 6
7
8
9
10
11
Classes class Component {} 12
13
14
15
16
Modules import User from 'user' 17
18
19
Larger Standard Library Map, Set, WeakMap, Promise... 20
Smarter Object Expressions {users} 21
22
23
24
25
26
Destructuring in arguments ({name, friends}) => console.log(name, friends) 27
28
29
30
31
Default Arguments (name = 'Bob') => console.log(name) 32
33
34
Template Strings `hello ${name}` 35
36
37
More destructuring var [first, ...rest] = users 38
39
40
41
42
43
Splat addFriends(...friends) 44
45
46
47
48
49
Block scoping: let & const let i = 0; 50
51
52
53
54
55
56
Symbols Iterators Generators 57
Async / Await var users = await getUsers(); 58
59
60
61
62
63
<React /> 64
65
Declarative > Imperative {opened ? <FriendList /> : null} 66
67
68
69
70
71
72
increment append, decrement, replace 73
Now... 74
75
76
77
78
79
Instead... 80
(data) => markup 81
82
83
84
85
Composability friends.map(friend => <Info friend={friend} />) 86
87
88
89 http://handlebarsjs.com/expressions.html
90
Separation of Concerns? 91
Coupling vs Cohesion 92
Cohesion <button onClick={this._handleClick}>Click me</button> 93
94
95
ui logic + markup are cohesive 96
97
Unit testing 98
Reusability 99
100
101
But, large apps are large 102
Keep components small 103
Keep state in a single place 104
Optimize last 105
Use Immutable Data Structures 106
107
108
109
110
111
112
There's more 113
flow redux hot reloading 114
thank you :) 115