News for hackers. Stuff that matters.
Re:jQuery 4.1.0 by lofaszvanitt on Tuesday November 17, 2026 @09:32PM (#50541125)
Why? It's still the sanest choice for a site that doesnt need a bloated js "framework".
Re:jQuery 4.1.0 by skrtskrt on Tuesday November 17, 2026 @10:10PM (#50541391)
Things like Alpine, HTMX, and Datastar seem to be more in favor these days.

They have the small surface area of jQuery, but still aim for component-based reactivity and SSR-when-possible which just aligns more with the mental model and development preferences that have developed from the whole world of React/Next and similar.

Re:jQuery 4.1.0 by hax0ron3 on Wednesday November 18, 2026 @12:17AM (#50542157)
Given how good AI is at coding, I'd be tempted to just have it write vanilla Typescript that uses direct DOM manipulations unless I really wanted to leverage a framework's ecosystem of components.
Re:jQuery 4.1.0 by sgt on Wednesday November 18, 2026 @02:54AM (#50543134)
Correct, vanilla JS is widely accepted as a robust way of achieving the same. And LLMs are really good at it.

I'd still recommend keeping it at a minimum though. Rather rely on tools like htmx.

Re:jQuery 4.1.0 by azangru on Wednesday November 18, 2026 @03:00AM (#50543192)
Why would a site that does not need a bloated js framework need jQuery? What is it that jQuery brings to the table that is worth paying for in terms of making it a dependency?