this post was submitted on 01 Jul 2023
14 points (100.0% liked)

Rust

5832 readers
8 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 1 year ago
MODERATORS
 

I'm running a server-side-rendered web server using Actix Web. Any suggestions for a client? All I really need is something fast and that I can use without breaking my neck (don't need any fancy VDOM, trying to ship minimal JS).

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I've been using tide-jsx, but I'm also using tide (not actix). Everything renders to a String, so it would technically be compatible with any web framework.

I would love to see what other people suggest for Actix since I wanted to use that instead of Tide, but I also didn't know where to find a crate like tide-jsx. https://crates.io/crates/tide-jsx

[–] [email protected] 2 points 1 year ago (1 children)

Thanks, this is a lot like what I was looking for. Will try it out.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

You may need to fork the repo and mirror my pull requests into your fork. The maintainer of the repo hasn't responded to my pull requests yet and one of them fixes a common bug.

In your Cargo.toml file, you can reference your own fork as a dependency. https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories