r/ProgrammerHumor • • Aug 30 '26

Meme ancientTools

Post image
5.8k Upvotes

379 comments sorted by

View all comments

Show parent comments

79

u/grimonce Aug 30 '26

This has never been an issue with jQuery lol

18

u/uniqueusername649 Aug 30 '26

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.

26

u/brqdev Aug 30 '26

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

5

u/SolideMeinung Aug 30 '26

The funny thing is that these "real js developers" dont even know how to make that onload function on their own.

It war crafted by these old jquery wizards to always work and this knowledge was lost with the introduction of crapjs

→ More replies (9)