I would say it makes it easier overall. You ignore the fact that you have to be writing types and TypeScript. The reason we're annoyed with common JS right now is because we have all of this interrupt that we have to do between the module formats. So by having a spec, they can implement it in Node.js, in Dino, in the Cloudflare workers, in the browser,. But then also people were not using things in the browser. To the point where a lot of people think like maybe ESM was a mistake, because there was nothing wrong with common JS.
In this episode of Syntax, Wes and Scott talk through what ESM is, and why you want to move your projects to ESM.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats