Will there be a DOM api for wasm?
What already exists is multiple bridge libraries to make porting stuff from JS -> WASM and back again easier.
For example: https://rustwasm.github.io/wasm-bindgen/examples/dom.html
[0]: https://github.com/WebAssembly/gc/blob/main/proposals/gc/Ove...
It is a good way to get memory leaks, but a lot of websites already have those.