Dioxus 0.4: A Fullstack Rust Library with Server Functions and More
The article introduces Dioxus 0.4, a library for building React-like user interfaces in Rust. This version adds support for server backend development, allowing developers to write their entire fullstack web app in one file. The release also includes Server Functions, which are functions annotated with the server procedural macro that generate an RPC client and server for the app. Server Functions are agnostic to the backend framework and support common operations across axum, warp, and salvo. Developers can easily add features like authentication using middleware and take advantage of the new fullstack utilities that work seamlessly with Tower. The article highlights the weekly office hours held by Dioxus Labs, where developers can get help with their app, learn how to contribute, and shape the roadmap. Overall, Dioxus 0.4 offers a productive solution for building fullstack Rust applications.