3 ms·
JavaScript’s modules only changed because the toolchain rapidly iterated several times over the course of a decade. Most languages don’t see this kind of churn.
by dexwiz 3y ago
JavaScript’s modules only changed because the toolchain rapidly iterated several times over the course of a decade. Most languages don’t see this kind of churn. Even then the migration is at best partial.
- Zanfa 3y agoI've been fighting JS/TS because I went with ESM over CJS for one of my new projects. It's an endless minefield of configuration issues, crappy-to-none support from widely used libraries and half-baked tooling. There's also generally no (up to date at least) documentation, so most knowledge comes from random Github issues with magical incantations to copy-paste into your configs. I must have wasted weeks worth of time on this busywork and there's no end in sight since any new library might accidentally trigger some new edge case. So yeah, I'd agree with saying the migration is partial at best.