SDF Chatter
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Camus (il, lui)@jlai.lu to France@lemmy.world · 2 years ago

[Fedivers] Nouveau front-end pour Lemmy - LemmyNet/lemmy-ui-leptos

lemmy.ml

external-link
message-square
1
fedilink
  • cross-posted to:
  • rust@programming.dev
6
external-link

[Fedivers] Nouveau front-end pour Lemmy - LemmyNet/lemmy-ui-leptos

lemmy.ml

Camus (il, lui)@jlai.lu to France@lemmy.world · 2 years ago
message-square
1
fedilink
  • cross-posted to:
  • rust@programming.dev
GitHub - LemmyNet/lemmy-ui-leptos - Lemmy
lemmy.ml
external-link
For any UI devs: I’ve starting working on a lemmy front end called lemmy-ui-leptos [https://github.com/LemmyNet/lemmy-ui-leptos] using leptos [https://leptos.dev/], a Rust UI framework with isomorphic support, and tailwind + daisyUI [https://daisyui.com/] for the component styling. This could eventually replace the frankenstein’s monster that lemmy-ui has become. Some reasons for doing this: - lemmy-ui uses infernojs, which is based on the react model. IMO is largely superseded by signal-based reactivity in use in android jetpack-compose, SolidJS, and most new UI frameworks. - I had to hack on isomorphic support / server-side-rendering to infernoJS, and it’s very messy. Leptos has isomorphic support out of the box. - All the benefits of Rust over javascript. - Since leptos is in Rust, we can import the lemmy types directly. - I’ve been waiting for years for a good rust UI framework, and I think we’re finally here with leptos or sycamore. - lemmy-ui uses bootstrap, which is showing its age and limitations. Tailwind (and daisyUI) seem to be much more future-proof. I plan on leaving the site design and component styling to other, more skilled UI devs, while I work mostly on the auth, services, params, and overall back-end structure. - Please use daisyUI classes tho whenever possible over exhaustive tailwind ones. - I’d also like it if the UI could match that of jerboa’s (whenever possible), so that a change in one could be represented in the other, and so that things like badge appearance for admins, could be recognizeable across lemmy’s front ends. You don’t really need to learn rust to help out with this, as the components look very similar to JSX. Instructions for running it are in the CONTRIBUTING.md [https://github.com/LemmyNet/lemmy-ui-leptos/blob/main/CONTRIBUTING.md] . Feel free to contribute! Right now only the home page, and post pages are working, but ready to be styled.
  • A_french_chinese_man@lemmy.world
    link
    fedilink
    Français
    arrow-up
    2
    ·
    2 years ago

    deleted by creator

France@lemmy.world

france@lemmy.world

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !france@lemmy.world
lock
Community locked: only moderators can create posts. You can still comment on posts.

Hop, !france@lemmy.world c’est finit, merci de migrer sur !france@jlai.lu

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 2 users / week
  • 3 users / month
  • 24 users / 6 months
  • 23 local subscribers
  • 2.93K subscribers
  • 1.25K Posts
  • 9.98K Comments
  • Modlog
  • mods:
  • iraldir@lemmy.world
  • V4uban@lemmy.world
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org