World Congress 2024 Aug 20, 2024 Session details

Oh CommonJS! Why are you mESMing with me?

Jolo

Tired of ESM and CommonJS clashes? The JavaScript ecosystem is moving on. Embrace native ECMAScript Modules to slash bundle sizes and eliminate technical debt.

Pause
Mute Enter Fullscreen
#1 about 6 min

Diagnosing unexpected token export errors in Jest test runners

Upgrading dependencies can trigger syntax errors when CommonJS test runners encounter modern ESM-only packages.

#2 about 2 min

Implementing module systems to scale server-side JavaScript execution

Splitting and reusing code becomes necessary as JavaScript execution shifts to complex server environments.

#3 about 3 min

Comparing CommonJS and ECMAScript module syntax and execution behaviors

Synchronous require statements in legacy CommonJS contrast with the asynchronous import standards of modern ECMAScript modules.

#4 about 2 min

Analyzing module system adoption trends across the package ecosystem

Despite most packages relying on older standards, the wider developer ecosystem shows a clear adoption trend toward native modules.

#5 about 5 min

Benchmarking execution speed and bundle size across module systems

Effective tree shaking makes bundled ECMAScript modules significantly smaller and faster to execute than CommonJS equivalents.

#6 about 6 min

Migrating legacy toolchains to native ECMAScript standard environments

Transitioning workflows to native modules and modern alternatives like Vitest eliminates ongoing legacy compatibility overhead.

Matching moments

5:14 min

Addressing production environments, module tests, and ecosystem compatibility

Daniel Roe · JS Congress

4:20 min

JavaScript runtime competition and built-in features

2:28 min

Expected features and performance defaults in modern JavaScript frameworks

Sasha Shynkevich · LIVE

3:47 min

Embracing composable architecture within the modular JavaScript framework ecosystem

Josh Goldberg · JS Congress

3:49 min

Evolution and dominance of full stack JavaScript ecosystems

Michael Bromley · WWC 2022

3:06 min

Backward compatibility issues between CommonJS and ES6 modules

Priscila Oliveira · WWC 2023

Upcoming sessions on this topic

Open session

World Congress 2026 North America

When Humans Stop Writing Code: Rethinking Languages, Compilers, and Responsibility

Simon Auer

Organizer of flutter vienna meetup and CEO of marqably

Simon Auer
Open session

World Congress 2026 North America

Testing React Backends Like a Pro: Mocking Databases with SQLite

David Morris

Solution Architect

David Morris
Open session

World Congress 2026 North America

Beyond Vibe Coding: An AI Builder’s Guide to Migrating 10k+ React Components

Shubham Chaurasia

Senior Software Engineer @ Meta

Shubham Chaurasia
Open session

World Congress 2026 North America

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, Paweł Matynia

Bartosz Leczycki
Paweł Matynia
Open session

World Congress 2026 North America

Stop Running Mystery Meat in Production

Jeroen van Erp

Technical Advocate @ SUSE

Jeroen van Erp
Open session

World Congress 2026 North America

Merging at Scale: From Broken Builds to Green Mainline

Preetam Dwivedi, Manjari Akella

Preetam Dwivedi
Manjari Akella