Quoting the author

I’ve starting working on a lemmy front end called lemmy-ui-leptos using leptos, a Rust UI framework with isomorphic support, and tailwind + daisyUI for the component styling. This could eventually replace the frankenstein’s monster that lemmy-ui has become.

  • argv_minus_one@beehaw.org
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Isomorphic rendering seems horribly inelegant.

    My first instinct is to just use server-side rendering for this, although that may not be possible since posting a comment involves rendering part of the page on the client side.

    In light of that, my second instinct is to render entirely on the client side, but then Lemmy won’t work without JS, which may or may not be a problem. Mastodon seems to get away with it, but I dunno if Lemmy can. Also, client-side rendering makes it difficult to avoid breaking the back button, which the UI currently does.

    Sheesh. Web development is such a mess.

    • roze_sha
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Why is it a problem to not work without js?