How JS Modules work: a Browser Perspective
watch on portal.gitnation.org ↗https://portal.gitnation.org/contents/how-js-modules-work-a-browser-perspectivesummary
Explains how JavaScript modules are implemented in browsers, covering loading mechanics, module records, and the module map, and how modules are loaded and evaluated compared with CommonJS. Discusses adoption and performance challenges and techniques like lazy loading, dynamic import, and import reflection; includes a humorous Q&A anecdote about taking a shirt from the DOM team.
AI-written summary · about
related talks
31mECMAScript Modules: Past, Present, and Future
47mNative JavaScript Modules: import {Browsers, Node.js}; export {production};
46mThe journeyman’s guide to modules in Node.js
39mNative JavaScript modules- import {Browsers, NodeJs}; export {production};
45mLoading Modules Everywhere!
41mThe future is modules not frameworks. JS modules Architecture demo.
48mESM: EcmaScript Modules in browser and NodeJS. It's about time!
22mPlease wait... loading: a tale of two loaders