3 ms·
Exactly. Even if it had 10m loc and 10k dependencies, that’s not a problem at first sight. In fact, the 1.5k dependencies in this example is a drop in the buck
by breck 8y ago
Exactly. Even if it had 10m loc and 10k dependencies, that’s not a problem at first sight.
In fact, the 1.5k dependencies in this example is a drop in the bucket when you consider all the dependencies that your react app needs to do anything useful (http, dns, tcp, ip, browsers, OS’s, et cetera).
I’m not defending React here, I don’t know enough about it, I’m just saying 1.5k dependencies for a hello world app might be bad, but it depends on the details.
- fendy3002 8y agoAnd repeating as usual, it is caused by lack of standard library for js environment. All of things mentioned could've been packaged into 1-2 dependencies. But instead we need to independently add each one. Similar case with babel and webpack, that each plugins (and loader) is a separate dependency. I don't know if it's more efficient or modular for development, but it is surely bloat the packages.