5 ms·
Looks cool, how does the DOM updates work here? Is it possible to do whatever kind of update you want?
by ecmascript 5y ago
Looks cool, how does the DOM updates work here? Is it possible to do whatever kind of update you want?
- clarkmoody 5y agoThere is no DOM, since this is not Web tech. GUI state mutations are triggered by messages passed around the system. Messages can be generated from user interactions for by asynchronous subscriptions (network socket, etc).
- tmccrary55 5y agoIt sure looks like it's using the DOM in the inspector. Which is cool but a custom rendered UI would be cooler.
- clarkmoody 5y agoIced can compile to WASM and be run in a browser, but that's just a single target. There is no concept of DOM in Iced itself.
- tmccrary55 5y agoAh I see what you mean.
- ecmascript 5y agoI get that, but how does the updates in the DOM work in the example? Is it possible to extend it somehow?