Web site Developer I Advertising and marketing I Social Media Advertising and marketing I Content material Creators I Branding Creators I Administration I System Resolution
The README for Money is easy:
Money is an absurdly small jQuery different for contemporary browsers (IE11+) that gives jQuery-style syntax for manipulating the DOM. Using trendy browser options to reduce the codebase, builders can use the acquainted chainable strategies at a fraction of the file measurement. 100% characteristic parity with jQuery isn’t a purpose, however Money comes helpfully shut, overlaying most each day use instances.
6 KB minified and gzipped, which is even smaller than Zepto. Zepto’s complete level was a smaller jQuery, but it surely hasn’t been touched in a bunch of years, so there may be that too.
I’m wondering how a lot smaller Money could be if it dropped IE 11 assist.
jQuery continues to be huuuuugggggeeee, solely only recently having peaked in utilization and displaying indicators of decline. That should be as a result of it comes on most WordPress websites, proper?! That’s like 42% of all websites proper there.
Anyway, if you happen to have a tendency to achieve for jQuery only for some convincing, Money appears like a pleasant different. I don’t blame you both. Typing
$ as a substitute of
doc.querySelectorAll nonetheless feels good to me, to not point out all the opposite fanciness tucked behind that greenback signal perform.
Additionally price mentioning: if you happen to’re trying to straight-up take away jQuery from a venture, replace-jquery could be price a glance:
Robotically discover jQuery strategies from current tasks and generate vanilla js options.