Demystifying Code Bundling with JavaScript Modules - Simple Thread
What is JavaScript bundling? What are ECMAScript Modules? This article explains how we got here and removes some of the trepidation in using ESM today.
Worried you’ll miss us? Subscribe to get our articles and updates in your inbox. --> When I first began learning about web development in 2007, I had never heard of compiling JavaScript before deploying it to websites. The idea of JavaScript modules had not been formally introduced. At the time JavaScript was only about a decade old and the Chrome browser wouldn’t come out for another year. Those were simpler days when web developers wrote directly for browsers. In the early 2000s it was common practice to write just one main script for an entire website. Dependencies were in separate files th
saved by
related reading
- Modules | webpackwebpack.js.org
- ES modules: A cartoon deep-dive - Mozilla Hacks - the Web developer bloghacks.mozilla.org
- Modules :: Eloquent JavaScripteloquentjavascript.net
- The new wave of Javascript web frameworksfrontendmastery.com
- CommonJS effort sets JavaScript on path for world domination - Ars Technicaarstechnica.com
- The Descent — What Happened to the Frontend While You Weren't Watchingdavidpoblador.com
- Behind The Scenes of Bun Install | Bun Blogbun.com
- The emperor’s new clothes were built with Node.js | Notesnotes.ericjiang.com
- Tree shaking - Glossary | MDNdeveloper.mozilla.org
- 7 Principles of Rich Web Applicationsrauchg.com
- Navigating the future of frontendfrontendmastery.com
- Making Sense of React Server Components • Josh W. Comeaujoshwcomeau.com