News for hackers. Stuff that matters.
Re:You might not need jQuery (2014) by braveyellowtoad on Thursday January 14, 2021 @06:24AM (#25775069)
You seem to know quite a bit about this, do you know why there isn't some sort of a "compile" phase where the jquery examples wouldn't be translated into the minimum js equivalent? Seems like then you could get the same syntax and minimum size.
Re:You might not need jQuery (2014) by arp242 on Thursday January 14, 2021 @06:37AM (#25775176)
You mean translating jQuery to "native JS"? I suppose it's possible, but I don't know if anyone built anything for it.

All I know is that you can build a custom jQuery build with grunt, as described in their README, which is what I do. I mostly use JavaScript as if the last ten years didn't happen, so I'm hardly an expert on any of this :-)