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
es6-in-production
Search
pramendra
September 22, 2017
Technology
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
es6-in-production
pramendra
September 22, 2017
More Decks by pramendra
See All by pramendra
Why not React Native - JP
pramendra
3
1.2k
Why not React Native - EN
pramendra
0
330
Consulting in 2020
pramendra
0
110
Other Decks in Technology
See All in Technology
MCPゲートウェイを作って運用してわかったこと — Agent時代の権限管理の現在地
mtpooh
10
3.2k
2026-10-01_MagicPod_QAハーネスエンジニアリングとQA組織の未来像
ynisqa1988
1
550
BedrockとLambdaで作る リアルタイム進行型推理ゲーム
kawametho
0
190
自主式軟體工廠
philipz
0
230
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
230
AI時代に必要な脅威モデリング― 変化の速度に負けない理解とリスク判断
masakane55
4
1.1k
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1k
FactoryBotアンチパターン / factory_bot anti-patterns
toshimaru
0
140
しろおびから始める!ログ活用の第一歩
shumei_ito
0
140
The seven pitfalls of AI (revised version)
ufried
0
280
Futexes the good, the bad, the ugly
ennael
PRO
0
130
Datadog の学び方 - あるいは、オブザーバビリティを学ぶとは何か
mananyuki
1
490
Featured
See All Featured
Done Done
chrislema
187
17k
How Software Deployment tools have changed in the past 20 years
geshan
2
35k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
2
2k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
530
Darren the Foodie - Storyboard
khoart
PRO
4
4k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
570
Six Lessons from altMBA
skipperchong
29
4.5k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
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