• Knusper@feddit.de
    link
    fedilink
    arrow-up
    7
    ·
    2 年前

    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
      link
      fedilink
      arrow-up
      5
      ·
      2 年前

      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
        link
        fedilink
        arrow-up
        2
        ·
        2 年前

        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.