4 ms·
The only way for this deluge to stop is when big packages adopt a ‘as little deps as possible’ attitude. React clearly did so with only 22 deps, it’s time for o
by Epskampie 6y ago
The only way for this deluge to stop is when big packages adopt a ‘as little deps as possible’ attitude. React clearly did so with only 22 deps, it’s time for others like webpack to do the same.
- rumanator 6y agoThat, or for the JavaScript community to get their shit together and start investing in a modular standard library a kin of C++'s Boost to bundle basic functionality.
- the-dude 6y agoSmells like jQuery.
- rumanator 6y ago> Smells like jQuery. It does, if all you care about is mainly DOM stuff. That usecases is taken out of the table once you adopt any framework such as React, Vue, Angular, etc.
- alkonaut 6y agoShouldn’t TypeScript be able to do this without caring about JS? If TypeScript had a reasonable standard library (at least the size of the Java/.NET libraries) and these were tree-shaken down when compiling, wouldn’t that go a long way?
- praveen9920 6y agoMost of the "utility" deps you see in js eco-system are fragmented by opinions So basically if I don't agree on your way of doing things, easy, I will just create a new module and publish it. Things get real messy when hierarchy of modules use different modules. Having basic functionality may fix it in long term but it will bring a huge rift in js community.
- unnameduser1 6y agoIt’s coming from tools or libraries trying to implement too many things in one. Or developers loading a huge library where they just need a tiny feature. This happens on many languages.