Isomorphic support? Isomorphic to what?
Same code renders ui and handles interactions on both server and browser/app
See the leptos docs on SSR
Itself, via the identity function
Very good news!
Sounds good, but I hope it doesn't take too much time that they ignore some of Lemmy's issues and missing features.
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.
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.
Why is it a problem to not work without js?
Unifiying the tech stack was a good idea + Fixing the internals
Rust
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)