3 ms·
If you push Rust to client-side WASM, can it still perform DOM manipulations?
by RyanGoosling 6y ago
If you push Rust to client-side WASM, can it still perform DOM manipulations?
- steveklabnik 6y agoYes. It has to call out to JS to do so. It's implemented in a way that's forwards-compatible so once wasm can do so natively, your code will just magically get faster.
- nicolodavis 6y agoThat's right. For my use-case I decided to just stick with JS for UI stuff (using Svelte). I call into Rust code like a black box to update some state.