Has anyone integrated an Elm element into Angular?

Does Angular work with a VDOM? If it manages it’s own VDOM then it might just consider the element empty and not destroy it when diffing. Elm pretty reliably does this. In fact I usually use empty element like div[][] to bind non elm libraries like text editors etc.

Also, I don’t know what happens to a Browser.element if some external JS removes the DOM element that it’s “controlling” - does it crash, gracefully terminate itself, hang around in memory, updating an element tree that’s not actually in window.document anymore.

We were just discussing that here :grinning_face:

Basically… No it doesn’t gracefully clean itself up.