News for hackers. Stuff that matters.
Re:You-Dont-Need-Lodash-Underscore by Izkata on Friday August 09, 2019 @01:48PM (#20656684)
> In frontend dev, I get that this means forcing users to download a library, but for many use cases 4 kb gzipped isn't a big deal (esp if CDNs are involved).

How about 0kb?

Whatever happened to shared-resource URLs, where there was a good chance the library was already cached?

Re:You-Dont-Need-Lodash-Underscore by zdragnar on Friday August 09, 2019 @02:12PM (#20656931)
Your breaks or has minimal functionality if the CDN is down.

Your site loads slowly if the CDN is under load

Your users are now leaked to the CDN (privacy issue)

Of course, if the resource is cached, it's less of an issue, but it's still an issue. If you don't care about those things, go ahead.