logoalt Hacker News

k__yesterday at 1:24 PM1 replyview on HN

I think, similar to Preact, Mithril skips the VDOM, which makes it "more immediate" than React.

However, updating the DOM and then turning the DOM to an image (i.e., rendering it) still has an indirection that using canvas/webgl/etc. don't have.


Replies

nathcdyesterday at 6:50 PM

> I think, similar to Preact, Mithril skips the VDOM, which makes it "more immediate" than React.

Both Mithril and Preact use virtual DOMs:

https://mithril.js.org/vnodes.html

https://preactjs.com/tutorial/01-vdom