r/ProgrammerHumor 2d ago

Meme ancientTools

Post image
5.8k Upvotes

387 comments sorted by

View all comments

Show parent comments

82

u/grimonce 2d ago

This has never been an issue with jQuery lol

18

u/uniqueusername649 2d ago

He means the script is loaded and run before the DOM was rendered. Bit of a stretch calling that hydration, because you usually only would call it that if the HTML was prepared via SSR or SSG, not if its a fully static HTML from the start. And even if it would be applicable, its not about the rock not having been hydrated yet but it not having rendered yet, so the "hydration" fails because of it.

28

u/brqdev 2d ago

We use onload/ready event and put JQuery code inside, so the JQuery code will run when the page is ready

16

u/WHALE_PHYSICIST 2d ago

Kinda crazy to be talking about jQuery in 2026 and not know that

11

u/brqdev 2d ago

Cause they know framework not Javascript itself.

3

u/--TYGER-- 2d ago

I expect that the people coding against a Typescript web framework have less knowledge / no knowledge of how a browser actually runs a web page. Instead, they have spent their time gaining knowledge about the build systems and such that turn ts into js for the browser.

2

u/uniqueusername649 2d ago

Agree. I know that stuff because I started learning web development in the 90s and have seen many changes come and go (most people would remember marquee on almost every website back then - less people might remember XML+XSLT to create websites, which was never fully supported). If I learned web development in the last 10 years, I doubt I would know how the execution works in the browser and all the annoying quirks that come with it. They are fortunately abstracted away. Even back then nobody wanted to deal with it, we just had no choice. Everyone built their own libs to deal with it, until jQuery emerged. That was such a massive step forward.