3 ms·
I think perhaps the biggest problem is the lack of a flat dependency system. So not only does your project depend on isArray, it may depend on 5 different versi
by vlunkr 9y ago
I think perhaps the biggest problem is the lack of a flat dependency system. So not only does your project depend on isArray, it may depend on 5 different versions of it. The sheer number of deps a seemingly normal React app has is crazy. Especially with webpack, babel, etc.
- lugrugzo 9y agoNpm3 has flat dependency system.
- mstade 9y agoIt doesn’t. It has a deduping system, which may still leave you with multiple versions installed if there are incompatible version requirements in the dependency tree. A flat system would mean there’s only ever a single version installed. Or at least, I think that’s what OP means, since that’s the only definition I’ve ever heard.
- Kamshak 9y agoIt's what was there with bower but that has a lot of problems as well. So many in fact that everyone has moved to npm