4 ms·
I asked in a friend the same question & got this article in reply: “Google Docs switches to Canvas rendering, sidelining the DOM”, https://thenewstack.io/google
by mch82 5y ago
I asked in a friend the same question & got this article in reply: “Google Docs switches to Canvas rendering, sidelining the DOM”, https://thenewstack.io/google-docs-switches-to-canvas-rendering-sidelining-the-dom/ https://thenewstack.io/google-docs-switches-to-canvas-render...
So, no, I actually meant it as a real question and am curious what reasons people have. My suspicion is people aren’t aware of the Canvas API. People tend to use the technologies they know instead of taking a beat to look around and learn.
- speedgoose 5y agoGoogle docs has a very specific rendering system, and I'm not sure whether the full interface is using canvas.
- 1123581321 5y agoThe answer is still that relying on the benefits of the document model still makes sense for a lot of applications. It doesn’t matter whether a given engineer has experience with Canvas or not as much when the default choice (DOM) fits majority of use cases. Familiarity with Canvas API may actually endanger a project if an engineer advocating for it doesn’t understand the tradeoffs involved.