Comment on Which side are you? Javascript or Typescript
zagaberoo@lemmy.sdf.org 1 year agoI just wish WASM could replace JS rather than merely augment it for non-DOM work.
Comment on Which side are you? Javascript or Typescript
zagaberoo@lemmy.sdf.org 1 year agoI just wish WASM could replace JS rather than merely augment it for non-DOM work.
Knusper@feddit.de 1 year ago
You can have frameworks which fully generate the JS DOM code for you, allowing you to write complete single-page applications without writing a single line of JS.
float@feddit.de 1 year ago
I’m using the leptos framework (Rust) and really like it so far. Not a single line of JS, not even npm as a dependency in that project.
Knusper@feddit.de 1 year ago
Yep, that’s the framework, I’m using, too. But most frameworks in the Rust ecosystem can do DOM interop, as the heavy lifting for that is provided by the
wasm-bindgen
library.