But WASM is weirdly allergic to the DOM and to javascript. The core, fundamental interfaces are terrible and highly disputed, so it will be restricted to mainly-WASM apps for some time.
That’s only a problem if your goal is to keep on doing the same old web apps the same old way, just delegating part of the program logic to WASM which, I agree, will be more complicated. But if you’re going to use WASM why limit yourself to using the DOM and JavaScript? Why not use a programming environment that lets you use more sophisticated tools?
But WASM is weirdly allergic to the DOM and to javascript. The core, fundamental interfaces are terrible and highly disputed, so it will be restricted to mainly-WASM apps for some time.