Can't wasm-pack for Rust already generate DOM bindings?
Currently it's a JS lib that does the actual DOM manipulation and then communicates back to the WASM lib iirc. Not all that performant since you've got marshaling between JS and WASM in both directions for every call, but it's possible.
The DOM integration would provide direct native access to the DOM from your WASM binary. It's the one feature I'm waiting on before I really dive into it.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.