4 ms·
Codebases compiled to WebAssembly still cannot access the DOM directly. So yes, for now you still need JavaScript. https://developer.mozilla.org/en-US/docs/Web
by MH15 6y ago
Codebases compiled to WebAssembly still cannot access the DOM directly. So yes, for now you still need JavaScript.
https://developer.mozilla.org/en-US/docs/WebAssembly/Concepts#porting_from_cc https://developer.mozilla.org/en-US/docs/WebAssembly/Concept...
- eingaeKaiy8ujie 6y agoYes, but languages/frameworks can provide their own abstractions to access the DOM and web platform so that you can avoid writing any JavaScript yourself, for example `web_sys` in Rust.