Ask HN: Popular websites/open source projects/ that use jQuery?
I am learning JQuery and Bootstrap and I would like to read some codebases to understand how it's in done "real world". I can also try to read code of popular sites which use it using "View Source".
Google search is full of SEO articles completely unrelated to my query.
Thanks
Google search d
3 comments
[ 3.3 ms ] story [ 15.5 ms ] threadjQuery is a HACK! The cludgey kind. (One that simplified a hundred things for us over the nearly two decades.) it however doesn't fit in the new world.
Invest your time in a leading or minimalist modern responsive library unless you want to spend the next five years supporting obsolete code. (Try React, vue, etc.)
Know that jQuery and JQuery-ui are different animals.
Here's how "the pros" use jQuery:
- plug in to document ready
- selectors
- events (though we prefer modern events)
- ajax; now use native or axios.
- a consistent way everyone jacks their own code into the jQuery convention
- the ultimate hack tool for fixing others (and our own) mistakes.
It is however a mess over time, devs, and growing demands.
Nothing new should be designed depending upon it.
"View Source" will not get you far. If you mean use browser developer tools to view the js files, it will still be very very hard. Most of what you see will defy comprehension without knowing the background and design behind what is happening.