3 ms·
I really like Mithril.js (https://mithril.js.org/ https://mithril.js.org/), which is, IMO, as close as it gets to web IMGUI. It looks a lot like React, but rend
by ar-nelson 1y ago
I really like Mithril.js (https://mithril.js.org/ https://mithril.js.org/), which is, IMO, as close as it gets to web IMGUI. It looks a lot like React, but rendering happens manually, either on each event or with a manual m.redraw() call.
- k__ 1y agoI 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.
- nathcd 1y ago> 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://mithril.js.org/vnodes.html https://preactjs.com/tutorial/01-vdom https://preactjs.com/tutorial/01-vdom