3 ms·
I have nothing against ES modules, actually it's a good thing objectively. The problem is how it was introduced to the ecosystem with basically no official sup
by h1fra 3y ago
I have nothing against ES modules, actually it's a good thing objectively.
The problem is how it was introduced to the ecosystem with basically no official support until very recently.
First draft in 2009, official release was 2017, a very long time in the Javascript world.
Yet, Browsers have minimal support for it;
Node.js supported fully in 2020 (node 14, backported to 12);
Typescript finally became usable in 2022 (v 4.7);
etc.
On top of that, some developers arbitrarily pushed this switch to ESM with their very famous lib (eg: sindresorhus) which created a lot of frustration and forks, further more deteriorating the public opinion for ESM.
I recently created a new nodejs project in 2023, no personal issue with the modules themselves or the syntax, but still countless of issues with the tooling.