A while ago I came across an article indicating that Google was planning to switch to using the Canvas API for Google Docs. This let to some contemplation as to why Google is doing this and what this could mean for the future of the web.
So why have we been using the DOM? The DOM was originally intended to display documents. It wasn’t really intended to allow for complex applications like WYSIWYG editors. For one updating the DOM is rather slow, although frameworks like Angular, React, and Vue.js are able to significantly optimize (effectively minimize changes to) the DOM. Another problem is that web standards don’t specify, to the pixel level, how the DOM should be rendered. This results in (usually small) rendering differences between different browsers. Not a problem for a blog post, but not ideal if you want the on-screen representation match exactly the on-paper result.