this post was submitted on 18 Jul 2023
221 points (99.6% liked)

Rust

6128 readers
62 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] Brochetudo@feddit.de 14 points 1 year ago (1 children)

Isomorphic support? Isomorphic to what?

[–] JakeHimself@programming.dev 1 points 1 year ago

Itself, via the identity function

[–] popcar2@programming.dev 13 points 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.

[–] FarLine99@lemm.ee 11 points 1 year ago

Very good news!

[–] nerdblood@programming.dev 2 points 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.

[–] choroalp@programming.dev 1 points 1 year ago

Unifiying the tech stack was a good idea + Fixing the internals

[–] argv_minus_one@beehaw.org 0 points 1 year ago* (last edited 1 year ago) (1 children)

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@programming.dev 1 points 1 year ago

Why is it a problem to not work without js?

load more comments
view more: next ›