News for hackers. Stuff that matters.
Re:Gov.uk drops jQuery from their front end by savanaly on Thursday May 19, 2022 @11:10AM (#31435711)
I would say jQuery has a place in any codebase that's simple enough it has imperative statements like that. Past a certain not-too-high level of complexity you're much better off writing "if (condition) then <element> else null" in your view and "condition = false" in your update instead of even the short $('#element').hide();.

There are no comments on this comment yet.