A comparison of Rust web app libraries using a simple slideshow as an example.
To start the backend use the IntelliJ run configuration or cargo run --bin backend.
The glue to make sure frontend and backend are compatible.
To start the dioxus frontend use dioxus serve --port 8081. Then browse to http://localhost:8081
- typesafe
- very similar to React
- great Guide
- very little magic, leverages Rust i.e.
UseStateis just a smartRc - ergonomic macros i.e.
#[inline_props] - dedicated batteries included cli (
dioxus serve) - hot reloading
- cli (
dioxus fmt) to format code in macros - highly performant and lightweight
- one codebase, every platform
- large community
- not fully mature yet
- heavy reliance on Procedural Macros
To start the sycamore frontend use trunk serve --port 8082. Then browse to http://localhost:8082