Hacker News new | ask | show | jobs
by krapp 2750 days ago
>Also since the code has to be downloaded (or uploaded to small lambdas, for example), JS developers are generally weary of depending on large libraries.

Isn't a dependency tree of thousands of small, interdependent libraries essentially just a large, distributed library?

Is there really a benefit to that versus compiling those dependencies to a single file, especially given how many NPM packages are just a single small function? The end result in many cases would probably be smaller than a lot of old JQuery plugins.

1 comments

> Isn't a dependency tree of thousands of small, interdependent libraries essentially just a large, distributed library?

Yes and it's a thousand times worse than a single, large library.