3 ms·
Can't put the blame of one bad package on the whole community. If there is a bad package don't use it. I've seen lots of well engineered packages with zero depe
by nojvek 10y ago
Can't put the blame of one bad package on the whole community. If there is a bad package don't use it. I've seen lots of well engineered packages with zero dependencies.
E.g typescript. Entire compiler and language server. No dependencies.
Es6 is a decent library out of the box. I always only add a dependent if it's something not trivial.
A lot of the shitty packages came out before tree shaking was a thing.
There is an argument. Should you just have a large hash table of functions that you reference. Those in the bandwagon go for the one function packages.