3 ms·
You already can do that. You need a tiny shim and you can forget it's JS and use all WASM.
by 3cats-in-a-coat 1y ago
You already can do that. You need a tiny shim and you can forget it's JS and use all WASM.
- tpm 1y agoCan you point me to a howto/tutorial?
- 3cats-in-a-coat 1y agoThis is wasm-dom for Rust: https://crates.io/crates/wasm-dom https://crates.io/crates/wasm-dom There's also web-sys. Those are Rust centric, I'm sure there are others, but basically you only need the whim once, and then you write in your language of choice and compile to WASM, you never have to think about JS. Although... I may question the purist attitude. But you can do it. Think of it like HTMX, the way people say it "avoids working with JS" (HTMX itself is written in JS). Same principle.