News for hackers. Stuff that matters.
Re:Ride down into JavaScript dependency hell by smitty1e on Saturday April 11, 2020 @09:56AM (#22841689)
Inviting the question of why the culture hasn't sprouted a "package rationalizer" to produce a curated, tested, noise-filtered distribution of useful functionality.

Come to think of it, something that does for packages what jQuery did to bring (some) sanity to browser incompatibilities.

Re:Ride down into JavaScript dependency hell by ng12 on Saturday April 11, 2020 @01:26PM (#22842826)
Because we can't even agree on whether React or Vue or Angular is best.

In fact this is the root of the issue. It's important to realize that `node_modules` for any project in Popular Framework X will be almost identical. Most of the packages are related to compiling, bundling, and the development environment and a small minority are actual client-side dependencies. Even the frameworks themselves are pretty light -- React has a grand total of 2 dependencies. It's packaging the entire toolchain that causes most of the bloat.