Native JavaScript modules- import {Browsers, NodeJs}; export {production};
summary
Covers native JavaScript modules in modern browsers and Node.js, focusing on module language features, performance characteristics, and techniques for lazy-loading modules to change bundling and code execution.
AI-written summary · about
chapters (21)
- 0:00Intro
- 1:24First attempt: external JS files
- 1:58Async Module Definition
- 2:41CommonJS
- 3:22ECMAScript Modules
- 4:30ESM implementation timeline
- 11:09ESM Features
- 12:42Differences with class scripts
- 13:47Modules loading order
- 15:47Module loading process
- 16:51Handling circular dependencies
- 17:42ES module path
- 18:30Package name maps
- 19:13Dynamic import
- 20:23DEMO: Lazy load of Bootstrap scripts on
- 21:25ESM in Node.js
- 23:23NPM package entries
- 24:13import.meta
- 26:50Other types of scripts
- 33:05Unit Testing
- 34:55Proven usage of ESM
related talks
47mNative JavaScript Modules: import {Browsers, Node.js}; export {production};
48mESM: EcmaScript Modules in browser and NodeJS. It's about time!
22mPlease wait... loading: a tale of two loaders
33mES6 Modules in the Real World
31mECMAScript Modules: Past, Present, and Future
24mNavigating the Wild Seas of Native ES Modules
34mNode.js: Path to ES6 modules
46mES Modules: The next revolution?
