Hacker News new | ask | show | jobs
by fabiospampinato 1983 days ago
I'd suggest to anybody wanting a thin wrapper over the DOM to just go with Cash [1] instead, which I maintain.

Cash is largely a drop-in replacement for jQuery Slim at a significantly smaller size (~6kb vs ~24kb min+gzip).

The methods listed in youmightnotneedjquery.com are a little simplistic/buggy at times and not tested, if you just need a single method from jQuery it would probably be a better idea to simply copy/paste it from Cash.

[1]: https://github.com/fabiospampinato/cash