Re:jQuery Is Seriously Underrated
by wruza on Sunday February 02, 2025 @12:54AM
(#42906325)
Wrong, it’s a lie some people forced years ago. “DOM manipulation” boils down to setting attributes and reordering children. It works the same for everyone cause it’s a browser API.
React, Vue and Angular work slower because they have to actually find a difference between the last two versions of their “virtual dom” to get a set of changes to apply to existing dom elements, which they then do in the same way as everyone else.
React, Vue and Angular work slower because they have to actually find a difference between the last two versions of their “virtual dom” to get a set of changes to apply to existing dom elements, which they then do in the same way as everyone else.