• Knusper@feddit.de
      link
      fedilink
      arrow-up
      7
      ·
      10 months 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
        link
        fedilink
        arrow-up
        5
        ·
        10 months 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
          link
          fedilink
          arrow-up
          2
          ·
          10 months 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.