ohhh yeah, i think WASM is the best way to using any programming language on the frontend, with the added benefit of your website being faster and prerdictable, id say we use JS for the DOM and WASM for everything else๐
That would be amazing don't get me wrong, but currently even WASM needs to bridge over to JavaScript which makes it just a bit slower because of the hopping back and forth, JS was purpose built for manipulating the DOM, so it's generally faster in that regards :)