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.

  • capnseasick@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    19
    ·
    1 year ago

    I thought that said “using laptops” and was wondering what the hell they were using before that made this a notable announcement.

  • popcar2@programming.dev
    link
    fedilink
    English
    arrow-up
    11
    ·
    1 year ago

    Sounds good, but I hope it doesn’t take too much time that they ignore some of Lemmy’s issues and missing features.

  • nerdblood@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    This is cool. I’m a front-end focused dev by trade and have been 11 years now. I’ve been picking up Rust as a side hobbie for 6 months or so and have not even peaked at these front-end frameworks. I know Lemmy is all about Rust, but I still think it’s pretty cheeky they’re using Rust for the front-end.

    About Leptos specifically… If there’s no shadow dom / rerenders and not trying to be react, I already like it better than it’s competitor.

  • 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.

  • tormeh@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    19
    ·
    1 year ago

    Ugh… Strong NIH vibes. There’s already the Liftoff! client for mobile, desktop and web. They should contribute to that instead and ditch jerboa and the web client. Anyway, a web browser is a terrible way to interact with the fediverse since the browser doesn’t know about your accounts, so I’d advocate for getting rid of web apps altogether

      • The Cuuuuube@beehaw.org
        link
        fedilink
        arrow-up
        2
        arrow-down
        5
        ·
        1 year ago

        It’s still not great. Programming is a form of communication, and the platforms you design will reflect the kinds of messages you want to nurture and propogate. I made terms with it, electing to use lemmy in the fediverse on an instance they don’t manage (theirs are lemmy.ml and lammygrad.ml), because kbin wasn’t quite prime time ready yet. But if I were going to keep using Lemmy once kbin is more mature, lemmy would need to be developed with a decentralized governance committee or there would need to be a hard fork

      • NotAPenguin@kbin.social
        link
        fedilink
        arrow-up
        6
        arrow-down
        29
        ·
        edit-2
        1 year ago

        I mean they kinda are, they run one of the biggest instances which of course will get a lot of attention because it’s run by the developers.

        On that instance they censor criticism of china and other such topics.

        There was also the weird case of the hardcoded slur filter

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          1 year ago

          But nothing it stopping you from running your own instance or joining one with moderation you agree with. You can even modify the source code to remove the slur filter and go 100% Nazi if you want.

          I don’t have an account at lemmy.ml and I doubt I ever will. I also don’t sub to all that many of their communities, and those I do have very low likelihood of ever triggering that filter.

          I consider myself a free market libertarian and I have contributed to the lemmy project. There are certainly things I disagree with, but in general I think it’s an interesting project worth spending my time on. And none of my complaints have anything to do with politics, but are more technical in nature (i.e. I have serious concerns about scaling). So I’m working on something lemmy adjacent that I think is interesting to address my specific concerns (basically fully distributed like BitTorrent), but I continue to use and contribute to Lemmy in the meantime.

          So no, it’s not communist, socialist, or any other form of political ideology, it’s just a federated social network.

    • ribboo@lemm.ee
      link
      fedilink
      English
      arrow-up
      26
      ·
      1 year ago

      Imagine if we did this for large companies owned by billionaires. Why is nobody talking about a board of director (Thiel) from Meta literally being one of the top donors for the republicans, supporting many of those congressional candidates that claimed there was voter fraud going on in 2020.

      Perhaps we should flock back to Reddit instead, partly owned by a Chinese company. Who also support Russia and deny human rights violations.

      Or why not head over to Twitter owned by the worlds richest man using it as is very own playground, supporting Trump and DeSantis, censoring Turkish dissidents and journalists writing about him in negative light.

      • NotAPenguin@kbin.social
        link
        fedilink
        arrow-up
        8
        arrow-down
        23
        ·
        1 year ago

        We all think Meta is shit.

        People complain about tencent all the time.

        We also all think twitter is shit.

    • zygo_histo_morpheus@programming.dev
      link
      fedilink
      arrow-up
      18
      ·
      1 year ago

      What’s your point? I understand that you don’t sympathize with the devs political position but so what? Either you see some point in lemmy despite this like most people on here who don’t agree with them, or you don’t and then you should just log off.

      I’m not particularly interested in seeing this argument being hashed out anytime lemmy development is mentioned so please stop making this comment on unrelated threads.

    • IWriteDaCode@programming.dev
      link
      fedilink
      arrow-up
      15
      arrow-down
      1
      ·
      edit-2
      1 year ago

      This user is already getting ratiod, but for anyone who thinks this is a reasonable comment…

      So… Twitter is now owned by a dictator that now claims that ‘cis gender’ is a slur. Seems like he is barreling towards fascism to me. Facebook is owned by, maybe not a fascist, but someone that allows fascist content on their platform in order to increase revenue. They even admit that it is good for business. The AI researchers at Facebook trying to reduce fascist content were fired because they were actually effective, but would loose the company money. They also own threads, the twitter alternative. The Reddit CEO has used authoritarian methods to undo protesting on the platform. Sounds like it’s going in the wrong direction…

      Even so, the united states performs human rights violations all the time, inside the US, and outside using the military. You don’t see CEOs and politicians denouncing the USA after committing human rights violations, do you? Do you know all of the Chinese politician opinions on the matter?

      If you want to avoid all forms of authoritarianism, you could live under a rock. The fact of the matter is that open source and decentralization is the absolute best way to avoid authoritarianism, no matter who writes the code. Fork it if you don’t like it.

    • Ategon@programming.devM
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Ive removed this comment due to being unrelated to the actual topic of the post which is the new lemmy frontend. Reminder to keep talks here about rust rather than politics. Theres a ton of other communities for that and the lemmy dev politics have already been discussed heavily

      • NotAPenguin@kbin.social
        link
        fedilink
        arrow-up
        1
        arrow-down
        24
        ·
        1 year ago

        It’s always relevant when the dev of what is being discussed denies human rights violations by authoritarian governments, why is that something you want to hide?

        • Ategon@programming.devM
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          1 year ago

          The core dev of said software put it in a position where it can be forked at any time. If they decide to go crazy in the future and affect how we use the platform were just going to make a fork here and then continue on that. Until then there’s just a separation of the developer and the software

          (Especially since this is a community for discussing the software due to being c/rust/)

          Theres also way more contributors than just dessalines and nutomic for things relating to lemmy now after the wave of people from reddit