photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

254
active users

#Leptos

0 posts0 participants0 posts today

My #rust #leptos fedi client is now a bit prettier, code refactored, and it handles CWs correctly, so testing it in public is not as dangerous anymore.

I will need to start working on accessibility and l10n though, it would be harder to add it later.

Even though I am personally invested in #blazor, I think it is *critical* that other languages have quality UI frameworks for #webassembly. So I always like to boost things like the #leptos framework for #rust

Having a wide array of languages and frameworks for web development in #wasm is critical to long-term success of the underlying technology.

thenewstack.io/want-a-web-fram

The New Stack · Want a Web Framework for Rust, Not JavaScript? Try LeptosAs WebAssembly continues to gain traction in web development, frameworks like Leptos allow you to build Rust-powered web applications.

@Jdreben @guardiarris @maegul Yes, at least #Leptos takes the #SolidJS approach of using signals to update only the minimal amount of DOM that actually changes.

Regarding JS: you don't need to touch it explicitly in those frameworks, BUT: it is still used to manipulate the #DOM.

For this to work, a lib called wasm-bindgen is used (awesome piece of technology!), which basically bridges #Rust <-> #JS:

rustwasm.github.io/docs/wasm-b

leptos_dom depends on it:
github.com/leptos-rs/leptos/bl

rustwasm.github.ioIntroduction - The `wasm-bindgen` Guide