News for hackers. Stuff that matters.
Re:You might not need jQuery (2014) by nickjj on Thursday January 14, 2021 @07:12AM (#25775450)
> Is saving 10-15 lines worth it if you need an 86.1 Kb vendor dependency?

There's projects like https://umbrellajs.com/ which are very similar to jquery's APIs for DOM manipulation and it's only 2.5kb gzipped.

IMO it's a nice balance between having a convenient API without bringing in the world.

If I could write 2-5x less code and it's easy to remember I would make that trade off every time.

There are no comments on this comment yet.