News for hackers. Stuff that matters.
Re:Show HN: X-spreadsheet – A JavaScript canvas spreadsheet ... by c-smile on Monday January 28, 2019 @09:26PM (#19023171)
All DOM update and layout algorithms are O(N) complex (at best). So as less DOM elements you have as more responsive your UI is.

As an ultimate solution - to remove DOM at all and replace it by <canvas>. Minimization of updates is developer's business in this case. Presumably he/she will be able to do it better other than to walk through all DOM elements while handling, say this:

   html:hover span { color:red; }
Re:Show HN: X-spreadsheet – A JavaScript canvas spreadsheet ... by nine_k on Monday January 28, 2019 @10:29PM (#19023474)
You only need as many DOM nodes as it takes to cover the viewport.

You can style them such a way that updates do not cause re-layout, except for auto-sized cells.