Re:Google Docs will now use canvas based rendering
by LorenzA on Wednesday May 12, 2021 @10:03AM
(#27130433)
in general a lot of dom-nodes can reduce performance and with canvas you have much more control over what and how things get rendered. I would assume this is also nothing new or "special" afaik google spreadsheets is using canvas for years under the hood with some dom for nicer ux
[ Parent
| on HN ]
Re:Google Docs will now use canvas based rendering
by zozbot234 on Wednesday May 12, 2021 @10:19AM
(#27130619)
"A lot of dom nodes" is not inherently problematic if you do not insist on twiddling them individually in a JS for-loop. Other than that, it's just HTML - and plain HTML/CSS rendering is blazing fast.