I’m running a server-side-rendered web server using Actix Web. Any suggestions for a client? All I really need is something fast and that I can use without breaking my neck (don’t need any fancy VDOM, trying to ship minimal JS).

    • heartlessevil@lemmy.one
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Can’t beat askama. There are other Jinja-like templates but askama has best-in-class performance and compile time safety.

    • dukk@programming.devOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Is there any way to track values without a struct? Or in my specific case, I’m using a struct, but most of the values are in an Option<String>.