News for hackers. Stuff that matters.
Re:A proposal to add signals to JavaScript by pquki4 on Sunday March 31, 2024 @07:15PM (#39889110)
I think the previous comment discusses events in a general sense.

Frameworks batch changes so that updates are efficient, and in many cases figures out the "correct" order of doing things. If you do all of those yourself in a large and complex UI, very likely you are updating the DOM less efficiently than what frameworks are doing, and very likely you introduced some subtle bugs. Speaking of that from my first-hand experience.

There are no comments on this comment yet.