Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
es6-in-production
Search
pramendra
September 22, 2017
Technology
0
85
es6-in-production
pramendra
September 22, 2017
Tweet
Share
More Decks by pramendra
See All by pramendra
Why not React Native - JP
pramendra
3
1.1k
Why not React Native - EN
pramendra
0
300
Consulting in 2020
pramendra
0
82
Other Decks in Technology
See All in Technology
Haskell を武器にして挑む競技プログラミング ─ 操作的思考から意味モデル思考へ
naoya
7
1.6k
Lessons from Migrating to OpenSearch: Shard Design, Log Ingestion, and UI Decisions
sansantech
PRO
1
150
re:Invent 2025 ~何をする者であり、どこへいくのか~
tetutetu214
0
230
Sansanが実践する Platform EngineeringとSREの協創
sansantech
PRO
2
950
.NET 10の概要
tomokusaba
0
120
Fashion×AI「似合う」を届けるためのWEARのAI戦略
zozotech
PRO
2
880
RAG/Agent開発のアップデートまとめ
taka0709
0
190
NIKKEI Tech Talk #41: セキュア・バイ・デザインからクラウド管理を考える
sekido
PRO
0
160
GitHub Copilotを使いこなす 実例に学ぶAIコーディング活用術
74th
3
3.5k
学習データって増やせばいいんですか?
ftakahashi
2
510
ExpoのインダストリーブースでみたAWSが見せる製造業の未来
hamadakoji
0
160
MLflowダイエット大作戦
lycorptech_jp
PRO
1
140
Featured
See All Featured
Information Architects: The Missing Link in Design Systems
soysaucechin
0
700
Game over? The fight for quality and originality in the time of robots
wayneb77
1
59
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
400
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
45
Claude Code のすすめ
schroneko
65
200k
The Power of CSS Pseudo Elements
geoffreycrofte
80
6.1k
Evolving SEO for Evolving Search Engines
ryanjones
0
71
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
0
270
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Technical Leadership for Architectural Decision Making
baasie
0
180
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
86
Transcript
ES6 in Production Pramendra Gupta
ES6(ES2015)
const test = ({id, user}) => <h1><span>{id}</span>{user}</ h1>; ES6(ES2015)
const test = ({id, user}) => <h1><span>{id}</span>{user}</h1>; "use strict"; var
test = function test(_ref) { var id = _ref.id, user = _ref.user; return React.createElement( "h1", null, React.createElement( "span", null, id ), user ); }; ES6 ES5
We ship fallback to support legacy browser
Browser Support
Disadvantage of ES5 File Size Parse Time big large Debug
hard
None
<script type="module" />
None
async/await Classes Arrow functions Promises Map Set ES6 modules support
lands in browsers <script type="module" />
Advantage of ES6 version size(min+gzipped) parse time ES5 40k 360ms
ES6+ 20k 170ms File Size Parse Time small low Debug easy
ES6 Rocks
How do we use <!DOCTYPE html> <html> <head> <title>ES6 in
Production</title> <script type="module" src="bundle.js"></script> </head> <body> <div id="app"></div> <script nomodule src="bundle-legacy.js"></script> </body> </html>
Demo https://github.com/pramendra/es6-in-production