TLDR Web Dev · OPINIONS & ADVICE
COMMONJS IS HURTING JAVASCRIPT
Summary from the TLDR Web Dev newsletter
The blog post on Deno's website argues that CommonJS, the module system used in Node.js, is hindering JavaScript's progress due to its synchronous loading and lack of native browser support. It suggests that ECMAScript modules (ESM), which support asynchronous loading and are browser-compatible, are a superior alternative. The post advocates for a complete transition to ESM to better align with modern JavaScript development and the shift towards cloud primitives.