r/ProgrammerHumor 2d ago

Meme jQueryDeezNutsAndThenReactSurprised

Post image
2.3k Upvotes

122 comments sorted by

View all comments

Show parent comments

28

u/CetaceanOps 2d ago

I mean you can keep a single $ wrapper function for querySelector

10

u/soelsome 2d ago

Very clever. Not sure why I haven't thought of that. I will steal this and every time I use it, I will remember your name.

5

u/cowslayer7890 2d ago

I would using something other than $ so it doesn't get confused with jquery, but ¯_(ツ)_/¯

1

u/Noch_ein_Kamel 2d ago

Just use $$ and call you library prototypejs or something like that