No Strings Attached: JavaScript without Webpack, Transpilers, or Frameworks
summary
Demonstrates that ES2015+ features run natively so a jQuery app is rewritten to use let/const, classes, arrow functions, destructuring, spread/rest, fetch, async/await and native modules via script type="module"; builds a tiny confirm/ask app and a migrated users page that run in Chrome, Firefox and Edge. For IE11 the workflow uses Babel to transpile modules to AMD and polyfills and a no-module fallback that loads a RequireJS legacy bundle so one codebase serves modern browsers and IE successfully.
AI-written summary · about
chapters (10)
- 0:00Start
- 5:59let/const fix the problems with var
- 12:31Stay classy, San Diego
- 18:06OOH! What's this!
- 22:39Do you promise?
- 33:56PROMISES! ASYNC! AWAIT!
- 36:35Just give me the rest!
- 37:32Rest that object
- 38:30Spread 'em!
- 39:32Makin' copies...
related talks
30mTowards a simpler JavaScript ecosystem
56mJavaScript Patterns for 2017
44mJavaScript in 2017: You might (not) need a framework
40mJavaScript: the new parts
41mJavaScript in 2016
54mModern JavaScript For Web Dinosaurs
23mParty like it's 1999, write JavaScript like it's 2012
34mTowards a simpler JavaScript ecosystem
