18
Stack advice (programming.dev)
submitted 3 weeks ago by [email protected] to c/[email protected]

Hey all, just looking for some advice. I'd like to do a WASM application, just generally like a calendar + notes app. I'd like it to work on mobile and desktop through the browser. It'll be served through Actix with Diesel for the backend. For the "frontend" I was thinking egui or leptos.

I'd like to avoid any JavaScript, so thought SSR might be the best approach.

Any thoughts/pitfalls? Should I look at something else for the frontend?

Its a lot of working parts for a calendar + notes app, but this will be a testing ground to see if I can get it all going :S

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 3 weeks ago

Really? I thought part of the attraction for WASM was that it could be native code without needing JS. That's good to know though. Thanks.

[-] [email protected] 2 points 3 weeks ago

Not yet. WASM unfortunately does not have DOM access or the ability to call any native JS functions without glue code.

There are packages that work with wasm_bindgen in Rust that can generate that JS for you, but it's all still super early.

[-] [email protected] 1 points 3 weeks ago

OK, guess I'll avoid WASM for now then. Someone else mentioned HTMX and pair that with Leptos, I should be able to get away with no JS.

this post was submitted on 07 May 2025
18 points (100.0% liked)

Rust

6958 readers
15 users here now

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

Wormhole

[email protected]

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