Earlier quoted context omitted.
SECURITY
Yet it would still run Windows Adware edition. =3
jQuery 4
111–120 of 313 posts
Re: jQuery 4
#112is there any reason to use jquery if you've never used it before
Re: jQuery 4
#113Even after migrating to ES modules, jQuery is still somewhat bloated. It is 27 kB (minified + gzipped) [0]. In comparison, Preact is only 4.7 kB [1]. [0]: https://bundlephobia.com/package/jquery@4.0.0 [1]: https://bundlephobia.com/package/preact@10.28.2
> Preact is only 4.7 kB Is there some outlier place where people using virtual DOM frameworks don't also include 100-200kb of "ecosystem" in addition to the framework? I suppose anything is possible, but I've never actually seen it. I have seen jQuery only sites. You get a lot for ~27kB.
Re: jQuery 4
#11415+ years ago I wrote a tutorial for french people about using jQuery, it got a lot of views. I hope it helped spread jQuery.
Re: jQuery 4
#115Earlier quoted context omitted.
These days I’ve moved to native JS, but hot damn the $() selector interface was elegant and minimal vs document.getElement[s]by[attribute)]. While presumably jquery is slower than native selectors, maybe that could be pre-computed away.
jQuery but gets compiled out like svelte... Not a bad idea at all.
Re: jQuery 4
#116Earlier quoted context omitted.
jQuery but gets compiled out like svelte... Not a bad idea at all.
I hate to sound like a webdev stereotype but surely the parsing step of querySelector, which is cached, is not slow enough to warrant maintaining such a build step.
Re: jQuery 4
#117Still one of my favourite libs on the whole planet. I will always love jQuery. It is responsible for my career in (real) companies. Live on jQuery! Go forth and multiply!
Re: jQuery 4
#118Nice to see it still around and updated. The sad part is I guess this means React will be around in 2060.
What's wrong with React? It made it so much better to build apps vs. spaghetti jQuery. I still have nightmares about jeeping track of jQuery callbacks
Re: jQuery 4
#119Re: jQuery 4
#120Earlier quoted context omitted.
There's also React Native Web
I'm sorry what
It requires a strong design system and it probably makes it harder to use some web APIs but those can be reasonable tradeoffs